From patchwork Wed Aug 23 16:48:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmed Zaki X-Patchwork-Id: 13362891 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2039EC8E0 for ; Wed, 23 Aug 2023 16:48:45 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4E2711F for ; Wed, 23 Aug 2023 09:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692809324; x=1724345324; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=4MVYphu33PfsIG74pDv6rnAjxNwK5BmRgidfHBMPxaE=; b=AAl7fUJq2BDPkf/8pTW90/zXfgUm6yJMujV8b+Dq9Krtt4WT8PhQrtj1 LnG3G5POCNHwNFKN1ZauKcir9CxVcIwiQDGw/Q96Qd4WnSV9PqsXqnrkF xP1DZvZ3/Lxcb3h0Cw0c75YpWQkYUmGqswMBZiFyOBnjtTOtasH24URpm OtnL/SSdaJsn9/rC7rSOMVUyiIzwfjjBm4RJXNKiiFyMyJoqEAosu/esu 3EqIADtb2sRe+uQPGvrgHMRGnzFa7r9lr/j4C1+0Ppj+VdRAadRPD4U0k GxkekpLqR6uB2blMP9irYRaIrsWseMHTsnSIVrezVCLDBRV1nzg5TFIfe g==; X-IronPort-AV: E=McAfee;i="6600,9927,10811"; a="438141112" X-IronPort-AV: E=Sophos;i="6.01,195,1684825200"; d="scan'208";a="438141112" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2023 09:48:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10811"; a="802200507" X-IronPort-AV: E=Sophos;i="6.01,195,1684825200"; d="scan'208";a="802200507" Received: from spiccard-mobl1.ger.corp.intel.com (HELO azaki-desk1.intel.com) ([10.252.44.134]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2023 09:48:42 -0700 From: Ahmed Zaki To: netdev@vger.kernel.org Cc: jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, Ahmed Zaki Subject: [RFC PATCH net-next 0/3] Support Symmetric Toeplitz RSS hash Date: Wed, 23 Aug 2023 10:48:28 -0600 Message-Id: <20230823164831.3284341-1-ahmed.zaki@intel.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Patchwork-Delegate: kuba@kernel.org X-Patchwork-State: RFC We are looking for comments from the community on how to best add support for the "Symmetric Toeplitz" hash RSS algorithm available on Intel's E800 NICs. The first patch adds the support via "ethtool -X hfunc ". Patches 2 and 3 add support in the ice driver. Support for the iavf driver will be added later. Ahmed Zaki (3): net: ethtool: add symmetric Toeplitz RSS hash function ice: fix ICE_AQ_VSI_Q_OPT_RSS_* register values ice: add support for symmetric Toeplitz RSS hash function drivers/net/ethernet/intel/ice/ice.h | 2 + .../net/ethernet/intel/ice/ice_adminq_cmd.h | 8 +-- drivers/net/ethernet/intel/ice/ice_ethtool.c | 11 +++- drivers/net/ethernet/intel/ice/ice_lib.c | 12 ++--- drivers/net/ethernet/intel/ice/ice_main.c | 52 +++++++++++++++++++ drivers/net/ethernet/intel/ice/ice_virtchnl.c | 8 ++- include/linux/ethtool.h | 4 +- net/ethtool/common.c | 1 + 8 files changed, 80 insertions(+), 18 deletions(-)