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

!4782 [OLK-6.6] Add drivers support for Mucse Network Adapter rnpm (N10/N400)

Merge Pull Request from: @guhuiguang 
 
Add drivers support for Mucse Network Adapter(N10/N400)

 1. add driver folder: drivers/net/ethernet/mucse/rnpm
 2. update files:
    arch/arm64/configs/openeuler_defconfig
    arch/x86/configs/openeuler_defconfig
    drivers/net/ethernet/mucse/Kconfig
    drivers/net/ethernet/mucse/Makefile

 
 
Link:https://gitee.com/openeuler/kernel/pulls/4782

 

Reviewed-by: default avatarYue Haibing <yuehaibing@huawei.com>
Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents 119aafed 5deaf74c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2925,6 +2925,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