From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.6 required=3.0 tests=DATE_IN_PAST_06_12, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 488E9C31E50 for ; Mon, 17 Jun 2019 13:36:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2818820657 for ; Mon, 17 Jun 2019 13:36:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726716AbfFQNgR (ORCPT ); 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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