From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vlad Zolotarov Subject: [PATCH net-next v3 0/5]: ixgbevf: Allow querying VFs RSS indirection table and key Date: Mon, 5 Jan 2015 16:15:06 +0200 Message-ID: <1420467311-6680-1-git-send-email-vladz@cloudius-systems.com> Cc: gleb@cloudius-systems.com, avi@cloudius-systems.com, jeffrey.t.kirsher@intel.com, Vlad Zolotarov To: netdev@vger.kernel.org Return-path: Received: from mail-wg0-f42.google.com ([74.125.82.42]:63801 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753228AbbAEOPa (ORCPT ); Mon, 5 Jan 2015 09:15:30 -0500 Received: by mail-wg0-f42.google.com with SMTP id k14so27843188wgh.29 for ; Mon, 05 Jan 2015 06:15:28 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: Add the ethtool ops to VF driver to allow querying the RSS indirection table and RSS Random Key. - PF driver: Add new VF-PF channel commands. - VF driver: Utilize these new commands and add the corresponding ethtool callbacks. New in v3: - Added a missing support for x550 devices. - Mask the indirection table values according to PSRTYPE[n].RQPL. - Minimized the number of added VF-PF commands. New in v2: - Added a detailed description to patches 4 and 5. New in v1 (compared to RFC): - Use "if-else" statement instead of a "switch-case" for a single option case. More specifically: in cases where the newly added API version is the only one allowed. We may consider using a "switch-case" back again when the list of allowed API versions in these specific places grows up. Vlad Zolotarov (5): ixgbe: Add a RETA query command to VF-PF channel API ixgbevf: Add a RETA query code ixgbe: Add GET_RSS_KEY command to VF-PF channel commands set ixgbevf: Add RSS Key query code ixgbevf: Add the appropriate ethtool ops to query RSS indirection table and key drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h | 10 ++ drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 91 +++++++++++++++ drivers/net/ethernet/intel/ixgbevf/ethtool.c | 43 +++++++ drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 4 +- drivers/net/ethernet/intel/ixgbevf/mbx.h | 10 ++ drivers/net/ethernet/intel/ixgbevf/vf.c | 132 ++++++++++++++++++++++ drivers/net/ethernet/intel/ixgbevf/vf.h | 2 + 7 files changed, 291 insertions(+), 1 deletion(-) -- 2.1.0