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

!5118 [OLK-5.10] Add support for Mucse Network Adapter(N500/N210)

Merge Pull Request from: @dong-yibo 
 
1 Add Mucse Network Adapter(N500/N210) driver
driver folder: drivers/net/ethernet/mucse/rnpgbe
update files:
drivers/net/ethernet/mucse/Kconfig
drivers/net/ethernet/mucse/Makefile
arch/arm64/configs/openeuler_defconfig
arch/x86/configs/openeuler_defconfig 
 
Link:https://gitee.com/openeuler/kernel/pulls/5118

 

Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents b49b8302 a398c363
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2824,6 +2824,9 @@ CONFIG_MXGBE_DCB=y
CONFIG_MXGBEM=m
CONFIG_MXGBEM_FIX_MAC_PADDING=y
# CONFIG_MXGBEM_OPTM_WITH_LARGE is not set
CONFIG_MGBE=m
# CONFIG_MGBE_OPTM_WITH_LARGE is not set
CONFIG_MGBE_MSIX_COUNT=26
CONFIG_MGBEVF=m
# CONFIG_MGBEVF_OPTM_WITH_LARGE is not set
CONFIG_NET_VENDOR_NETSWIFT=y
+3 −0
Original line number Diff line number Diff line
@@ -2779,6 +2779,9 @@ CONFIG_MXGBE_DCB=y
CONFIG_MXGBEM=m
CONFIG_MXGBEM_FIX_MAC_PADDING=y
# CONFIG_MXGBEM_OPTM_WITH_LARGE is not set
CONFIG_MGBE=m
# CONFIG_MGBE_OPTM_WITH_LARGE is not set
CONFIG_MGBE_MSIX_COUNT=26
CONFIG_MGBEVF=m
# CONFIG_MGBEVF_OPTM_WITH_LARGE is not set
CONFIG_NET_VENDOR_NETSWIFT=y
+27 −0
Original line number Diff line number Diff line
@@ -102,6 +102,33 @@ config MXGBEM_OPTM_WITH_LARGE

          If unsure, say N.

config MGBE
	tristate "Mucse(R) 1GbE PCI Express adapters support"
        depends on PCI
        imply PTP_1588_CLOCK
        help
          This driver supports Mucse(R) 1GbE PCI Express family of
          adapters.

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

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

          If unsure, say N.

config MGBE_MSIX_COUNT
	int "Number of msix count"
	default "26"
	depends on MGBE
        help
          MXGBE range [2,26].

config MGBEVF
	tristate "Mucse(R) 1GbE PCI Express Virtual Function adapters support"
        depends on PCI
+1 −0
Original line number Diff line number Diff line
@@ -5,4 +5,5 @@

obj-$(CONFIG_MXGBE) += rnp/
obj-$(CONFIG_MXGBEM) += rnpm/
obj-$(CONFIG_MGBE) += rnpgbe/
obj-$(CONFIG_MGBEVF) += rnpgbevf/
+23 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
# Copyright(c) 2022 - 2024 Mucse Corporation
#
# Makefile for the Mucse(R) 1GbE PCI Express ethernet driver
#
#

obj-$(CONFIG_MGBE) += rnpgbe.o
rnpgbe-objs :=   \
		rnpgbe_main.o \
		rnpgbe_common.o \
		rnpgbe_ethtool.o \
		rnpgbe_lib.o \
		rnpgbe_mbx.o \
		rnpgbe_chip.o \
		rnpgbe_mbx_fw.o\
		rnpgbe_sriov.o \
		rnpgbe_param.o \
		rnpgbe_sysfs.o \
		rnpgbe_sfc.o \
		rnpgbe_ptp.o

rnpgbe-$(CONFIG_DEBUG_FS) += rnpgbe_debugfs.o
Loading