From patchwork Wed Oct 10 19:05:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Salil Mehta X-Patchwork-Id: 148577 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp1228045lji; Wed, 10 Oct 2018 12:06:19 -0700 (PDT) X-Google-Smtp-Source: ACcGV627sVLhhDULuk0BJiLI/jtovKyhx3QvP4ZZhH1D9F2l4qgoVUdbwoYG6LxNeFf/q32tKpeQ X-Received: by 2002:a63:1d62:: with SMTP id d34-v6mr31134050pgm.180.1539198379041; Wed, 10 Oct 2018 12:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539198379; cv=none; d=google.com; s=arc-20160816; b=V9yRErd8JzyRyc9yszOUXQEvmoQ19635yeua1oUAHtx8GsLAfJu5S85kgbp2sUu7aE cLxValJTy3K+EV4lqwA961HsGUk0v/KjC9CBwg8ME9o2PP9Q3Gxg1B1K5nCPlQwFJNZe I83+bsf5oTuL5vsfOxkW4F+cvleZ9eTP0oCItb5QsFrtEvpgHn4kuPwqfqHp3TXJmS7V gBth+ey8fLx20i/3GonfN8zJFJgWLQwPHWv4CRqZwPCmzWcF5zOThTY4CCuKiPsSlM3f B3TiMvFlhmy0Sq10KEsd62f0zQJnFMVvUXmfBCWPhYLav4sgXihxDU4HypvFCueKBRQu YW7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=mbMQPLa2isnQMHMcrDg69PdTe8DqGBkML5ME/vvBkm0=; b=sG0VlWYldbV+JhfrOdBHmLxJTZdb9qYyaK1T5qFW6TrnLE1ouea1JVhp13J5WldlLS mgzIzWilEUrANuR+C98IE3XqATNjhv0Ke/d2zqR57X0Ibg7+/O7j30gSt/6kYcIc7hE3 DQ6DhoDeJRjr/7nVw30aAgawSUtf4VoUA5hbVWNyemeZ21diw7RxdvE8fTKVN1Jk8Lfu zWsZe9GyhyTC/NZXznz3lwcJ3Ag5QVBOJGei3Q+n9PduJbnXh0oQSAJqE65z9cBFTkVZ 2atUHi+HEnQpFFR24AwMZh3wfTjX/jr/6EhYR69OBiSSUc/xpUpF4DCoIZNVaC9nkR9d HcMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h17-v6si19468112pfi.84.2018.10.10.12.06.18; Wed, 10 Oct 2018 12:06:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727416AbeJKC3q (ORCPT + 32 others); Wed, 10 Oct 2018 22:29:46 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:13643 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727101AbeJKC3p (ORCPT ); Wed, 10 Oct 2018 22:29:45 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 3A9E8377C0D0E; Thu, 11 Oct 2018 03:06:13 +0800 (CST) Received: from S00293818-DELL1.china.huawei.com (10.202.226.54) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.399.0; Thu, 11 Oct 2018 03:06:05 +0800 From: Salil Mehta To: CC: , , , , , , Subject: [PATCH net-next 0/4] Adds support of RSS to HNS3 Driver for Rev 2(=0x21) H/W Date: Wed, 10 Oct 2018 20:05:33 +0100 Message-ID: <20181010190537.20972-1-salil.mehta@huawei.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 X-Originating-IP: [10.202.226.54] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch-set mainly adds new additions related to RSS for the new hardware Revision 0x21. It also adds support to use RSS hash value provided by the hardware along with descriptor. Jian Shen (3): net: hns3: Add new RSS hash algorithm support for PF net: hns3: Add RSS general configuration support for VF net: hns3: Add RSS tuples support for VF Peng Li (1): net: hns3: Add HW RSS hash information to RX skb drivers/net/ethernet/hisilicon/hns3/hnae3.h | 1 + drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 17 + drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 10 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 49 ++- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h | 8 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 366 ++++++++++++++++++--- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 19 ++ 7 files changed, 406 insertions(+), 64 deletions(-) -- 2.7.4