Commit a398c363 authored by Dong Yibo's avatar Dong Yibo
Browse files

drivers: initial support for rnpgbe drivers from Mucse Technology

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


CVE: NA

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

Mucse RNPGBE drivers provide Ethernet features for mucse
N500/N210 series NICs

Signed-off-by: default avatarDong Yibo <dong100@mucse.com>
parent 8d7f4806
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
@@ -2778,6 +2778,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