Skip to content

Commit f41ec24

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 f74d20a commit f41ec24

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
@@ -788,7 +788,7 @@ static void nvme_tcp_handle_c2h_term(struct nvme_tcp_queue *queue,
788788
[NVME_TCP_FES_PDU_SEQ_ERR] = "PDU Sequence Error",
789789
[NVME_TCP_FES_HDR_DIGEST_ERR] = "Header Digest Error",
790790
[NVME_TCP_FES_DATA_OUT_OF_RANGE] = "Data Transfer Out Of Range",
791-
[NVME_TCP_FES_R2T_LIMIT_EXCEEDED] = "R2T Limit Exceeded",
791+
[NVME_TCP_FES_DATA_LIMIT_EXCEEDED] = "Data Transfer Limit Exceeded",
792792
[NVME_TCP_FES_UNSUPPORTED_PARAM] = "Unsupported Parameter",
793793
};
794794

0 commit comments

Comments
 (0)