mbox series

[net-next,0/11] nfp: preliminary support for NFP-3800

Message ID 20220311104306.28357-1-simon.horman@corigine.com (mailing list archive)
Headers show
Series nfp: preliminary support for NFP-3800 | expand

Message

Simon Horman March 11, 2022, 10:42 a.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org March 12, 2022, 7:40 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 11 Mar 2022 11:42:55 +0100 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,01/11] nfp: remove defines for unused control bits
    https://git.kernel.org/netdev/net-next/c/940ea0eae31b
  - [net-next,02/11] nfp: remove pessimistic NFP_QCP_MAX_ADD limits
    https://git.kernel.org/netdev/net-next/c/f6df1aa628f5
  - [net-next,03/11] nfp: use PCI_DEVICE_ID_NETRONOME_NFP6000_VF for VFs instead
    https://git.kernel.org/netdev/net-next/c/113e96241631
  - [net-next,04/11] nfp: use PluDevice register for model for non-NFP6000 chips
    https://git.kernel.org/netdev/net-next/c/5d1359ed5d69
  - [net-next,05/11] nfp: sort the device ID tables
    https://git.kernel.org/netdev/net-next/c/7ab7985df257
  - [net-next,06/11] nfp: introduce dev_info static chip data
    https://git.kernel.org/netdev/net-next/c/9423d24b7b84
  - [net-next,07/11] nfp: use dev_info for PCIe config space BAR offsets
    https://git.kernel.org/netdev/net-next/c/f524b335c08c
  - [net-next,08/11] nfp: use dev_info for the DMA mask
    https://git.kernel.org/netdev/net-next/c/9ba1dc994ff5
  - [net-next,09/11] nfp: parametrize QCP offset/size using dev_info
    https://git.kernel.org/netdev/net-next/c/e900db704c85
  - [net-next,10/11] nfp: take chip version into account for ring sizes
    https://git.kernel.org/netdev/net-next/c/7f3aa620f86a
  - [net-next,11/11] nfp: add support for NFP3800/NFP3803 PCIe devices
    https://git.kernel.org/netdev/net-next/c/d3826a95222c

You are awesome, thank you!