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

!3297 [OLK-5.10] Add drivers support for Mucse Network Adapter(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/3297

 

Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents d0917817 a0c5bfdb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2816,6 +2816,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
@@ -2773,6 +2773,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