netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next 00/15][pull request] 100GbE Intel Wired LAN Driver Updates 2020-05-28
@ 2020-05-29  0:08 Jeff Kirsher
  2020-05-29  0:08 ` [net-next 01/15] ice: Poll for reset completion when DDP load fails Jeff Kirsher
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Jeff Kirsher @ 2020-05-29  0:08 UTC (permalink / raw)
  To: davem; +Cc: Jeff Kirsher, netdev, nhorman, sassmann

This series contains updates to the ice driver only.

Anirudh (Ani) adds a poll for reset completion before proceeding with
driver initialization when the DDP package fails to load and the firmware
issues a core reset.

Jake cleans up unnecessary code, since ice_set_dflt_vsi_ctx() performs a
memset to clear the info from the context structures.  Fixed a potential
double free during probe unrolling after a failure.  Also fixed a
potential NULL pointer dereference upon register_netdev() failure.

Tony makes two functions static which are not called outside of their
file.

Brett refactors the ice_ena_vf_mappings(), which was doing the VF's MSIx
and queue mapping in one function which was hard to digest.  So create a
new function to handle the enabling MSIx mappings and another function
to handle the enabling of queue mappings.  Simplify the code flow in
ice_sriov_configure().  Created a helper function for clearing
VPGEN_VFRTRIG register, as this needs to be done on reset to notify the
VF that we are done resetting it.  Fixed the initialization/creation and
reset flows, which was unnecessarily complicated, so separate the two
flows into their own functions.  Renamed VF initialization functions to
make it more clear what they do and why.  Added functionality to set the
VF trust mode bit on reset.  Added helper functions to rebuild the VLAN
and MAC configurations when resetting a VF.  Refactored how the VF reset
is handled to prevent VF reset timeouts.

Paul cleaned up code not needed during a CORER/GLOBR reset.

The following are changes since commit b113cabd4378ddd98dccdd7748a16f9f1f094ef0:
  sfc: avoid an unused-variable warning
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 100GbE

Anirudh Venkataramanan (1):
  ice: Poll for reset completion when DDP load fails

Brett Creeley (9):
  ice: Refactor ice_ena_vf_mappings to split MSIX and queue mappings
  ice: Simplify ice_sriov_configure
  ice: Add helper function for clearing VPGEN_VFRTRIG
  ice: Separate VF VSI initialization/creation from reset flow
  ice: Renaming and simplification in VF init path
  ice: Add function to set trust mode bit on reset
  ice: Add functions to rebuild host VLAN/MAC config for a VF
  ice: Refactor VF reset
  ice: Refactor VF VSI release and setup functions

Jacob Keller (3):
  ice: cleanup VSI context initialization
  ice: fix potential double free in probe unrolling
  ice: fix kernel BUG if register_netdev fails

Paul Greenwalt (1):
  ice: remove VM/VF disable command on CORER/GLOBR reset

Tony Nguyen (1):
  ice: Declare functions static

 drivers/net/ethernet/intel/ice/ice_lib.c      |   1 -
 drivers/net/ethernet/intel/ice/ice_main.c     |  25 +-
 drivers/net/ethernet/intel/ice/ice_nvm.c      |   5 +-
 drivers/net/ethernet/intel/ice/ice_nvm.h      |   4 -
 .../net/ethernet/intel/ice/ice_virtchnl_pf.c  | 768 +++++++++++-------
 5 files changed, 507 insertions(+), 296 deletions(-)

-- 
2.26.2


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

end of thread, other threads:[~2020-05-31  4:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-29  0:08 [net-next 00/15][pull request] 100GbE Intel Wired LAN Driver Updates 2020-05-28 Jeff Kirsher
2020-05-29  0:08 ` [net-next 01/15] ice: Poll for reset completion when DDP load fails Jeff Kirsher
2020-05-29  0:08 ` [net-next 02/15] ice: cleanup VSI context initialization Jeff Kirsher
2020-05-29  0:08 ` [net-next 03/15] ice: fix potential double free in probe unrolling Jeff Kirsher
2020-05-29  0:08 ` [net-next 04/15] ice: fix kernel BUG if register_netdev fails Jeff Kirsher
2020-05-29  0:08 ` [net-next 05/15] ice: Declare functions static Jeff Kirsher
2020-05-29  0:08 ` [net-next 06/15] ice: Refactor ice_ena_vf_mappings to split MSIX and queue mappings Jeff Kirsher
2020-05-29  0:08 ` [net-next 07/15] ice: Simplify ice_sriov_configure Jeff Kirsher
2020-05-29  0:08 ` [net-next 08/15] ice: Add helper function for clearing VPGEN_VFRTRIG Jeff Kirsher
2020-05-29  0:08 ` [net-next 09/15] ice: Separate VF VSI initialization/creation from reset flow Jeff Kirsher
2020-05-29  0:08 ` [net-next 10/15] ice: Renaming and simplification in VF init path Jeff Kirsher
2020-05-29  0:08 ` [net-next 11/15] ice: Add function to set trust mode bit on reset Jeff Kirsher
2020-05-29  0:08 ` [net-next 12/15] ice: Add functions to rebuild host VLAN/MAC config for a VF Jeff Kirsher
2020-05-29  0:08 ` [net-next 13/15] ice: remove VM/VF disable command on CORER/GLOBR reset Jeff Kirsher
2020-05-29  0:08 ` [net-next 14/15] ice: Refactor VF reset Jeff Kirsher
2020-05-29  0:08 ` [net-next 15/15] ice: Refactor VF VSI release and setup functions Jeff Kirsher
2020-05-31  4:45 ` [net-next 00/15][pull request] 100GbE Intel Wired LAN Driver Updates 2020-05-28 David Miller

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).