-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: add driver for Netronome NFP4000/NFP6000 NIC VFs
Add driver for Virtual Functions for the Netronome's NFP-4000 and NFP-6000 based NICs. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Rolf Neugebauer <rolf.neugebauer@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Jakub Kicinski
authored and
David S. Miller
committed
Dec 3, 2015
1 parent
2d1e025
commit 4c35236
Showing
12 changed files
with
4,821 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
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,36 @@ | ||
# | ||
# Netronome device configuration | ||
# | ||
|
||
config NET_VENDOR_NETRONOME | ||
bool "Netronome(R) devices" | ||
default y | ||
---help--- | ||
If you have a Netronome(R) network (Ethernet) card or device, 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 Netronome(R) cards. If you say Y, you will be | ||
asked for your specific card in the following questions. | ||
|
||
if NET_VENDOR_NETRONOME | ||
|
||
config NFP_NETVF | ||
tristate "Netronome(R) NFP4000/NFP6000 VF NIC driver" | ||
depends on PCI && PCI_MSI | ||
depends on VXLAN || VXLAN=n | ||
---help--- | ||
This driver supports SR-IOV virtual functions of | ||
the Netronome(R) NFP4000/NFP6000 cards working as | ||
a advanced Ethernet NIC. | ||
|
||
config NFP_NET_DEBUG | ||
bool "Debug support for Netronome(R) NFP3200/NFP6000 NIC drivers" | ||
depends on NFP_NET || NFP_NETVF | ||
---help--- | ||
Enable extra sanity checks and debugfs support in | ||
Netronome(R) NFP3200/NFP6000 NIC PF and VF drivers. | ||
Note: selecting this option may adversely impact | ||
performance. | ||
|
||
endif |
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,5 @@ | ||
# | ||
# Makefile for the Netronome network device drivers | ||
# | ||
|
||
obj-$(CONFIG_NFP_NETVF) += nfp/ |
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,8 @@ | ||
obj-$(CONFIG_NFP_NETVF) += nfp_netvf.o | ||
|
||
nfp_netvf-objs := \ | ||
nfp_net_common.o \ | ||
nfp_net_ethtool.o \ | ||
nfp_netvf_main.o | ||
|
||
nfp_netvf-$(CONFIG_NFP_NET_DEBUG) += nfp_net_debugfs.o |
Oops, something went wrong.