mirror of https://gitee.com/openkylin/linux.git
scsi: qla2xxx: Remove restriction of FC T10-PI and FC-NVMe
T10-PI and FC-NVMe are not mutually exclusive. This patch removes restrictions where if FC-NVMe is enabled T10-PI defaults to disabled. Link: https://lore.kernel.org/r/20200226224022.24518-16-hmadhani@marvell.com Signed-off-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Quinn Tran <qutran@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
11efe8755d
commit
3e4615a292
|
@ -123,11 +123,7 @@ MODULE_PARM_DESC(ql2xmaxqdepth,
|
|||
"Maximum queue depth to set for each LUN. "
|
||||
"Default is 64.");
|
||||
|
||||
#if (IS_ENABLED(CONFIG_NVME_FC))
|
||||
int ql2xenabledif;
|
||||
#else
|
||||
int ql2xenabledif = 2;
|
||||
#endif
|
||||
module_param(ql2xenabledif, int, S_IRUGO);
|
||||
MODULE_PARM_DESC(ql2xenabledif,
|
||||
" Enable T10-CRC-DIF:\n"
|
||||
|
|
Loading…
Reference in New Issue