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: 982038 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42Vk9Z0q8kz9sBq for ; Thu, 11 Oct 2018 06:06:58 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727375AbeJKC3q (ORCPT ); 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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(-)