Skip to content

Commit 812080b

Browse files
maurizio-lombardigregkh
authored andcommitted
nvme-tcp: Fix a C2HTermReq error message
commit afb41b0 upstream. In H2CTermReq, a FES with value 0x05 means "R2T Limit Exceeded"; but in C2HTermReq the same value has a different meaning (Data Transfer Limit Exceeded). Fixes: 84e0090 ("nvme-tcp: add basic support for the C2HTermReq PDU") Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6248573 commit 812080b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/nvme/host/tcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ static void nvme_tcp_handle_c2h_term(struct nvme_tcp_queue *queue,
719719
[NVME_TCP_FES_PDU_SEQ_ERR] = "PDU Sequence Error",
720720
[NVME_TCP_FES_HDR_DIGEST_ERR] = "Header Digest Error",
721721
[NVME_TCP_FES_DATA_OUT_OF_RANGE] = "Data Transfer Out Of Range",
722-
[NVME_TCP_FES_R2T_LIMIT_EXCEEDED] = "R2T Limit Exceeded",
722+
[NVME_TCP_FES_DATA_LIMIT_EXCEEDED] = "Data Transfer Limit Exceeded",
723723
[NVME_TCP_FES_UNSUPPORTED_PARAM] = "Unsupported Parameter",
724724
};
725725

0 commit comments

Comments
 (0)