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

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

Merge Pull Request from: @dong-yibo 
 
1 Add Mucse Network Adapter(N500/N210) Virtual Function driver
driver folder: drivers/net/ethernet/mucse/rnpgbevf
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/5484

 

Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 061e09f8 656d579e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2824,6 +2824,8 @@ CONFIG_MXGBE_DCB=y
CONFIG_MXGBEM=m
CONFIG_MXGBEM_FIX_MAC_PADDING=y
# CONFIG_MXGBEM_OPTM_WITH_LARGE is not set
CONFIG_MGBEVF=m
# CONFIG_MGBEVF_OPTM_WITH_LARGE is not set
CONFIG_NET_VENDOR_NETSWIFT=y
CONFIG_NGBE=m
CONFIG_NGBE_HWMON=y
+2 −0
Original line number Diff line number Diff line
@@ -2778,6 +2778,8 @@ CONFIG_MXGBE_DCB=y
CONFIG_MXGBEM=m
CONFIG_MXGBEM_FIX_MAC_PADDING=y
# CONFIG_MXGBEM_OPTM_WITH_LARGE is not set
CONFIG_MGBEVF=m
# CONFIG_MGBEVF_OPTM_WITH_LARGE is not set
CONFIG_NET_VENDOR_NETSWIFT=y
CONFIG_NGBE=m
CONFIG_NGBE_HWMON=y
+20 −0
Original line number Diff line number Diff line
@@ -101,4 +101,24 @@ config MXGBEM_OPTM_WITH_LARGE
          Say Y here if you want to reduce memory cost in large PAGE_SIZE.

          If unsure, say N.

config MGBEVF
	tristate "Mucse(R) 1GbE PCI Express Virtual Function adapters support"
        depends on PCI
        help
          This driver supports Mucse(R) 1GE PCI Express Virtual Function
	  family of adapters.

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

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
@@ -5,3 +5,4 @@

obj-$(CONFIG_MXGBE) += rnp/
obj-$(CONFIG_MXGBEM) += rnpm/
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