netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/6] Intel Wired LAN Driver Updates 2024-05-29 (ice, igc)
@ 2024-05-30 17:39 Jacob Keller
  2024-05-30 17:39 ` [PATCH net 1/6] ice: fix iteration of TLVs in Preserved Fields Area Jacob Keller
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Jacob Keller @ 2024-05-30 17:39 UTC (permalink / raw)
  To: Jakub Kicinski, David Miller, netdev
  Cc: Jacob Keller, Paul Greenwalt, Przemek Kitszel,
	Pucha Himasekhar Reddy, Larysa Zaremba, Simon Horman,
	Chandan Kumar Rout, Igor Bagnucki, Sasha Neftin, Dima Ruinskiy,
	Naama Meir

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>
---
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@intel.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-31  2:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30 17:39 [PATCH net 0/6] Intel Wired LAN Driver Updates 2024-05-29 (ice, igc) Jacob Keller
2024-05-30 17:39 ` [PATCH net 1/6] ice: fix iteration of TLVs in Preserved Fields Area Jacob Keller
2024-05-30 17:39 ` [PATCH net 2/6] ice: fix reads from NVM Shadow RAM on E830 and E825-C devices Jacob Keller
2024-05-30 17:39 ` [PATCH net 3/6] ice: remove af_xdp_zc_qps bitmap Jacob Keller
2024-05-31  2:08   ` Jakub Kicinski
2024-05-30 17:39 ` [PATCH net 4/6] ice: add flag to distinguish reset from .ndo_bpf in XDP rings config Jacob Keller
2024-05-30 17:39 ` [PATCH net 5/6] ice: map XDP queues to vectors in ice_vsi_map_rings_to_vectors() Jacob Keller
2024-05-30 17:39 ` [PATCH net 6/6] igc: Fix Energy Efficient Ethernet support declaration Jacob Keller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).