mbox series

[net-next,v4,0/9] bnxt_en: Update for net-next

Message ID 20240828183235.128948-1-michael.chan@broadcom.com (mailing list archive)
Headers show
Series bnxt_en: Update for net-next | expand

Message

Michael Chan Aug. 28, 2024, 6:32 p.m. UTC
This series starts with 2 patches to support firmware crash dump.  The
driver allocates the required DMA memory ahead of time for firmware to
store the crash dump if and when it crashes.  Patch 3 adds priority and
TPID for the .ndo_set_vf_vlan() callback.  Note that this was rejected
and reverted last year and it is being re-submitted after recent changes
in the guidelines.  The remaining patches are MSIX related.  Legacy
interrupt is no longer supported by firmware so we remove the support
in the driver.  We then convert to use the newer kernel APIs to
allocate and enable MSIX vectors.  The last patch adds support for
dynamic MSIX.

v4:
Simplify patch #9 based on feedback from Michal Swiatkowski.

Link to v3:
https://lore.kernel.org/netdev/20240823195657.31588-1-michael.chan@broadcom.com/

v3:
Some changes to patch #1, #2, and #8 based on feedback from Przemek
Kitszel and internal review.  I'm keeping Simon's Reviewed-by tags since
the changes are small.

Link to v2:
https://lore.kernel.org/netdev/20240816212832.185379-1-michael.chan@broadcom.com/

v2:
Only patch #4 is updated to fix a memory leakage reported by Simon.
The changelog of some of the MSIX patches have been updated based on
feedback from Bjorn Helgaas.

Link to v1:
https://lore.kernel.org/netdev/20240713234339.70293-1-michael.chan@broadcom.com/

Michael Chan (6):
  bnxt_en: Deprecate support for legacy INTX mode
  bnxt_en: Remove BNXT_FLAG_USING_MSIX flag
  bnxt_en: Remove register mapping to support INTX
  bnxt_en: Replace deprecated PCI MSIX APIs
  bnxt_en: Allocate the max bp->irq_tbl size for dynamic msix allocation
  bnxt_en: Support dynamic MSIX

Sreekanth Reddy (1):
  bnxt_en: Support QOS and TPID settings for the SRIOV VLAN

Vikas Gupta (2):
  bnxt_en: add support for storing crash dump into host memory
  bnxt_en: add support for retrieving crash dump using ethtool

 drivers/net/ethernet/broadcom/bnxt/bnxt.c     | 310 +++++++++---------
 drivers/net/ethernet/broadcom/bnxt/bnxt.h     |   8 +-
 .../ethernet/broadcom/bnxt/bnxt_coredump.c    |  98 +++++-
 .../ethernet/broadcom/bnxt/bnxt_coredump.h    |   8 +
 .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c |  13 +-
 .../net/ethernet/broadcom/bnxt/bnxt_sriov.c   |  29 +-
 6 files changed, 279 insertions(+), 187 deletions(-)

Comments

Jakub Kicinski Aug. 30, 2024, 3:46 a.m. UTC | #1
On Wed, 28 Aug 2024 11:32:26 -0700 Michael Chan wrote:
> This series starts with 2 patches to support firmware crash dump.  The
> driver allocates the required DMA memory ahead of time for firmware to
> store the crash dump if and when it crashes.  Patch 3 adds priority and
> TPID for the .ndo_set_vf_vlan() callback.  Note that this was rejected
> and reverted last year and it is being re-submitted after recent changes
> in the guidelines.  The remaining patches are MSIX related.  Legacy
> interrupt is no longer supported by firmware so we remove the support
> in the driver.  We then convert to use the newer kernel APIs to
> allocate and enable MSIX vectors.  The last patch adds support for
> dynamic MSIX.

Some disturbance in the force on kernel.org, their bot isn't responding.
Applied a few hours ago, thanks!