Message ID | 20200224164544.219438-8-maxg@mellanox.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | nvme-rdma/nvmet-rdma: Add metadata/T10-PI support | expand |
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index af8e10a..d0bfa2b 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -30,8 +30,10 @@ #ifdef CONFIG_ARCH_NO_SG_CHAIN #define NVME_INLINE_SG_CNT 0 +#define NVME_INLINE_PROT_SG_CNT 0 #else #define NVME_INLINE_SG_CNT 2 +#define NVME_INLINE_PROT_SG_CNT 1 #endif extern struct workqueue_struct *nvme_wq;