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

drivers: initial support for rnpgbevf drivers from Mucse Technology

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


CVE: NA

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

Mucse RNPGBEVF drivers provide Ethernet features for mucse
virtual functions of N500/N210 series NICs.

Signed-off-by: default avatarDong Yibo <dong100@mucse.com>
parent 70460587
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2938,6 +2938,8 @@ CONFIG_MXGBEM_FIX_MAC_PADDING=y
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_MELLANOX=y
CONFIG_MLX4_EN=m
CONFIG_MLX4_EN_DCB=y
+2 −0
Original line number Diff line number Diff line
@@ -2940,6 +2940,8 @@ CONFIG_MXGBE_DCB=y
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_MELLANOX=y
CONFIG_MLX4_EN=m
CONFIG_MLX4_EN_DCB=y
+20 −0
Original line number Diff line number Diff line
@@ -165,4 +165,24 @@ config MGBE_MSIX_COUNT
        help
          MGBE range [2,26].

config MGBEVF
	tristate "Mucse(R) 1GbE PCI Express Virtual Function 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 MGBEVF_OPTM_WITH_LARGE
	bool "Reduce Memory Cost In Large PAGE_SIZE(>8192)"
	default n
	depends on MGBEVF
	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
@@ -7,3 +7,4 @@ obj-$(CONFIG_MXGBE) += rnp/
obj-$(CONFIG_MXGBEVF) += rnpvf/
obj-$(CONFIG_MXGBEM) += rnpm/
obj-$(CONFIG_MGBE) += rnpgbe/
obj-$(CONFIG_MGBEVF) += rnpgbevf/
+8 −0
Original line number Diff line number Diff line
obj-$(CONFIG_MGBEVF) += rnpgbevf.o
rnpgbevf-objs :=   \
		vf.o \
                rnpgbevf_mbx.o \
                rnpgbevf_ethtool.o \
                rnpgbevf_sysfs.o \
                rnpgbevf_main.o
Loading