From 467d127922d96b213d7f077e04924e438e7adadf Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Tue, 27 Aug 2024 15:21:21 +0400 Subject: [PATCH] feat: enable Cisco FCoE HBA Driver (fnic) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1013 Note: it's x86-only. New modules: ``` │   ├── [4.0K] scsi │   │   ├── [4.0K] fcoe │   │   │   └── [212K] libfcoe.ko │   │   ├── [4.0K] fnic │   │   │   └── [405K] fnic.ko │   │   ├── [4.0K] libfc │   │   │   └── [403K] libfc.ko ``` Raw file list: ``` kernel/drivers/scsi/fcoe/libfcoe.ko kernel/drivers/scsi/fnic/fnic.ko kernel/drivers/scsi/libfc/libfc.ko ``` Signed-off-by: Andrey Smirnov --- kernel/build/config-amd64 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/kernel/build/config-amd64 b/kernel/build/config-amd64 index cd1661e5..26d53e59 100644 --- a/kernel/build/config-amd64 +++ b/kernel/build/config-amd64 @@ -2135,6 +2135,7 @@ CONFIG_RAID_ATTRS=y CONFIG_SCSI_COMMON=y CONFIG_SCSI=y CONFIG_SCSI_DMA=y +CONFIG_SCSI_NETLINK=y CONFIG_SCSI_PROC_FS=y # @@ -2155,7 +2156,7 @@ CONFIG_SCSI_CONSTANTS=y # SCSI Transports # CONFIG_SCSI_SPI_ATTRS=y -# CONFIG_SCSI_FC_ATTRS is not set +CONFIG_SCSI_FC_ATTRS=y CONFIG_SCSI_ISCSI_ATTRS=y CONFIG_SCSI_SAS_ATTRS=y CONFIG_SCSI_SAS_LIBSAS=y @@ -2170,6 +2171,7 @@ CONFIG_ISCSI_TCP=y # CONFIG_SCSI_CXGB3_ISCSI is not set # CONFIG_SCSI_CXGB4_ISCSI is not set # CONFIG_SCSI_BNX2_ISCSI is not set +# CONFIG_SCSI_BNX2X_FCOE is not set # CONFIG_BE2ISCSI is not set # CONFIG_BLK_DEV_3W_XXXX_RAID is not set CONFIG_SCSI_HPSA=m @@ -2201,6 +2203,10 @@ CONFIG_SCSI_SMARTPQI=m CONFIG_VMWARE_PVSCSI=m CONFIG_XEN_SCSI_FRONTEND=y CONFIG_HYPERV_STORAGE=y +CONFIG_LIBFC=m +CONFIG_LIBFCOE=m +# CONFIG_FCOE is not set +CONFIG_FCOE_FNIC=m # CONFIG_SCSI_SNIC is not set # CONFIG_SCSI_DMX3191D is not set # CONFIG_SCSI_FDOMAIN_PCI is not set @@ -2212,14 +2218,19 @@ CONFIG_SCSI_ISCI=m # CONFIG_SCSI_SYM53C8XX_2 is not set # CONFIG_SCSI_IPR is not set # CONFIG_SCSI_QLOGIC_1280 is not set +# CONFIG_SCSI_QLA_FC is not set # CONFIG_SCSI_QLA_ISCSI is not set +# CONFIG_QEDF is not set +# CONFIG_SCSI_LPFC is not set # CONFIG_SCSI_DC395x is not set # CONFIG_SCSI_AM53C974 is not set # CONFIG_SCSI_WD719X is not set # CONFIG_SCSI_DEBUG is not set # CONFIG_SCSI_PMCRAID is not set # CONFIG_SCSI_PM8001 is not set +# CONFIG_SCSI_BFA_FC is not set CONFIG_SCSI_VIRTIO=y +# CONFIG_SCSI_CHELSIO_FCOE is not set # CONFIG_SCSI_DH is not set # end of SCSI device support @@ -2369,6 +2380,7 @@ CONFIG_DM_MULTIPATH=m # CONFIG_TARGET_CORE is not set CONFIG_FUSION=y CONFIG_FUSION_SPI=m +# CONFIG_FUSION_FC is not set CONFIG_FUSION_SAS=m CONFIG_FUSION_MAX_SGE=128 # CONFIG_FUSION_CTL is not set