This series contains updates to i40e, i40evf and virtchnl. Jake implements helper functions to use an array to handle the queue stats which reduces the boiler plate code as well as keep the complexity localized to a few functions.
Paweł adds the ability to change a VF's MAC address from the host side without having to reload the VF driver on the guest side. Paul adds a check to ensure that the number of queues that the PF sends to the VF is equal to or less than the maximum number of queues the VF can support. Mitch fixes an issue caught by GCC 8, where we need to not include the terminating null in the length of the string for strncpy(). Lihong fixes a VF issue to ensure that it does not enter into promiscuous mode when macvlan is added to the VF. Fixed a potential crash after a VF is removed, since the workqueue sync for the adminq task was not being cancelled. Harshitha fixes the type for field_flags in the virtchnl_filter struct. Martyna removes an unnecessary check in a conditional if statement. Björn fixes an issue reported by Jesper Dangaard Brouer, where the driver was reporting incorrect statistics when XDP was enabled. Jan fixes the potential reporting of incorrect speed settings. Patryk fixed an issue where the flag I40EVF_FLAG_AQ_ENABLE_VLAN_STRIPPING was getting set when any offload is set via ethtool. Resolved by only setting this flag when VLAN offload is enabled. Also ensure we hold the rtnl lock when we are clearing the interrupt scheme. Added a check when deleting the MAC address from the VF to ensure that the MAC address was not set by the PF and if it was, do not delete it. The following are changes since commit 817e60a7a2bb1f22052f18562990d675cb3a3762: Merge branch 'nfp-add-NFP5000-support' and are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 40GbE Björn Töpel (1): i40e: report correct statistics when XDP is enabled Harshitha Ramamurthy (1): virtchnl: use u8 type for a field in the virtchnl_filter struct Jacob Keller (3): i40e: convert queue stats to i40e_stats array i40e: move ethtool stats boiler plate code to i40e_ethtool_stats.h i40evf: update ethtool stats code and use helper functions Jan Sokolowski (1): i40e: Check and correct speed values for link on open Lihong Yang (2): i40evf: set IFF_UNICAST_FLT flag for the VF i40evf: cancel workqueue sync for adminq when a VF is removed Martyna Szapar (1): i40e: static analysis report from community Mitch Williams (1): i40e: use correct length for strncpy Patryk Małek (3): i40evf: Don't enable vlan stripping when rx offload is turned on i40e: hold the rtnl lock on clearing interrupt scheme i40e: Prevent deleting MAC address from VF when set by PF Paul M Stillwell Jr (1): i40evf: Validate the number of queues a PF sends Paweł Jabłoński (1): i40evf: Change a VF mac without reloading the VF driver .../net/ethernet/intel/i40e/i40e_ethtool.c | 238 ++++-------------- .../ethernet/intel/i40e/i40e_ethtool_stats.h | 221 ++++++++++++++++ drivers/net/ethernet/intel/i40e/i40e_main.c | 61 +++-- drivers/net/ethernet/intel/i40e/i40e_ptp.c | 3 +- .../ethernet/intel/i40e/i40e_virtchnl_pf.c | 18 +- .../intel/i40evf/i40e_ethtool_stats.h | 221 ++++++++++++++++ .../ethernet/intel/i40evf/i40evf_ethtool.c | 137 +++++----- .../net/ethernet/intel/i40evf/i40evf_main.c | 15 +- .../ethernet/intel/i40evf/i40evf_virtchnl.c | 43 +++- include/linux/avf/virtchnl.h | 2 +- 10 files changed, 678 insertions(+), 281 deletions(-) create mode 100644 drivers/net/ethernet/intel/i40e/i40e_ethtool_stats.h create mode 100644 drivers/net/ethernet/intel/i40evf/i40e_ethtool_stats.h -- 2.17.1