mbox series

[net,v2,0/6] Intel Wired LAN Driver Updates 2024-05-29 (ice, igc)

Message ID 20240603-net-2024-05-30-intel-net-fixes-v2-0-e3563aa89b0c@intel.com (mailing list archive)
Headers show
Series Intel Wired LAN Driver Updates 2024-05-29 (ice, igc) | expand

Message

Jacob Keller June 3, 2024, 9:42 p.m. UTC
This series includes fixes for the ice driver as well as a fix for the igc
driver.

Jacob fixes two issues in the ice driver with reading the NVM for providing
firmware data via devlink info. First, fix an off-by-one error when reading
the Preserved Fields Area, resolving an infinite loop triggered on some
NVMs which lack certain data in the NVM. Second, fix the reading of the NVM
Shadow RAM on newer E830 and E825-C devices which have a variable sized CSS
header rather than assuming this header is always the same fixed size as in
the E810 devices.

Larysa fixes three issues with the ice driver XDP logic that could occur if
the number of queues is changed after enabling an XDP program. First, the
af_xdp_zc_qps bitmap is removed and replaced by simpler logic to track
whether queues are in zero-copy mode. Second, the reset and .ndo_bpf flows
are distinguished to avoid potential races with a PF reset occuring
simultaneously to .ndo_bpf callback from userspace. Third, the logic for
mapping XDP queues to vectors is fixed so that XDP state is restored for
XDP queues after a reconfiguration.

Sasha fixes reporting of Energy Efficient Ethernet support via ethtool in
the igc driver.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
---
Changes in v2:
- Fix formatting of return description in patch 3
- Link to v1: https://lore.kernel.org/r/20240530-net-2024-05-30-intel-net-fixes-v1-0-8b11c8c9bff8@intel.com

---
Jacob Keller (2):
      ice: fix iteration of TLVs in Preserved Fields Area
      ice: fix reads from NVM Shadow RAM on E830 and E825-C devices

Larysa Zaremba (3):
      ice: remove af_xdp_zc_qps bitmap
      ice: add flag to distinguish reset from .ndo_bpf in XDP rings config
      ice: map XDP queues to vectors in ice_vsi_map_rings_to_vectors()

Sasha Neftin (1):
      igc: Fix Energy Efficient Ethernet support declaration

 drivers/net/ethernet/intel/ice/ice.h         |  44 +++++---
 drivers/net/ethernet/intel/ice/ice_base.c    |   3 +
 drivers/net/ethernet/intel/ice/ice_lib.c     |  29 ++----
 drivers/net/ethernet/intel/ice/ice_main.c    | 144 +++++++++++++++------------
 drivers/net/ethernet/intel/ice/ice_nvm.c     | 116 +++++++++++++++++++--
 drivers/net/ethernet/intel/ice/ice_type.h    |  14 ++-
 drivers/net/ethernet/intel/ice/ice_xsk.c     |  13 ++-
 drivers/net/ethernet/intel/igc/igc_ethtool.c |   9 +-
 drivers/net/ethernet/intel/igc/igc_main.c    |   4 +
 9 files changed, 258 insertions(+), 118 deletions(-)
---
base-commit: 6149db4997f582e958da675092f21c666e3b67b7
change-id: 20240530-net-2024-05-30-intel-net-fixes-bc5cd855d777

Best regards,

Comments

patchwork-bot+netdevbpf@kernel.org June 6, 2024, 2:40 a.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 03 Jun 2024 14:42:29 -0700 you wrote:
> This series includes fixes for the ice driver as well as a fix for the igc
> driver.
> 
> Jacob fixes two issues in the ice driver with reading the NVM for providing
> firmware data via devlink info. First, fix an off-by-one error when reading
> the Preserved Fields Area, resolving an infinite loop triggered on some
> NVMs which lack certain data in the NVM. Second, fix the reading of the NVM
> Shadow RAM on newer E830 and E825-C devices which have a variable sized CSS
> header rather than assuming this header is always the same fixed size as in
> the E810 devices.
> 
> [...]

Here is the summary with links:
  - [net,v2,1/6] ice: fix iteration of TLVs in Preserved Fields Area
    https://git.kernel.org/netdev/net/c/03e4a092be8c
  - [net,v2,2/6] ice: fix reads from NVM Shadow RAM on E830 and E825-C devices
    https://git.kernel.org/netdev/net/c/cfa747a66e5d
  - [net,v2,3/6] ice: remove af_xdp_zc_qps bitmap
    https://git.kernel.org/netdev/net/c/adbf5a42341f
  - [net,v2,4/6] ice: add flag to distinguish reset from .ndo_bpf in XDP rings config
    https://git.kernel.org/netdev/net/c/744d197162c2
  - [net,v2,5/6] ice: map XDP queues to vectors in ice_vsi_map_rings_to_vectors()
    (no matching commit)
  - [net,v2,6/6] igc: Fix Energy Efficient Ethernet support declaration
    https://git.kernel.org/netdev/net/c/7d67d11fbe19

You are awesome, thank you!