Commit a0c5bfdb authored by gu.huiguang's avatar gu.huiguang
Browse files

drivers: support for rnpm drivers from Mucse Technology N10/N400

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


CVE: NA

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

Mucse RNPM drivers provide Ethernet features for mucse
N10/N400 series NICs

Signed-off-by: default avatarguhuiguang <guhuiguang@mucse.com>
parent 3faea8b7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2814,6 +2814,9 @@ CONFIG_MXGBE_FIX_MAC_PADDING=y
# CONFIG_MXGBE_OPTM_WITH_LARGE is not set
CONFIG_MXGBE_MSIX_COUNT=64
CONFIG_MXGBE_DCB=y
CONFIG_MXGBEM=m
CONFIG_MXGBEM_FIX_MAC_PADDING=y
# CONFIG_MXGBEM_OPTM_WITH_LARGE is not set
CONFIG_NET_VENDOR_NETSWIFT=y
CONFIG_NGBE=m
CONFIG_NGBE_HWMON=y
+3 −0
Original line number Diff line number Diff line
@@ -2771,6 +2771,9 @@ CONFIG_MXGBE_FIX_MAC_PADDING=y
# CONFIG_MXGBE_OPTM_WITH_LARGE is not set
CONFIG_MXGBE_MSIX_COUNT=64
CONFIG_MXGBE_DCB=y
CONFIG_MXGBEM=m
CONFIG_MXGBEM_FIX_MAC_PADDING=y
# CONFIG_MXGBEM_OPTM_WITH_LARGE is not set
CONFIG_NET_VENDOR_NETSWIFT=y
CONFIG_NGBE=m
CONFIG_NGBE_HWMON=y
+28 −0
Original line number Diff line number Diff line
@@ -73,4 +73,32 @@ config MXGBE_DCB

          If unsure, say N.

config MXGBEM
	tristate "Mucse(R) 1/10GbE PCI Express 4/8 ports adapters support"
        depends on PCI
        imply PTP_1588_CLOCK
        help
          This driver supports Mucse(R) 1/10GbE 4/8 ports PCI Express family of
          adapters.

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

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

          If unsure, say N.

config MXGBEM_OPTM_WITH_LARGE
	bool "Reduce Memory Cost In Large PAGE_SIZE(>8192)"
	default n
        depends on MXGBEM
        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
@@ -4,3 +4,4 @@
#

obj-$(CONFIG_MXGBE) += rnp/
obj-$(CONFIG_MXGBEM) += rnpm/
+16 −0
Original line number Diff line number Diff line
obj-$(CONFIG_MXGBEM) += rnpm.o
rnpm-objs :=   \
		rnpm_common.o \
		rnpm_debugfs.o \
		rnpm_ethtool.o \
		rnpm_lib.o \
		rnpm_main.o \
		rnpm_mbx.o \
		rnpm_n10.o \
		rnpm_pcs.o \
		rnpm_mbx_fw.o\
		rnpm_phy.o \
		rnpm_sysfs.o \
		rnpm_mpe.o \
		rnpm_ptp.o
Loading