Commit a493f74a authored by zhenpengzheng's avatar zhenpengzheng Committed by Zheng Zengkai
Browse files

net: txgbe: Add support for Netswift 10G NIC



driver inclusion
category: feature
bugzilla: 50777
CVE: NA

-------------------------------------------------------------------------
This patch contains main code of Netswift 10G NIC Driver which supports
devices as follows:
1) Netswift SP1000A 8088:1001[VID:DID]
2) Netswift WX1820AL 8088:2001[VID:DID]

Signed-off-by: default avatarzhenpengzheng <zhenpengzheng@net-swift.com>
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent abdcf183
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ source "drivers/net/ethernet/i825xx/Kconfig"
source "drivers/net/ethernet/ibm/Kconfig"
source "drivers/net/ethernet/intel/Kconfig"
source "drivers/net/ethernet/xscale/Kconfig"
source "drivers/net/ethernet/netswift/Kconfig"

config JME
	tristate "JMicron(R) PCI-Express Gigabit Ethernet support"
+1 −0
Original line number Diff line number Diff line
@@ -95,3 +95,4 @@ obj-$(CONFIG_NET_VENDOR_XILINX) += xilinx/
obj-$(CONFIG_NET_VENDOR_XIRCOM) += xircom/
obj-$(CONFIG_NET_VENDOR_SYNOPSYS) += synopsys/
obj-$(CONFIG_NET_VENDOR_PENSANDO) += pensando/
obj-$(CONFIG_NET_VENDOR_NETSWIFT) += netswift/
+21 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
#
# Netswift network device configuration
#

config NET_VENDOR_NETSWIFT
	bool "netswift 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 Netswift NICs. If you say Y, you will be asked for
	  your specific card in the following questions.

if NET_VENDOR_NETSWIFT

source "drivers/net/ethernet/netswift/txgbe/Kconfig"

endif # NET_VENDOR_NETSWIFT
+6 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for the Netswift network device drivers.
#

obj-$(CONFIG_TXGBE) += txgbe/
+13 −0
Original line number Diff line number Diff line
#
# Netswift driver configuration
#

config TXGBE
	tristate "Netswift 10G Network Interface Card"
	default n
	depends on PCI_MSI && NUMA && PCI_IOV && DCB
	help
	  This driver supports Netswift 10G Ethernet cards.
	  To compile this driver as part of the kernel, choose Y here.
	  If unsure, choose N.
	  The default is N.
Loading