diff options
author | Caleb Sander <csander@purestorage.com> | 2022-07-07 15:12:45 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-02 17:22:41 -0600 |
commit | 53ee9e29377882f268a51b1aa8b06c80e7fce7a2 (patch) | |
tree | 8f56fc79e704e0f79cf04f7c182f0c5421435f63 /mm/early_ioremap.c | |
parent | 0525af711b6676156fdffc1072c49ff1d1d5bc0f (diff) | |
download | linux-53ee9e29377882f268a51b1aa8b06c80e7fce7a2.tar.bz2 |
nvme-tcp: use in-capsule data for I/O connect
Currently, command data is only sent in-capsule on the for admin or I/O
commands on queues that indicate support for it. Send fabrics command
data in-capsule for I/O queues as well to avoid needing a separate
H2CData PDU for the connect command.
This is optimization. Without this change, we send the connect command
capsule and data in separate PDUs (CapsuleCmd and H2CData), and must wait
for the controller to respond with an R2T PDU before sending the H2CData.
With the change, we send a single CapsuleCmd PDU that includes the data.
This reduces the number of bytes (and likely packets) sent across the network,
and simplifies the send state machine handling in the driver.
Signed-off-by: Caleb Sander <csander@purestorage.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/early_ioremap.c')
0 files changed, 0 insertions, 0 deletions