nfp: preliminary support for NFP-3800
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 11 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | nfp: remove defines for unused control bitsdrivers/ | +0 | 0 replies | Applied |
| 2/11 | nfp: remove pessimistic NFP_QCP_MAX_ADD limitsdrivers/ | +2 | 0 replies | Applied |
| 3/11 | nfp: use PCI_DEVICE_ID_NETRONOME_NFP6000_VF for VFs insteaddrivers/ | +1 | 0 replies | Applied |
| 4/11 | nfp: use PluDevice register for model for non-NFP6000 chipsdrivers/ | +7 | 0 replies | Applied |
| 5/11 | nfp: sort the device ID tablesdrivers/ | +2 | 0 replies | Applied |
| 6/11 | nfp: introduce dev_info static chip datadrivers/ drivers/ drivers/ +8 more | +68 | 0 replies | Applied |
| 7/11 | nfp: use dev_info for PCIe config space BAR offsetsdrivers/ drivers/ drivers/ | +12 | 0 replies | Applied |
| 8/11 | nfp: use dev_info for the DMA maskdrivers/ drivers/ drivers/ +2 more | +6 | 0 replies | Applied |
| 9/11 | nfp: parametrize QCP offset/size using dev_infodrivers/ drivers/ drivers/ +3 more | +32 | 0 replies | Applied |
| 10/11 | nfp: take chip version into account for ring sizesdrivers/ drivers/ drivers/ +1 more | +16 | 0 replies | Applied |
| 11/11 | nfp: add support for NFP3800/NFP3803 PCIe devicesdrivers/ drivers/ drivers/ +3 more | +31 | 0 replies | Applied |
Reviews trailers per patch
1 of 11 patches has a Reviewed-by or Acked-by.
| Patch | Dirk van der Merwe |
|---|---|
| 1/11 | R-b |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/11] nfp: preliminary support for NFP-3800
Hi,
This series is the first step to add support to the NFP driver for the new NFP-3800 device. In this first series the goal is to clean up small issues found while adding support for the new device, prepare an abstraction of the differences between the already supported devices and the new Kestrel device and add the new PCI ID.
* Patch 1/11 and 2/11 starts by removing some dead code and incorrect assumptions found while working Kestrel support. Patch 3/11, 4/11 and 5/11 cleans up and prepares for adding the new PCI ID for Kestrel.
* Patches 6/11, 7/11, 8/11, 9/11, 10/11 adds, plumb and populates a device information structure to abstract the differences between the existed supported devices (NFP-4000, NFP-5000 and NFP-6000) and the new device (NFP3800).
* Finally patch 11/11 adds the new PCI ID for Kestrel.
More work is needed to drive the new NFP-3800 device after this first batch of patches the foundation is prepared for the follow up work.
Thanks to the work of all those who contributed to this work.
Christo du Toit (1):
nfp: remove pessimistic NFP_QCP_MAX_ADD limits
Dirk van der Merwe (3):
nfp: use PCI_DEVICE_ID_NETRONOME_NFP6000_VF for VFs instead
nfp: use PluDevice register for model for non-NFP6000 chips
nfp: add support for NFP3800/NFP3803 PCIe devices
Jakub Kicinski (7):
nfp: remove defines for unused control bits
nfp: sort the device ID tables
nfp: introduce dev_info static chip data
nfp: use dev_info for PCIe config space BAR offsets
nfp: use dev_info for the DMA mask
nfp: parametrize QCP offset/size using dev_info
nfp: take chip version into account for ring sizes
drivers/net/ethernet/netronome/nfp/Makefile | 1 + drivers/net/ethernet/netronome/nfp/nfp_main.c | 24 ++++++--- drivers/net/ethernet/netronome/nfp/nfp_main.h | 2 + drivers/net/ethernet/netronome/nfp/nfp_net.h | 52 ++++--------------- .../ethernet/netronome/nfp/nfp_net_common.c | 12 ++++- .../net/ethernet/netronome/nfp/nfp_net_ctrl.h | 1 - .../ethernet/netronome/nfp/nfp_net_ethtool.c | 14 +++-- .../net/ethernet/netronome/nfp/nfp_net_main.c | 8 +-- .../ethernet/netronome/nfp/nfp_netvf_main.c | 23 +++++--- .../netronome/nfp/nfpcore/nfp6000_pcie.c | 29 +++++------ .../netronome/nfp/nfpcore/nfp6000_pcie.h | 3 +- .../ethernet/netronome/nfp/nfpcore/nfp_cpp.h | 4 -- .../netronome/nfp/nfpcore/nfp_cpplib.c | 9 +++- .../ethernet/netronome/nfp/nfpcore/nfp_dev.c | 49 +++++++++++++++++ .../ethernet/netronome/nfp/nfpcore/nfp_dev.h | 34 ++++++++++++ include/linux/pci_ids.h | 2 + 16 files changed, 176 insertions(+), 91 deletions(-) create mode 100644 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_dev.c create mode 100644 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_dev.h
Signature · 1 line
2.30.2