diff options
author | Francis Pravin <francis.p@samsung.com> | 2024-07-15 06:31:57 +0530 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-07-16 07:55:31 -0700 |
commit | 415fb383ec2bbe4d4bb1a1b5593cd67eb058f1de (patch) | |
tree | abd9fe099ee4aee7fad0380e0239f5e527e417a7 /lib/crypto/mpi/mpiutil.c | |
parent | 92fc2c469eb26060384e9b2cd4cb0cc228aba582 (diff) |
nvme-core: choose PIF from QPIF if QPIFS supports and PIF is QTYPE
As per TP4141a:
"If the Qualified Protection Information Format Support(QPIFS) bit is
set to 1 and the Protection Information Format(PIF) field is set to 11b
(i.e., Qualified Type), then the pif is as defined in the Qualified
Protection Information Format (QPIF) field."
So, choose PIF from QPIF if QPIFS supports and PIF is QTYPE.
Signed-off-by: Francis Pravin <francis.p@samsung.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions