Commit 5deaf74c authored by gu.huiguang's avatar gu.huiguang
Browse files

drivers: initial support for rnpm drivers from Mucse Technology

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


CVE: NA

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

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

Signed-off-by: default avatarguhuiguang <guhuiguang@mucse.com>
parent 97ba28f6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2924,6 +2924,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_MELLANOX=y
CONFIG_MLX4_EN=m
CONFIG_MLX4_EN_DCB=y
+3 −0
Original line number Diff line number Diff line
@@ -2927,6 +2927,9 @@ 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_MXGBEM=m
CONFIG_MXGBEM_FIX_MAC_PADDING=y
# CONFIG_MXGBEM_OPTM_WITH_LARGE is not set
CONFIG_MXGBE_DCB=y
CONFIG_NET_VENDOR_MELLANOX=y
CONFIG_MLX4_EN=m
+29 −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,4 +72,33 @@ 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/
+18 −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_sriov.o \
		rnpm_sysfs.o \
		rnpm_tc.o \
		rnpm_mpe.o \
		rnpm_ptp.o
Loading