[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240530-net-2024-05-30-intel-net-fixes-v1-0-8b11c8c9bff8@intel.com>
Date: Thu, 30 May 2024 10:39:27 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: Jakub Kicinski <kuba@...nel.org>, David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>
Cc: Jacob Keller <jacob.e.keller@...el.com>,
Paul Greenwalt <paul.greenwalt@...el.com>,
Przemek Kitszel <przemyslaw.kitszel@...el.com>,
Pucha Himasekhar Reddy <himasekharx.reddy.pucha@...el.com>,
Larysa Zaremba <larysa.zaremba@...el.com>, Simon Horman <horms@...nel.org>,
Chandan Kumar Rout <chandanx.rout@...el.com>,
Igor Bagnucki <igor.bagnucki@...el.com>,
Sasha Neftin <sasha.neftin@...el.com>,
Dima Ruinskiy <dima.ruinskiy@...el.com>,
Naama Meir <naamax.meir@...ux.intel.com>
Subject: [PATCH net 0/6] Intel Wired LAN Driver Updates 2024-05-29 (ice,
igc)
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@...el.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: 13c7c941e72908b8cce5a84b45a7b5e485ca12ed
change-id: 20240530-net-2024-05-30-intel-net-fixes-bc5cd855d777
Best regards,
--
Jacob Keller <jacob.e.keller@...el.com>
Powered by blists - more mailing lists