[v3, net-next 0/9] Add more functionality to BNGE

Bhargava Marreddy posted 9 patches 1 month, 1 week ago
There is a newer version of this series
drivers/net/ethernet/broadcom/Kconfig         |    1 +
drivers/net/ethernet/broadcom/bnge/bnge.h     |   27 +
.../net/ethernet/broadcom/bnge/bnge_core.c    |   16 +
drivers/net/ethernet/broadcom/bnge/bnge_db.h  |   34 +
.../ethernet/broadcom/bnge/bnge_hwrm_lib.c    |  485 ++++
.../ethernet/broadcom/bnge/bnge_hwrm_lib.h    |   31 +
.../net/ethernet/broadcom/bnge/bnge_netdev.c  | 2186 +++++++++++++++++
.../net/ethernet/broadcom/bnge/bnge_netdev.h  |  253 +-
.../net/ethernet/broadcom/bnge/bnge_resc.c    |    4 +-
.../net/ethernet/broadcom/bnge/bnge_resc.h    |    1 +
.../net/ethernet/broadcom/bnge/bnge_rmem.c    |   58 +
.../net/ethernet/broadcom/bnge/bnge_rmem.h    |   14 +
12 files changed, 3106 insertions(+), 4 deletions(-)
create mode 100644 drivers/net/ethernet/broadcom/bnge/bnge_db.h
[v3, net-next 0/9] Add more functionality to BNGE
Posted by Bhargava Marreddy 1 month, 1 week ago
Hi,

This patch series adds the infrastructure to make the netdevice
functional. It allocates data structures for core resources,
followed by their initialisation and registration with the firmware.
The core resources include the RX, TX, AGG, CMPL, and NQ rings,
as well as the VNIC. RX/TX functionality will be introduced in the
next patch series to keep this one at a reviewable size.

Changes from:

v2->v3
Addressed a comment from Jakub Kicinski: 
    - Changed uses of atomic_t to refcount_t

v1->v2

Addressed warnings and errors in the patch series.

Thanks,

Bhargava Marreddy (9):
  bng_en: Add initial support for RX and TX rings
  bng_en: Add initial support for CP and NQ rings
  bng_en: Introduce VNIC
  bng_en: Initialise core resources
  bng_en: Allocate packet buffers
  bng_en: Allocate stat contexts
  bng_en: Register rings with the firmware
  bng_en: Register default VNIC
  bng_en: Configure default VNIC

 drivers/net/ethernet/broadcom/Kconfig         |    1 +
 drivers/net/ethernet/broadcom/bnge/bnge.h     |   27 +
 .../net/ethernet/broadcom/bnge/bnge_core.c    |   16 +
 drivers/net/ethernet/broadcom/bnge/bnge_db.h  |   34 +
 .../ethernet/broadcom/bnge/bnge_hwrm_lib.c    |  485 ++++
 .../ethernet/broadcom/bnge/bnge_hwrm_lib.h    |   31 +
 .../net/ethernet/broadcom/bnge/bnge_netdev.c  | 2186 +++++++++++++++++
 .../net/ethernet/broadcom/bnge/bnge_netdev.h  |  253 +-
 .../net/ethernet/broadcom/bnge/bnge_resc.c    |    4 +-
 .../net/ethernet/broadcom/bnge/bnge_resc.h    |    1 +
 .../net/ethernet/broadcom/bnge/bnge_rmem.c    |   58 +
 .../net/ethernet/broadcom/bnge/bnge_rmem.h    |   14 +
 12 files changed, 3106 insertions(+), 4 deletions(-)
 create mode 100644 drivers/net/ethernet/broadcom/bnge/bnge_db.h

-- 
2.47.3
Re: [v3, net-next 0/9] Add more functionality to BNGE
Posted by Jakub Kicinski 1 month, 1 week ago
On Thu, 21 Aug 2025 21:15:08 +0000 Bhargava Marreddy wrote:
> This patch series adds the infrastructure to make the netdevice
> functional. It allocates data structures for core resources,
> followed by their initialisation and registration with the firmware.
> The core resources include the RX, TX, AGG, CMPL, and NQ rings,
> as well as the VNIC. RX/TX functionality will be introduced in the
> next patch series to keep this one at a reviewable size.

Please make sure the timezone on your system is correct.
You sent these 8 hours in the future..
No need to repost (I think, we'll see if CI is okay).