All of lore.kernel.org
 help / color / mirror / Atom feed
* [net-next 00/13][pull request] 40GbE Intel Wired LAN Driver Updates 2017-04-30
@ 2017-04-30 13:24 Jeff Kirsher
  2017-04-30 13:24 ` [net-next 01/13] i40e: properly spell I40E_VF_STATE_* flags Jeff Kirsher
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Jeff Kirsher @ 2017-04-30 13:24 UTC (permalink / raw)
  To: davem; +Cc: Jeff Kirsher, netdev, nhorman, sassmann, jogreene

This series contains updates to i40e and i40evf only.

Jake provides majority of the changes in this series, starting with the
renaming of a flag to avoid confusion.  Then renamed a variable to a
more meaningful name to clarify what is actually being done and to
reduce confusion.  Amortizes the wait time when initializing or disabling
lots of VFs by using i40e_reset_all_vfs() and
i40e_vsi_stop_rings_no_wait().  Cleaned up a unnecessary delay since
pci_disable_sriov() already has its own delay, so need to add a additional
delay when removing VFs.  Avoid using the same name flags for both
vsi->state and pf->state, to make code review easier and assist future
work to use the correct state field when checking bits.  Use
DECLARE_BITMAP() to ensure that we always allocate enough space for flags.
Replace hw_disabled_flags with the new _AUTO_DISABLED flags, which are
more readable because we are not setting an *_ENABLED flag to
disable the feature.

Alex corrects a oversight where we were not reprogramming the ports
after a reset, which was causing us to lose all of the receive tunnel
offloads.

Arnd Bergmann moves the declaration of a local variable to avoid a
warning seen on architectures with larger pages about an unused variable.

The following are changes since commit c08bac03d2894113bdb114e66e6ada009defb120:
  Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 40GbE

Alexander Duyck (1):
  i40e: Reprogram port offloads after reset

Arnd Bergmann (1):
  i40evf: hide unused variable

Jacob Keller (11):
  i40e: properly spell I40E_VF_STATE_* flags
  i40e: make use of i40e_reset_all_vfs when initializing new VFs
  i40e: rename index to port to avoid confusion
  i40e: amortize wait time when disabling lots of VFs
  i40e: remove unnecessary msleep() delay in i40e_free_vfs
  i40e: separate PF and VSI state flags
  i40e: use DECLARE_BITMAP for state fields
  i40evf: remove needless min_t() on num_online_cpus()*2
  i40e: remove hw_disabled_flags in favor of using separate flag bits
  i40evf: remove I40E_FLAG_FDIR_ATR_ENABLED
  i40evf: allocate queues before we setup the interrupts and q_vectors

 drivers/net/ethernet/intel/i40e/i40e.h             |  31 +-
 drivers/net/ethernet/intel/i40e/i40e_client.c      |  16 +-
 drivers/net/ethernet/intel/i40e/i40e_debugfs.c     |  13 +-
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c     |  50 ++--
 drivers/net/ethernet/intel/i40e/i40e_main.c        | 332 +++++++++++----------
 drivers/net/ethernet/intel/i40e/i40e_ptp.c         |   4 +-
 drivers/net/ethernet/intel/i40e/i40e_txrx.c        |  36 +--
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 144 +++++----
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h |  15 +-
 drivers/net/ethernet/intel/i40evf/i40e_txrx.c      |   8 +-
 drivers/net/ethernet/intel/i40evf/i40evf.h         |  12 +-
 drivers/net/ethernet/intel/i40evf/i40evf_main.c    |  45 +--
 12 files changed, 372 insertions(+), 334 deletions(-)

-- 
2.12.2

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

end of thread, other threads:[~2017-04-30 15:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-30 13:24 [net-next 00/13][pull request] 40GbE Intel Wired LAN Driver Updates 2017-04-30 Jeff Kirsher
2017-04-30 13:24 ` [net-next 01/13] i40e: properly spell I40E_VF_STATE_* flags Jeff Kirsher
2017-04-30 13:24 ` [net-next 02/13] i40e: make use of i40e_reset_all_vfs when initializing new VFs Jeff Kirsher
2017-04-30 13:24 ` [net-next 03/13] i40e: rename index to port to avoid confusion Jeff Kirsher
2017-04-30 13:24 ` [net-next 04/13] i40e: Reprogram port offloads after reset Jeff Kirsher
2017-04-30 13:24 ` [net-next 05/13] i40e: amortize wait time when disabling lots of VFs Jeff Kirsher
2017-04-30 13:24 ` [net-next 06/13] i40e: remove unnecessary msleep() delay in i40e_free_vfs Jeff Kirsher
2017-04-30 13:24 ` [net-next 07/13] i40e: separate PF and VSI state flags Jeff Kirsher
2017-04-30 13:24 ` [net-next 08/13] i40e: use DECLARE_BITMAP for state fields Jeff Kirsher
2017-04-30 13:24 ` [net-next 09/13] i40evf: remove needless min_t() on num_online_cpus()*2 Jeff Kirsher
2017-04-30 13:24 ` [net-next 10/13] i40e: remove hw_disabled_flags in favor of using separate flag bits Jeff Kirsher
2017-04-30 13:24 ` [net-next 11/13] i40evf: remove I40E_FLAG_FDIR_ATR_ENABLED Jeff Kirsher
2017-04-30 13:24 ` [net-next 12/13] i40evf: allocate queues before we setup the interrupts and q_vectors Jeff Kirsher
2017-04-30 13:24 ` [net-next 13/13] i40evf: hide unused variable Jeff Kirsher
2017-04-30 15:36 ` [net-next 00/13][pull request] 40GbE Intel Wired LAN Driver Updates 2017-04-30 David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.