numam-spdk/lib/nvmf
dongx.yi f7e8827aa6 nvmf/tcp: Using spdk_min instead of multi-lines codes.
We can use spdk_min to get the copy_len in spdk_nvmf_tcp_send_c2h_term_req.
It confirms copy_len it's not larger than SPDK_NVME_TCP_TERM_REQ_ERROR_DATA_MAX_SIZE

Signed-off-by: dongx.yi <dongx.yi@intel.com>
Change-Id: Id343928e1911e4ab77fca7463f3f0cc55889db30
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/479118
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2020-01-08 09:12:20 +00:00
..
ctrlr_bdev.c nvme: replace cdw11 with specific union strucutre 2019-12-06 14:43:41 +00:00
ctrlr_discovery.c nvmf: don't keep a global discovery log page. 2019-09-03 00:30:59 +00:00
ctrlr.c nvmf/ctrlr: abort cmd for set features with save bit set 2020-01-07 12:21:03 +00:00
fc_ls.c nvmf/fc: fix FC compilation error 2019-12-30 11:45:24 +00:00
fc.c nvmf: Add context parameter to new_qpair() callback 2019-10-17 16:29:36 +00:00
Makefile lib/nvmf: extract RPCs from the subsystem directory 2019-08-21 17:20:28 +00:00
nvmf_fc.h nvmf/fc: fix FC compilation error 2019-12-30 11:45:24 +00:00
nvmf_internal.h nvmf: remove special xfer check for get/set features admin commands 2019-12-06 14:43:41 +00:00
nvmf_rpc.c lib/nvmf: add the nvmf_get_targets rpc. 2019-09-26 15:21:44 +00:00
nvmf.c nvmf: Add context parameter to new_qpair() callback 2019-10-17 16:29:36 +00:00
rdma.c lib/nvmf: rdma qpairs now store device, not port. 2020-01-07 12:21:36 +00:00
subsystem.c nvme: replace cdw11 with specific union strucutre 2019-12-06 14:43:41 +00:00
tcp.c nvmf/tcp: Using spdk_min instead of multi-lines codes. 2020-01-08 09:12:20 +00:00
transport.c nvmf: Add context parameter to new_qpair() callback 2019-10-17 16:29:36 +00:00
transport.h nvmf/transport: remove second declaration of opts_init 2019-12-16 12:19:43 +00:00