nvme-tcp: add nvme-tcp pdu size build protection
authorSagi Grimberg <sagi@grimberg.me>
Mon, 13 Mar 2023 08:56:23 +0000 (10:56 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 15 Mar 2023 13:58:52 +0000 (14:58 +0100)
commit7e87965d3807ab1f518ef2365f91d5ba6b0c5abe
tree7002cc9cd3426d2de9ca46f90f0d9cc38f5966d2
parenta3406352c54fbc476f4f6b98159c3ea1c7dbb6fc
nvme-tcp: add nvme-tcp pdu size build protection

Make sure that we don't somehow mess up the wire structures in the spec.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kkch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/tcp.c