Commit 656d579e authored by Dong Yibo's avatar Dong Yibo
Browse files

drivers: initial support for rnpgbevf drivers from Mucse Technology

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


CVE: NA

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

Mucse RNPGBEVF drivers provide Ethernet features for mucse
virtual functions of N500/N210 series NICs.

Signed-off-by: default avatarDong Yibo <dong100@mucse.com>
parent 459341c4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2819,6 +2819,8 @@ CONFIG_MXGBE_DCB=y
CONFIG_MXGBEM=m
CONFIG_MXGBEM_FIX_MAC_PADDING=y
# CONFIG_MXGBEM_OPTM_WITH_LARGE is not set
CONFIG_MGBEVF=m
# CONFIG_MGBEVF_OPTM_WITH_LARGE is not set
CONFIG_NET_VENDOR_NETSWIFT=y
CONFIG_NGBE=m
CONFIG_NGBE_HWMON=y
+2 −0
Original line number Diff line number Diff line
@@ -2776,6 +2776,8 @@ CONFIG_MXGBE_DCB=y
CONFIG_MXGBEM=m
CONFIG_MXGBEM_FIX_MAC_PADDING=y
# CONFIG_MXGBEM_OPTM_WITH_LARGE is not set
CONFIG_MGBEVF=m
# CONFIG_MGBEVF_OPTM_WITH_LARGE is not set
CONFIG_NET_VENDOR_NETSWIFT=y
CONFIG_NGBE=m
CONFIG_NGBE_HWMON=y
+20 −0
Original line number Diff line number Diff line
@@ -101,4 +101,24 @@ config MXGBEM_OPTM_WITH_LARGE
          Say Y here if you want to reduce memory cost in large PAGE_SIZE.

          If unsure, say N.

config MGBEVF
	tristate "Mucse(R) 1GbE PCI Express Virtual Function adapters support"
        depends on PCI
        help
          This driver supports Mucse(R) 1GE PCI Express Virtual Function
	  family of adapters.

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

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

          If unsure, say N.

endif # NET_VENDOR_MUCSE
+1 −0
Original line number Diff line number Diff line
@@ -5,3 +5,4 @@

obj-$(CONFIG_MXGBE) += rnp/
obj-$(CONFIG_MXGBEM) += rnpm/
obj-$(CONFIG_MGBEVF) += rnpgbevf/
+8 −0
Original line number Diff line number Diff line
obj-$(CONFIG_MGBEVF) += rnpgbevf.o
rnpgbevf-objs :=   \
		vf.o \
                rnpgbevf_mbx.o \
                rnpgbevf_ethtool.o \
                rnpgbevf_sysfs.o \
                rnpgbevf_main.o
Loading