From: Sunil Goutham
This patchset is a continuation to earlier submitted patch series
to add a new driver for Marvell's OcteonTX2 SOC's
Resource virtualization unit (RVU) admin function driver.
octeontx2-af: Add RVU Admin Function driver
https://www.spinics.net/lists/netdev/msg528272.html
This patch series adds logic for the following.
- Modified register polling loop to use time_before(jiffies, timeout),
as suggested by Arnd Bergmann.
- Support to forward interface link status notifications sent by
firmware to registered PFs mapped to a CGX::LMAC.
- Support to set CGX LMAC in loopback mode, retrieve stats,
configure DMAC filters at CGX level etc.
- Network pool allocator (NPA) functional block initialization,
admin queue support, NPALF aura/pool contexts memory allocation, init
and deinit.
- Network interface controller (NIX) functional block basic init,
admin queue support, NIXLF RQ/CQ/SQ HW contexts memory allocation,
init and deinit.
Christina Jacob (1):
octeontx2-af: Support to retrieve CGX LMAC stats
Geetha sowjanya (3):
octeontx2-af: Enable or disable CGX internal loopback
octeontx2-af: Support for disabling NPA Aura/Pool contexts
octeontx2-af: Support for disabling NIX RQ/SQ/CQ contexts
Linu Cherian (1):
octeontx2-af: Forward CGX link notifications to PFs
Sunil Goutham (10):
octeontx2-af: Improve register polling loop
octeontx2-af: CGX Rx/Tx enable/disable mbox handlers
octeontx2-af: NPA block admin queue init
octeontx2-af: NPA block LF initialization
octeontx2-af: NPA AQ instruction enqueue support
octeontx2-af: NIX block admin queue init
octeontx2-af: NIX block LF initialization
octeontx2-af: NIX LSO config for TSOv4/v6 offload
octeontx2-af: Alloc bitmaps for NIX Tx scheduler queues
octeontx2-af: NIX AQ instruction enqueue support
Vidhya Raman (1):
octeontx2-af: Support for MAC address filters in CGX
drivers/net/ethernet/marvell/octeontx2/af/Makefile | 2 +-
drivers/net/ethernet/marvell/octeontx2/af/cgx.c| 244 +-
drivers/net/ethernet/marvell/octeontx2/af/cgx.h| 47 +-
drivers/net/ethernet/marvell/octeontx2/af/common.h | 161
drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 206 +
drivers/net/ethernet/marvell/octeontx2/af/rvu.c| 152 +++-
drivers/net/ethernet/marvell/octeontx2/af/rvu.h| 117 ++-
.../net/ethernet/marvell/octeontx2/af/rvu_cgx.c| 320 +++-
.../net/ethernet/marvell/octeontx2/af/rvu_nix.c| 892 +
.../net/ethernet/marvell/octeontx2/af/rvu_npa.c| 475 +++
.../net/ethernet/marvell/octeontx2/af/rvu_struct.h | 808 +++
11 files changed, 3407 insertions(+), 17 deletions(-)
create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/common.h
create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c
--
2.7.4