Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5336629ybi; Wed, 12 Jun 2019 00:27:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLhZEPd4sYxOxSohWhcXqyerd6A3jZHkh/RRSurrjsXIXV+rrnhGxOibkwlH8VwjgqXkVU X-Received: by 2002:a17:902:e689:: with SMTP id cn9mr6774751plb.42.1560324479050; Wed, 12 Jun 2019 00:27:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560324479; cv=none; d=google.com; s=arc-20160816; b=E3oh7Ok0ZnGAA7XyExkvzyrMhkJS8dkU3m0xGSIUcviMoJyiGcy48dOkG1thYsS+gU HRLpIJXDOTDLHxRzLUp5onT8voXPaBontXeSwOx5G6uTYW/lLy3rfaUgu1LaY9IznWc+ nee1CIqqBdQqorixSr93Qf9Rsuf8GYA+lK+WJ/wgpxcjj+hdfNRtnADxbVP+1pOppSHL 6aRI86R8ldJ3pLz0jfqm2PpRYyCAgMq5ZjMEX6aeOPHIGjYkACf0QxfMNGlOTZUyGIPL 2gV6mW75nXiyIxEHefwyoXd0Rd0P7fcDm4evL6DTrUbmS+TeLF/scXJhCKPumEemWYdz /BFA== 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=mRZg2ZDudu7I7WW6IM29wZyAp03y3NqpOXwhbWZcUPA=; b=FG0sgbrHXVRW4iNmdzIwXekZ5il2zvJZ4A5igEP6gg4uEPhx3oi/6M74dxz0Wle4uu 4qvBm9tlKxN7Q4bdkDEeDFqekqnRg2ggo5fBftVk+DcQah0f8YOiepVhwQLhIUMXoF68 Sj5q2dbtZ2Deakg2+iRwie/n1j5W77WQjcDCdHQTMutVuPpcmrVQC6G2cnWmdkLlGxzH p1BQAi4BXvXp/ELAAsde9FqPQMa5hTaw3IFfMCW6pA5NTJo70n8Dv9y95YFB2o80+AK+ d6c5qGhX3V5YjsYdAPmmJauhCIJTV2bqzARrmhC1k82URDh4Rap/EPA3b1VLUCyrjIi5 Kv1A== 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 x24si15014579pfm.83.2019.06.12.00.27.43; Wed, 12 Jun 2019 00:27:59 -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 S2408340AbfFLCC7 (ORCPT + 99 others); Tue, 11 Jun 2019 22:02:59 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:18134 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2406409AbfFLCC7 (ORCPT ); Tue, 11 Jun 2019 22:02:59 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 3ED3A3A692478715E748; Wed, 12 Jun 2019 10:02:56 +0800 (CST) Received: from localhost.localdomain (10.175.34.53) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Wed, 12 Jun 2019 10:02:42 +0800 From: Xue Chaojing To: CC: , , , , , , Subject: [PATCH net-next v2 0/2] hinic: add rss support and rss paramters configuration Date: Tue, 11 Jun 2019 18:12:32 +0000 Message-ID: <20190611181234.4843-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 implemente the ethtool interface related to rss parameter configuration. user can use ethtool configure rss parameters or show rss parameters. Xue Chaojing (2): hinic: add rss support 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 | 508 ++++++++++++++++++ .../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 | 265 +++++---- .../net/ethernet/huawei/hinic/hinic_port.c | 379 +++++++++++++ .../net/ethernet/huawei/hinic/hinic_port.h | 129 +++++ 9 files changed, 1231 insertions(+), 142 deletions(-) create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c -- 2.17.1