mbox series

[net,0/4,pull,request] Intel Wired LAN Driver Updates 2020-06-18

Message ID 20200619062210.3159291-1-jeffrey.t.kirsher@intel.com
Headers show
Series Intel Wired LAN Driver Updates 2020-06-18 | expand

Message

Jeff Kirsher June 19, 2020, 6:22 a.m. UTC
This series contains fixes to ixgbe, i40e and ice driver.

Ciara fixes up the ixgbe, i40e and ice drivers to protect access when
allocating and freeing the rings.  In addition, made use of READ_ONCE
when reading the rings prior to accessing the statistics pointer.

Björn fixes a crash where the receive descriptor ring allocation was
moved to a different function, which broke the ethtool set_ringparam()
hook.

The following are changes since commit 0ad6f6e767ec2f613418cbc7ebe5ec4c35af540c:
  net: increment xmit_recursion level in dev_direct_xmit()
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-queue 40GbE

Björn Töpel (1):
  i40e: fix crash when Rx descriptor count is changed

Ciara Loftus (3):
  ixgbe: protect ring accesses with READ- and WRITE_ONCE
  i40e: protect ring accesses with READ- and WRITE_ONCE
  ice: protect ring accesses with WRITE_ONCE

 .../net/ethernet/intel/i40e/i40e_ethtool.c    |  3 ++
 drivers/net/ethernet/intel/i40e/i40e_main.c   | 29 ++++++++++++-------
 drivers/net/ethernet/intel/ice/ice_lib.c      |  8 ++---
 drivers/net/ethernet/intel/ice/ice_main.c     |  2 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c  | 12 ++++----
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 14 +++++++--
 6 files changed, 44 insertions(+), 24 deletions(-)