-
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.
Aleksey Makarov says: ==================== Adding support for Cavium ThunderX network controller This patchset adds support for the Cavium ThunderX network controller. changes in v6: * unused preprocessor symbols were removed * reduce no of atomic operations in SQ maintenance * support for TCP segmentation at driver level * reset RBDR if fifo state is FAIL * fixed an issue with link state mailbox message changes in v5: * __packed were removed. now we rely on C language ABI * nic_dbg() -> netdev_dbg() * fixes for a typo, constant spelling and using BIT_ULL * use print_hex_dump() * unnecessary conditions in a long if() chain were removed changes in v4: * the patch "pci: Add Cavium PCI vendor id" was attributed correctly * a note that Cavium id is used in many drivers was added * the license comments now match MODULE_LICENSE * a comment explaining usage of writeq_relaxed()/readq_relaxed() was added changes in v3: * code cleanup * issues discovered by reviewers were addressed changes in v2: * non-generic module parameters removed * ethtool support added (nicvf_set_rxnfc()) v5: https://lkml.kernel.org/g/<1432344498-17131-1-git-send-email-aleksey.makarov@caviumnetworks.com> v4: https://lkml.kernel.org/g/<1432000757-28700-1-git-send-email-aleksey.makarov@auriga.com> v3: https://lkml.kernel.org/g/<1431747401-20847-1-git-send-email-aleksey.makarov@auriga.com> v2: https://lkml.kernel.org/g/<1415596445-10061-1-git-send-email-rric@kernel.org> v1: https://lkml.kernel.org/g/<20141030165434.GW20170@rric.localhost> ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Showing
17 changed files
with
7,382 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,40 @@ | ||
# | ||
# Cavium ethernet device configuration | ||
# | ||
|
||
config NET_VENDOR_CAVIUM | ||
tristate "Cavium ethernet drivers" | ||
depends on PCI | ||
---help--- | ||
Enable support for the Cavium ThunderX Network Interface | ||
Controller (NIC). The NIC provides the controller and DMA | ||
engines to move network traffic to/from the memory. The NIC | ||
works closely with TNS, BGX and SerDes to implement the | ||
functions replacing and virtualizing those of a typical | ||
standalone PCIe NIC chip. | ||
|
||
If you have a Cavium Thunder board, say Y. | ||
|
||
if NET_VENDOR_CAVIUM | ||
|
||
config THUNDER_NIC_PF | ||
tristate "Thunder Physical function driver" | ||
default NET_VENDOR_CAVIUM | ||
select THUNDER_NIC_BGX | ||
---help--- | ||
This driver supports Thunder's NIC physical function. | ||
|
||
config THUNDER_NIC_VF | ||
tristate "Thunder Virtual function driver" | ||
default NET_VENDOR_CAVIUM | ||
---help--- | ||
This driver supports Thunder's NIC virtual function | ||
|
||
config THUNDER_NIC_BGX | ||
tristate "Thunder MAC interface driver (BGX)" | ||
default NET_VENDOR_CAVIUM | ||
---help--- | ||
This driver supports programming and controlling of MAC | ||
interface from NIC physical function driver. | ||
|
||
endif # NET_VENDOR_CAVIUM |
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 Cavium ethernet device drivers. | ||
# | ||
|
||
obj-$(CONFIG_NET_VENDOR_CAVIUM) += thunder/ |
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,11 @@ | ||
# | ||
# Makefile for Cavium's Thunder ethernet device | ||
# | ||
|
||
obj-$(CONFIG_THUNDER_NIC_BGX) += thunder_bgx.o | ||
obj-$(CONFIG_THUNDER_NIC_PF) += nicpf.o | ||
obj-$(CONFIG_THUNDER_NIC_VF) += nicvf.o | ||
|
||
nicpf-y := nic_main.o | ||
nicvf-y := nicvf_main.o nicvf_queues.o | ||
nicvf-y += nicvf_ethtool.o |
Oops, something went wrong.