Unverified Commit 70460587 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!5461 [OLK-6.6] Add support for Mucse Virtual Function Network Adapter(N10)

Merge Pull Request from: @dong-yibo 
 
1 Add Mucse Network Adapter(N10) Virtual Function driver
driver folder: drivers/net/ethernet/mucse/rnpvf
update files:
drivers/net/ethernet/mucse/Kconfig
drivers/net/ethernet/mucse/Makefile
arch/arm64/configs/openeuler_defconfig
arch/x86/configs/openeuler_defconfig

https://gitee.com/openeuler/kernel/issues/I9AEIN 
 
Link:https://gitee.com/openeuler/kernel/pulls/5461

 

Reviewed-by: default avatarYue Haibing <yuehaibing@huawei.com>
Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents a22ee16d 6adab536
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2928,6 +2928,10 @@ CONFIG_MXGBE_FIX_MAC_PADDING=y
# CONFIG_MXGBE_OPTM_WITH_LARGE is not set
CONFIG_MXGBE_MSIX_COUNT=64
CONFIG_MXGBE_DCB=y
CONFIG_MXGBEVF=m
CONFIG_MXGBEVF_FIX_VF_QUEUE=y
CONFIG_MXGBEVF_FIX_MAC_PADDING=y
# CONFIG_MXGBEVF_OPTM_WITH_LARGE is not set
CONFIG_MXGBEM=m
CONFIG_MXGBEM_FIX_MAC_PADDING=y
# CONFIG_MXGBEM_OPTM_WITH_LARGE is not set
+4 −0
Original line number Diff line number Diff line
@@ -2929,6 +2929,10 @@ CONFIG_MXGBE_FIX_VF_QUEUE=y
CONFIG_MXGBE_FIX_MAC_PADDING=y
# CONFIG_MXGBE_OPTM_WITH_LARGE is not set
CONFIG_MXGBE_MSIX_COUNT=64
CONFIG_MXGBEVF=m
CONFIG_MXGBEVF_FIX_VF_QUEUE=y
CONFIG_MXGBEVF_FIX_MAC_PADDING=y
# CONFIG_MXGBEVF_OPTM_WITH_LARGE is not set
CONFIG_MXGBEM=m
CONFIG_MXGBEM_FIX_MAC_PADDING=y
# CONFIG_MXGBEM_OPTM_WITH_LARGE is not set
+38 −1
Original line number Diff line number Diff line
@@ -72,6 +72,43 @@ config MXGBE_DCB

          If unsure, say N.

config MXGBEVF
	tristate "Mucse(R) 1/10/25/40GbE PCI Express Virtual Function adapters support"
        depends on PCI
        help
          This driver supports Mucse(R) 1/10/25/40GbE PCI Express Virtual Function
	  family of adapters.

          To compile this driver as a module, choose M here. The module
          will be called rnpvf.

config MXGBEVF_FIX_VF_QUEUE
        bool "Fix VF Queue Used(vf)"
        default y
        depends on MXGBEVF
        help
          Say Y here if you want to fix vf queue order in the driver.

          If unsure, say N.

config MXGBEVF_FIX_MAC_PADDING
	bool "Close Mac Padding Function(pf)"
	default y
        depends on MXGBEVF
        help
          Say Y here if you want to fix close mac padding in the driver.

          If unsure, say N.

config MXGBEVF_OPTM_WITH_LARGE
	bool "Reduce Memory Cost In Large PAGE_SIZE(>8192)"
	default n
        depends on MXGBEVF
        help
          Say Y here if you want to reduce memory cost in large PAGE_SIZE.

          If unsure, say N.

config MXGBEM
	tristate "Mucse(R) 1/10GbE PCI Express 4/8 ports adapters support"
	depends on PCI
+1 −0
Original line number Diff line number Diff line
@@ -4,5 +4,6 @@
#

obj-$(CONFIG_MXGBE) += rnp/
obj-$(CONFIG_MXGBEVF) += rnpvf/
obj-$(CONFIG_MXGBEM) += rnpm/
obj-$(CONFIG_MGBE) += rnpgbe/
+8 −0
Original line number Diff line number Diff line
obj-$(CONFIG_MXGBEVF) += rnpvf.o
rnpvf-objs :=   \
		vf.o \
                mbx.o \
                ethtool.o \
                rnpvf_sysfs.o \
                rnpvf_main.o
Loading