Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions arch/arm64/configs/deepin_arm64_desktop_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1419,6 +1419,10 @@ CONFIG_MXGBE_FIX_MAC_PADDING=y
# CONFIG_MXGBE_OPTM_WITH_LARGE is not set
CONFIG_MXGBE_MSIX_COUNT=64
CONFIG_MXGBE_DCB=y
CONFIG_MXGBEVF=m
CONFIG_MXGBEVF_FIX_VF_QUEUE=y
CONFIG_MXGBEVF_FIX_MAC_PADDING=y
# CONFIG_MXGBEVF_OPTM_WITH_LARGE is not set
CONFIG_JME=m
CONFIG_ADIN1110=m
CONFIG_LITEX_LITEETH=m
Expand Down
4 changes: 4 additions & 0 deletions arch/loongarch/configs/deepin_loongarch_desktop_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,10 @@ CONFIG_MXGBE_FIX_MAC_PADDING=y
# CONFIG_MXGBE_OPTM_WITH_LARGE is not set
CONFIG_MXGBE_MSIX_COUNT=64
CONFIG_MXGBE_DCB=y
CONFIG_MXGBEVF=m
CONFIG_MXGBEVF_FIX_VF_QUEUE=y
CONFIG_MXGBEVF_FIX_MAC_PADDING=y
# CONFIG_MXGBEVF_OPTM_WITH_LARGE is not set
CONFIG_JME=m
CONFIG_ADIN1110=m
CONFIG_LITEX_LITEETH=m
Expand Down
4 changes: 4 additions & 0 deletions arch/x86/configs/deepin_x86_desktop_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,10 @@ CONFIG_MXGBE_FIX_MAC_PADDING=y
# CONFIG_MXGBE_OPTM_WITH_LARGE is not set
CONFIG_MXGBE_MSIX_COUNT=64
CONFIG_MXGBE_DCB=y
CONFIG_MXGBEVF=m
CONFIG_MXGBEVF_FIX_VF_QUEUE=y
CONFIG_MXGBEVF_FIX_MAC_PADDING=y
# CONFIG_MXGBEVF_OPTM_WITH_LARGE is not set
CONFIG_JME=m
CONFIG_ADIN1110=m
CONFIG_MVMDIO=m
Expand Down
37 changes: 37 additions & 0 deletions drivers/net/ethernet/mucse/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,42 @@ config MXGBE_DCB

If unsure, say N.

config MXGBEVF
tristate "Mucse(R) 1/10/25/40GbE PCI Express Virtual Function adapters support"
depends on PCI
help
This driver supports Mucse(R) 1/10/25/40GbE PCI Express Virtual Function
family of adapters.

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

config MXGBEVF_FIX_VF_QUEUE
bool "Fix VF Queue Used(vf)"
default y
depends on MXGBEVF
help
Say Y here if you want to fix vf queue order in the driver.

If unsure, say N.

config MXGBEVF_FIX_MAC_PADDING
bool "Close Mac Padding Function(pf)"
default y
depends on MXGBEVF
help
Say Y here if you want to fix close mac padding in the driver.

If unsure, say N.

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

If unsure, say N.

endif # NET_VENDOR_MUCSE

1 change: 1 addition & 0 deletions drivers/net/ethernet/mucse/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
obj-$(CONFIG_MGBE) += rnpgbe/
obj-$(CONFIG_MGBEVF) += rnpgbevf/
obj-$(CONFIG_MXGBE) += rnp/
obj-$(CONFIG_MXGBEVF) += rnpvf/
15 changes: 15 additions & 0 deletions drivers/net/ethernet/mucse/rnpvf/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright(c) 2022 - 2024 Mucse Corporation
#
# Makefile for the Mucse(R) 10GbE-2ports PCI Express ethernet driver
#
#

obj-$(CONFIG_MXGBEVF) += rnpvf.o
rnpvf-objs := \
vf.o \
mbx.o \
ethtool.o \
sysfs.o \
rnpvf_main.o

Loading