lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 20 Nov 2023 15:43:52 -0800
From: Michael Chan <michael.chan@...adcom.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
	edumazet@...gle.com,
	kuba@...nel.org,
	pabeni@...hat.com,
	gospo@...adcom.com
Subject: [PATCH net-next 00/13] bnxt_en: Prepare to support new P7 chips

This patchset is to prepare the driver to support the new P7 chips by
refactoring and modifying the code.  The P7 chip is built on the P5
chip and many code paths can be modified to support both chips.  The
whole patchset to have basic support for P7 chips is about 20 patches so
a follow-on patchset will complete the support and add the new PCI IDs.

The first 8 patches are changes to the backing store logic to support
both chips with mostly common code paths and datastructures.  Both
chips require host backing store memory but the relevant firmware APIs
have been modified to make it easier to support new backing store
memory types.

The next 4 patches are changes to TX and RX ring indexing logic and NAPI
logic.  The main changes are to increment the TX and RX producers
unbounded and to do any masking only when needed.  These changes are
needed to support the P7 chips which require additional higher bits in
these producer indices.  The NAPI logic is also slightly modifed.

The last patch is a rename of BNXT_FLAG_CHIP_P5 to BNXT_FLAG_P5_PLUS and
other related macro changes to make it clear that the P5_PLUS macro
applies to P5 and newer chips.

Michael Chan (12):
  bnxt_en: The caller of bnxt_alloc_ctx_mem() should always free bp->ctx
  bnxt_en: Free bp->ctx inside bnxt_free_ctx_mem()
  bnxt_en: Restructure context memory data structures
  bnxt_en: Add page info to struct bnxt_ctx_mem_type
  bnxt_en: Use the pg_info field in bnxt_ctx_mem_type struct
  bnxt_en: Add bnxt_setup_ctxm_pg_tbls() helper function
  bnxt_en: Add support for new backing store query firmware API
  bnxt_en: Add support for HWRM_FUNC_BACKING_STORE_CFG_V2 firmware calls
  bnxt_en: Add db_ring_mask and related macro to bnxt_db_info struct.
  bnxt_en: Modify TX ring indexing logic.
  bnxt_en: Modify RX ring indexing logic.
  bnxt_en: Modify the NAPI logic for the new P7 chips

Randy Schacher (1):
  bnxt_en: Rename some macros for the P5 chips

 drivers/net/ethernet/broadcom/bnxt/bnxt.c     | 921 +++++++++++-------
 drivers/net/ethernet/broadcom/bnxt/bnxt.h     | 161 +--
 .../net/ethernet/broadcom/bnxt/bnxt_devlink.c |  10 +-
 .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c |   6 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c |   4 +-
 .../net/ethernet/broadcom/bnxt/bnxt_sriov.c   |   8 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c |   2 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c |  14 +-
 8 files changed, 677 insertions(+), 449 deletions(-)

-- 
2.30.1


Download attachment "smime.p7s" of type "application/pkcs7-signature" (4209 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ