Spdk/test/unit/lib/nvme
Alexey Marchuk 48f38636ce tcp: Cleanup nvme_tcp_pdu structure
With the recent changes which added usage of writev_async to
both TCP target and initiator, nvme_tcp_pdu::writev_offset
becomes useless since it is not updated in data path. This
field is only used in UT. Remove this field from nvme_tcp_pdu
structure, now nvme_tcp_build_iovs builds iov which fully
describes the PDU. Update UT accordingly.

Field padding_valid_bytes is not used at all, delete it too

Change-Id: I2d6040ae64d6847cb455f59f65ec5677de8e5192
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/483374
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
2020-02-04 18:18:49 +00:00
..
nvme_ctrlr_cmd.c test/unit: Add set_host_id_cmds to unittest. 2020-01-08 09:12:10 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: nvme driver public API extension for Open-Channel 2018-06-12 17:59:33 +00:00
nvme_ctrlr.c nvme: Don't use stack variable to track request completion 2020-01-27 22:48:18 +00:00
nvme_ns_cmd.c lib/nvme: add spdk_nvme_transport_available_by_name 2020-01-16 09:10:38 +00:00
nvme_ns_ocssd_cmd.c lib/nvme: add spdk_nvme_transport_available_by_name 2020-01-16 09:10:38 +00:00
nvme_ns.c nvme: add helper to wait for internal commands 2018-05-28 01:43:55 +00:00
nvme_pcie.c lib/nvme: add function tables for all transports. 2020-01-16 09:10:38 +00:00
nvme_qpair.c nvme: call the callback for the queued requests when there is submission failure 2019-12-20 10:04:57 +00:00
nvme_quirks.c nvme: add debug logs for matched quirks 2018-02-23 10:07:39 -05:00
nvme_rdma.c lib/nvme: add function tables for all transports. 2020-01-16 09:10:38 +00:00
nvme_tcp.c tcp: Cleanup nvme_tcp_pdu structure 2020-02-04 18:18:49 +00:00
nvme_uevent.c test/unit: Add nvme_uevent_ut.c to unittest. 2020-01-07 12:20:01 +00:00
nvme.c nvme: Don't use stack variable to track request completion 2020-01-27 22:48:18 +00:00
Makefile test/unit: Add nvme_uevent_ut.c to unittest. 2020-01-07 12:20:01 +00:00