Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1292329imm; Wed, 10 Oct 2018 12:08:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV62/09yR6F1cNESkUpwr6E3czxquiLm8Jug3uYD7IkbrE9SNzCmliy0kLcbL3VHSrJcHu88R X-Received: by 2002:a62:1e83:: with SMTP id e125-v6mr35780598pfe.231.1539198495843; Wed, 10 Oct 2018 12:08:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539198495; cv=none; d=google.com; s=arc-20160816; b=ov041itjXykTHoNZFVZ9Rco/62pqCH5OOWJiJzKxA8Xe2ApgLLdAzck3xCE7PnfWnn TjGB/9yq43/1DbuG519QM0L2hN+U0rj98eWCHZlIe3sf0pTJOMTKjnBi8pGM4iUg67In KT60rsr7BbxRNIoE88azhMICwLnCXamQ2mGHqQhop4DrFghWp3UmlcVX9L2PwjcewAaf 6HXjjnyekdajO1FfCwqygUr518SXsKWX8qFcwKja/h11upMKMFiSXsxb1qdShHLqETbG +SJCP0cC3lQeHYycMSNR28JEiCVYGYBC9zbryvGCIB7uFe7fOcVWBhZUyemVDuj+rSDe e0Fw== 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 q1-v6si28306767pfb.258.2018.10.10.12.08.01; Wed, 10 Oct 2018 12:08:15 -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 S1727401AbeJKC3q (ORCPT + 99 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 Content-Type: text/plain 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