public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* ioccsz and iorcsz check failing
@ 2023-12-15 14:48 Daniel Wagner
  2023-12-15 18:08 ` Keith Busch
  0 siblings, 1 reply; 14+ messages in thread
From: Daniel Wagner @ 2023-12-15 14:48 UTC (permalink / raw)
  To: linux-nvme@lists.infradead.org
  Cc: Christoph Hellwig, Sagi Grimberg, Keith Busch

Hi,

Since commit 2fcd3ab39826 ("nvme-fabrics: check ioccsz and iorcsz") my
testing fails with these checks when trying to connect a remote target
(Linux nvmet) via nvme-tcp. Looking at the TCP frame I see these values
are 0 on the wire.

When running blktests with nvme-tcp via the loop back device all is
good.

When running blktest with nvme-fc via the loop back device the first
check fails because ioccsz is 0. I've added a bunch of debug prints:

  nvme nvme0: I/O queue command capsule supported size 0 < 4

  nvmet: nvmet_execute_identify:687 cns 1
  nvmet: nvmet_execute_identify_ctrl:469 ioccsz 4 iorcsz 1
  nvmet: nvmet_copy_to_sgl:98 buf ffff8881348a6000 len 4096

So this part looks good to my eyes. Not sure where the problem could be.
In case someone spots the problem as I can't really make sense of it at
the moment.

Thanks,
Daniel


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-12-20  9:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-15 14:48 ioccsz and iorcsz check failing Daniel Wagner
2023-12-15 18:08 ` Keith Busch
2023-12-18  9:59   ` Sagi Grimberg
2023-12-18 13:57     ` Daniel Wagner
2023-12-18 16:04       ` Sagi Grimberg
2023-12-19 17:24         ` Max Gurtovoy
2023-12-19 19:59           ` Sagi Grimberg
2023-12-19 23:55             ` Max Gurtovoy
2023-12-20  0:10               ` Max Gurtovoy
2023-12-20  9:02                 ` Daniel Wagner
2023-12-20  9:13                   ` Sagi Grimberg
2023-12-19 17:28         ` Daniel Wagner
2023-12-19 18:54           ` Caleb Sander
2023-12-19 19:58             ` Sagi Grimberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox