Spdk/lib/nvmf
Alexey Marchuk 85fa43241b nvmf/tcp: Support ICD for fabric/admin commands
According to the SPEC we should support up to 8192 bytes
of ICD for admin and fabric commands. Transport configuration
parameter in_capsule_data_size is applied to all qpair types -
admin and IO. Also we allocate resources when we get a connection
request, so we don't know qpair type at this moment.
Create a list of buffer in TCP poll group to support ICD up
to 8192 bytes when configuration ICD is less than this value.
The number of elements in this pool is hardcoded, it is planned
to add a new configuration parameter later.

Fixes issue #1569
Change-Id: I8589e3e2ea95d515f5503c6de7c1ee40aaf7b6da
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4754
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-10-27 08:40:12 +00:00
..
ctrlr_bdev.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
ctrlr_discovery.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
ctrlr.c nvmf: Don't fail a property set command with invalid bits 2020-10-23 13:47:35 +00:00
fc_ls.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
fc.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
Makefile build: cleanup LOCAL_SYS_LIBS for uuid 2020-09-29 09:36:25 +00:00
nvmf_fc.h nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00
nvmf_internal.h nvmf: Getting or setting the allow_any_host parameter no longer requires 2020-10-13 07:48:12 +00:00
nvmf_rpc.c nvmf: nvmf_subsystem_remove_host RPC now disconnects hosts 2020-10-22 03:55:57 +00:00
nvmf.c build: remove unused references to conf library 2020-10-20 02:42:16 +00:00
rdma.c nvmf/rdma: Add RPC to set new RDMA batching option 2020-10-21 02:25:32 +00:00
spdk_nvmf.map nvmf: Add spdk_nvmf_subsystem_disconnect_host 2020-10-15 08:24:05 +00:00
subsystem.c lib/nvmf: destroy the mutex in the error case 2020-10-15 08:24:22 +00:00
tcp.c nvmf/tcp: Support ICD for fabric/admin commands 2020-10-27 08:40:12 +00:00
transport.c nvmf/transport: Use mempool_get_bulk to feel pg cache 2020-09-09 07:19:50 +00:00
transport.h lib/nvmf: Add nvmf_transport_qpair_abort_request() 2020-07-14 07:54:42 +00:00