From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Kirsher Subject: [net-next 00/17][pull request] Intel Wired LAN Driver Updates 2014-11-21 Date: Fri, 21 Nov 2014 21:54:50 -0800 Message-ID: <1416635708-4765-1-git-send-email-jeffrey.t.kirsher@intel.com> Cc: Jeff Kirsher , netdev@vger.kernel.org, nhorman@redhat.com, sassmann@redhat.com, jogreene@redhat.com To: davem@davemloft.net Return-path: Received: from mga03.intel.com ([134.134.136.65]:9277 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750703AbaKVFzL (ORCPT ); Sat, 22 Nov 2014 00:55:11 -0500 Sender: netdev-owner@vger.kernel.org List-ID: This series contains updates to i40e and i40evf. Shannon provides several patches to cleanup and fix i40e. First removes an unneeded break statement in i40e_vsi_link_event(). Then removes some debug messages that really do not give any useful information and ends up getting printed every service_task loop, which fills the logfile with noise when AQ tracing is enabled. Updates the aq_cmd arguments to use %i which is much more forgiving and user friendly than the more restrictive %x, or %d. Fixes the netdev_stat macro, where the old xxx_NETDEV_STAT() macro was defined long before the newer rtnl_link_stats64 came into being, and just never got updated. Getting the pf_id from the function number had an issue when when the PF was setup in passthru mode, the PCI bus/device/function was virtualized and the number in the VM is different from the number in the bare metal. This caused HW configuration issues when the wrong pf_id was used to set up the HMC and other structures. The PF_FUNC_RID register has the real bus/device/function information as configured by the BIOS, so use that for a better number. Carolyn adds additional text description for the base pf0 and flow director generated interrupts, since these interrupts are difficult to distinguish per port on a multi-function device. Jacob resolves an issue related to images with multiple PFs per physical port. We cannot fully support 1588 PTP features, since only one port should control (i.e. write) the registers at a time. Doing so can cause interference of functionality. Anjali provides several updates to i40e, first adds the Virtual Channel OP event opcode for CONFIG_RSS, so that the Virtual Channel state machine can properly decipher status change events. Then updates the driver to add (and use) i40e_is_vf macro for future expansion when new VF MAC types get added. Adds new update VSI flow to accommodate a firmware dix with VSI loopback mode. All VSIs on a VEB should either have loopback enabled or disabled, a mixed mode is not supported for a VEB. Since our driver supports multiple VSIs per PF that need to talk to each other make sure to enable Loopback for the PF and FDIR VSI as well. Mitch provides a couple of i40e and i40evf patches. First updates i40evf init code more adept at handling when multiple VFs attempt to initialize simultaneously. Adds support for setting the RSS key as it is now implemented. The following are changes since commit 1459143386c5d868c87903b8d433a52cffcf3e66: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net and are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next master Anjali Singhai Jain (4): i40e: Add a virtual channel op to config RSS i40e: Define and use i40e_is_vf macro i40e: Add new update VSI flow to accommodate FW fix with VSI Loopback mode i40e: Re enable Main VSI loopback setting in the reset path Carolyn Wyborny (1): i40e: Add description to misc and fd interrupts Catherine Sullivan (1): i40e: Bump i40e version to 1.2.2 and i40evf version to 1.0.6 Jacob Keller (1): i40e: don't enable PTP support on more than one PF per port Kevin Scott (1): i40e: Increase reset delay Mitch Williams (4): i40evf: make early init sequence even more robust i40evf: refactor ethtool RSS handling i40e: implement ethtool RSS config i40e: increase ARQ size Shannon Nelson (5): i40e: Remove unneeded break statement i40e: remove useless debug noise i40e: allow various base numbers in debugfs aq commands i40e: fix netdev_stat macro definition i40e: get pf_id from HW rather than PCI function drivers/net/ethernet/intel/i40e/i40e.h | 2 +- drivers/net/ethernet/intel/i40e/i40e_adminq.c | 5 +- drivers/net/ethernet/intel/i40e/i40e_common.c | 25 +++-- drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 4 +- drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 111 ++++++++++++++++++++- drivers/net/ethernet/intel/i40e/i40e_main.c | 34 +++++-- drivers/net/ethernet/intel/i40e/i40e_ptp.c | 32 ++++-- drivers/net/ethernet/intel/i40e/i40e_type.h | 2 + drivers/net/ethernet/intel/i40e/i40e_virtchnl.h | 1 + drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 4 +- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h | 1 + drivers/net/ethernet/intel/i40evf/i40e_adminq.c | 5 +- drivers/net/ethernet/intel/i40evf/i40e_type.h | 2 + drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h | 1 + drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c | 66 +++++++++--- drivers/net/ethernet/intel/i40evf/i40evf_main.c | 11 +- .../net/ethernet/intel/i40evf/i40evf_virtchnl.c | 16 +-- 17 files changed, 244 insertions(+), 78 deletions(-) -- 1.9.3