]> www.infradead.org Git - users/sagi/libnvme.git/commit
mi: Allow Admin-message sized More Processing Required responses
authorJeremy Kerr <jk@codeconstruct.com.au>
Fri, 12 Aug 2022 04:44:50 +0000 (12:44 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Tue, 23 Aug 2022 08:29:59 +0000 (16:29 +0800)
commitc75a04365398d2586e6a21cf5e15a8275c6abb6d
tree5a81e69283f1b0e33f50673bedc00e3f5c1849b6
parent3d214c0f856908135292816910cf1e4982ac8896
mi: Allow Admin-message sized More Processing Required responses

Devices may implement their MPR response as an actual Admin response
message, rather than the simple MI-only message described in 4.1.2.3 of
NVMe-MI v1.2b.

Allow this, but with some fairly stringent header checks. Add a test for
this behaviour too.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
src/nvme/mi-mctp.c
test/mi-mctp.c