From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755972AbdJJIPo (ORCPT ); Tue, 10 Oct 2017 04:15:44 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:7956 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755852AbdJJIPl (ORCPT ); Tue, 10 Oct 2017 04:15:41 -0400 From: Lipeng To: CC: , , , , , Subject: [PATCH net-next 0/5] Support set_ringparam and {set|get}_rxnfc ethtool commands Date: Tue, 10 Oct 2017 16:42:02 +0800 Message-ID: <1507624927-98008-1-git-send-email-lipeng321@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A0B0202.59DC81AB.002D,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 34d71728f14118b28f133916c2cfaa64 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 1, Patch [1/5,2/5] add support for ethtool ops set_ringparam (ethtool -G) and fix related bug. 2, Patch [3/5,4/5, 5/5] add support for ethtool ops set_rxnfc/get_rxnfc (-n/-N) and fix related bug. Lipeng (5): net: hns3: fixes the ring index in hns3_fini_ring net: hns3: add support for set_ringparam net: hns3: add support for set_rxnfc net: hns3: add support for ETHTOOL_GRXFH net: hns3: fix the ring count for ETHTOOL_GRXRINGS drivers/net/ethernet/hisilicon/hns3/hnae3.h | 4 + .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 9 ++ .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 1 + .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 159 ++++++++++++++++++++- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 8 ++ .../net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c | 6 +- .../net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.h | 4 + .../ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c | 95 +++++++++++- 8 files changed, 280 insertions(+), 6 deletions(-) -- 1.9.1