Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2542816ybi; Mon, 17 Jun 2019 06:38:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQl315TvQlDKSxPCFkaSWEc5LRcetqIxvRuL5By8kvXrq12jDw4XL1VQTvlE3crWgJE+kn X-Received: by 2002:a17:902:7687:: with SMTP id m7mr25905728pll.310.1560778701785; Mon, 17 Jun 2019 06:38:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560778701; cv=none; d=google.com; s=arc-20160816; b=PRt7qKF0/51e/Sd/q+IgJ+ktduQymayQibDJHhrEAbnyBHn0yzqs5CU7WE85YNgdhE k5VRzYapNaj3bYCDsGaPOXX9Icr0m8DG5hVAfZU0PHuIDyraJ7BzYz8dXizXTR81SFqI Ok1TlL2ros6C/Z1rrvvDqv0Fm+aIlzkpngm1N+ULncZ+NI5lHn8zI1l82Ae0nkV7oLtp to3b2JMRRnPDM69fIb/QhEn/9pi9X/Sl20p2+DIeJQBFAANxOIbTl7e7PTgj0bx1fkEs bKX8QclkI9T8BnguzrtOJt7HEuPqvBY6j21YRkHeeSAhnTVmO0fkFqe73g+lllaR05Pg p6EQ== 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=nuRLLT76+WU5LJoJjbOJ3bjNNPnsCO7z+ErVrFbqCaNEmQJ1amZTxfH1fSyawTP8gp qgzhjbGcEIKtXdVX92yHbfupabxU/3Qf/6oVq6OKtwvI0OZE6mRmeBIqIOTWSHTL7uWs cjMTMz/9q4jjDZHWfqIjSrsCoJa2v2DhPA2f91Hs+RQmxEQ29/ypnFabfcc9FzMNYxuR TiCD50YWnVbjS0lAmc24rOH5xVOeCQ+ubKaKtdwuKLFV6AjopbSJ0GVSsZ2wxCqBFAVf 1u7otUMRR3rp4Pn/Y/H6EOmHS8hTwgeN+9Y/VVX1wzIaWtyXJLaVEs/aiQheLKtlSysT 7zUw== 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 j12si11232561pgs.544.2019.06.17.06.38.05; Mon, 17 Jun 2019 06:38:21 -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 S1726882AbfFQNgR (ORCPT + 99 others); Mon, 17 Jun 2019 09:36:17 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:18588 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726028AbfFQNgR (ORCPT ); Mon, 17 Jun 2019 09:36:17 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 04C8E30DBD65878B2088; Mon, 17 Jun 2019 21:36:15 +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; Mon, 17 Jun 2019 21:36:04 +0800 From: Xue Chaojing To: CC: , , , , , , Subject: [PATCH net-next v4 0/3] hinic: add rss support and rss parameters configuration Date: Mon, 17 Jun 2019 05:45:58 +0000 Message-ID: <20190617054601.3056-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