-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: mucse: initial support for rnpgbe driver from Mucse Technology
This driver is to support mucse n500/n210 ethernet card Signed-off-by: Dong Yibo <[email protected]>
- Loading branch information
1 parent
cce573f
commit 183c4b7
Showing
34 changed files
with
27,554 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23972,6 +23972,11 @@ L: [email protected] | |
S: Maintained | ||
F: mm/zswap.c | ||
|
||
MUCSE Ethernet Controller drivers | ||
M: Yibo Dong <[email protected]> | ||
S: Maintained | ||
F: drivers/net/ethernet/mucse/ | ||
|
||
THE REST | ||
M: Linus Torvalds <[email protected]> | ||
L: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
# | ||
# Mucse network device configuration | ||
# | ||
|
||
config NET_VENDOR_MUCSE | ||
bool "Mucse devices" | ||
default y | ||
help | ||
If you have a network (Ethernet) card belonging to this class, say Y. | ||
|
||
Note that the answer to this question doesn't directly affect the | ||
kernel: saying N will just cause the configurator to skip all | ||
the questions about Mucse cards. If you say Y, you will be asked for | ||
your specific card in the following questions. | ||
|
||
|
||
if NET_VENDOR_MUCSE | ||
|
||
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_LPAGE | ||
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]. | ||
|
||
endif # NET_VENDOR_MUCSE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# | ||
# Makefile for the Mucse network device drivers. | ||
# | ||
|
||
obj-$(CONFIG_MGBE) += rnpgbe/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# 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 |
Oops, something went wrong.