Commit 6adab536 authored by Dong Yibo's avatar Dong Yibo
Browse files

drivers: initial support for rnpvf drivers from Mucse Technology

mucse inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I9AEIN


CVE: NA

--------------------------------

Mucse RNPVF drivers provide Ethernet features for mucse
virtual functions of N10 series NICs.

Signed-off-by: default avatarDong Yibo <dong100@mucse.com>
parent 1fbfc27b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2925,6 +2925,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
@@ -2927,6 +2927,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