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

Reply via email to