+3
−2
Loading
If the user decided to disable ICD then we have several side effects: 1. SPDK prints several warnings/errors 2. SPDK doesn't create recv pipe and doesn't set SO_RCVBUF socket option. I think that we should not rely on ICD only when we create recv pipe or set SO_RCVBUF since data may be transferred in sgls via R2T/H2C and we still need recv_pipe and SO_RCVBUF for better performance. Alternative option is to set recv_buf_size as a maximum between ICD and io_unit_size Signed-off-by:Alexey Marchuk <alexeymar@mellanox.com> Change-Id: Ida71ecc099f9a9355e4617f13315a341872d1cb3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4755 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Ziye Yang <ziye.yang@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>