[PATCH net-next 0/7] bnge: Support async events while down

Bhargava Marreddy posted 7 patches 3 weeks, 3 days ago
There is a newer version of this series
.../net/ethernet/broadcom/bnge/bnge_ethtool.c |   2 +-
.../net/ethernet/broadcom/bnge/bnge_link.c    |   3 +
.../net/ethernet/broadcom/bnge/bnge_netdev.c  | 483 ++++++++++++++----
.../net/ethernet/broadcom/bnge/bnge_netdev.h  |  11 +
.../net/ethernet/broadcom/bnge/bnge_rmem.c    |  26 +-
.../net/ethernet/broadcom/bnge/bnge_rmem.h    |   4 +-
.../net/ethernet/broadcom/bnge/bnge_txrx.c    |  15 +
7 files changed, 440 insertions(+), 104 deletions(-)
[PATCH net-next 0/7] bnge: Support async events while down
Posted by Bhargava Marreddy 3 weeks, 3 days ago
Hi,

This series lets the bnge driver keep processing firmware async events
while the interface is administratively down, by keeping one notification
queue (NQ0) active across close/open instead of tearing it down and
rebuilding it every time the interface is brought down and up.

This persistent NQ0 setup lays the groundwork for additional async events
in future patches.

Bhargava Marreddy (7):
  bnge: Extract bnapi allocation and cleanup into helpers
  bnge: Extract per-NQ ring allocation and init helpers
  bnge: Move bnapi and ring_grp allocation to probe/remove
  bnge: Drop obsolete bn->bnapi NULL checks in open/close paths
  bnge: Quiesce NQ0 around ring teardown in bnge_free_core()
  bnge: Create NQ0 during probe and keep active across open/close
  bnge: Process async events while administratively down

 .../net/ethernet/broadcom/bnge/bnge_ethtool.c |   2 +-
 .../net/ethernet/broadcom/bnge/bnge_link.c    |   3 +
 .../net/ethernet/broadcom/bnge/bnge_netdev.c  | 483 ++++++++++++++----
 .../net/ethernet/broadcom/bnge/bnge_netdev.h  |  11 +
 .../net/ethernet/broadcom/bnge/bnge_rmem.c    |  26 +-
 .../net/ethernet/broadcom/bnge/bnge_rmem.h    |   4 +-
 .../net/ethernet/broadcom/bnge/bnge_txrx.c    |  15 +
 7 files changed, 440 insertions(+), 104 deletions(-)

-- 
2.47.3