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

!5483 [OLK-5.10] Add support for Mucse Virtual Function Network Adapter(N10/N400)

Merge Pull Request from: @dong-yibo 
 
Mucse RNPVF drivers provide Ethernet features for mucse
virtual functions of N10/N400 series NICs.

1 Add Mucse Network Adapter(N10/N400) 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 
 
Link:https://gitee.com/openeuler/kernel/pulls/5483

 

Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Reviewed-by: default avatarYue Haibing <yuehaibing@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents d4738c9f 6cf173c1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2823,6 +2823,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
@@ -2778,6 +2778,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
+37 −1
Original line number Diff line number Diff line
@@ -55,7 +55,6 @@ config MXGBE_OPTM_WITH_LARGE

          If unsure, say N.


config MXGBE_MSIX_COUNT
	int "Number of msix count"
	default "64"
@@ -73,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 family of
          adapters.

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

config MXGBEVF_FIX_VF_QUEUE
        bool "Fix VF Queue Used(pf)"
        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,6 +4,7 @@
#

obj-$(CONFIG_MXGBE) += rnp/
obj-$(CONFIG_MXGBEVF) += rnpvf/
obj-$(CONFIG_MXGBEM) += rnpm/
obj-$(CONFIG_MGBE) += rnpgbe/
obj-$(CONFIG_MGBEVF) += rnpgbevf/
+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