Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3830592ybi; Tue, 18 Jun 2019 07:11:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyoCp8Fwm91lsg/KY4VMv9MYuR4URzYBbck2UCXk3BpiVm9yu/iUeyuCPOP9fmRQhREi5OK X-Received: by 2002:a17:902:9f93:: with SMTP id g19mr98356526plq.223.1560867103286; Tue, 18 Jun 2019 07:11:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560867103; cv=none; d=google.com; s=arc-20160816; b=ecY5TeOJJfEYwy6Dkp8MuHU2W5TUoQbfIROKcWmiegnzIF2ScodRozncfImOviOCYv +MyCZKPj/1ckVW+fgVP0dkLDY+whox4MsZd2KVXnApr7nWuM7nJcx62GgGIlmpVg4lyh zlZOPwWaw5d4k/SIi4/8h3xbEeF6VxSBH4AP0VofEfEaNFd/JAqFX2L2cHS/vy/Xmc2M QUexhT2ziwE7syfK48qZaFC8Gl4tmi6tGDkS7wLcCs3YodCD49/pSEz68CPTezpWtHQV YdAywj0eMH+SsmZk+mXlv5S0dJSiGRXJqrB/tMze0o0pUyCFalizdKebL8UeMV5UqsKB mW8A== 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=lQNN/qUQJ+p40Sa2dbJzVh4rHpaUlC3Lr6orHL3V620=; b=GqiNE/tOtJrrUhhcE8UfWu29UjGn+GOWvViSmnDKnagAsYpu4wkO9x/JjxG1fKlsTS 5olRQO+D42s/s/t64FnPyvs/O+1pOSZoY/2VCHZ29c80L9NM7nt8R6v24P0QE8w7/TSM AMq8q8jUHbdwZnNBXO/jscOvYRMVqeuqIjXCjAWmT5KvrhxID2WbbhppGm/ACtn3yjEp 2IFQprd6vzZFiGTE2444xd2FCRm7AuwYfh+nPH5hiRx3qmprBfO0s0HwBACf76lxh0SQ 7W/arTyGUzI56KWq8HtuckkexF6Ip8BNfNiFwvMILD0sbiS4Buxz3Vn5yNCuGSGEwjOU qlhg== 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 p13si12950745plo.33.2019.06.18.07.11.27; Tue, 18 Jun 2019 07:11:43 -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 S1729799AbfFROLK (ORCPT + 99 others); Tue, 18 Jun 2019 10:11:10 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:19037 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729042AbfFROLG (ORCPT ); Tue, 18 Jun 2019 10:11:06 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 894898EEA09397824F9B; Tue, 18 Jun 2019 22:11:02 +0800 (CST) Received: from localhost.localdomain (10.175.34.53) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.439.0; Tue, 18 Jun 2019 22:10:54 +0800 From: Xue Chaojing To: CC: , , , , , , Subject: [PATCH net-next v5 0/3] hinic: add rss support and rss parameters configuration Date: Tue, 18 Jun 2019 06:20:50 +0000 Message-ID: <20190618062053.7545-1-xuechaojing@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.34.53] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series add rss support for HINIC driver and implement the ethtool interface related to rss parameter configuration. user can use ethtool configure rss parameters or show rss parameters. Xue Chaojing (3): hinic: add rss support hinic: move ethtool code into hinic_ethtool hinic: add support for rss parameters with ethtool drivers/net/ethernet/huawei/hinic/Makefile | 2 +- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 28 ++ .../net/ethernet/huawei/hinic/hinic_ethtool.c | 458 ++++++++++++++++++ .../net/ethernet/huawei/hinic/hinic_hw_dev.c | 10 +- .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 36 ++ .../net/ethernet/huawei/hinic/hinic_hw_wqe.h | 16 + .../net/ethernet/huawei/hinic/hinic_main.c | 260 +++++----- .../net/ethernet/huawei/hinic/hinic_port.c | 389 +++++++++++++++ .../net/ethernet/huawei/hinic/hinic_port.h | 129 +++++ 9 files changed, 1186 insertions(+), 142 deletions(-) create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c -- 2.17.1