From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751297AbcCJNDT (ORCPT ); Thu, 10 Mar 2016 08:03:19 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:2487 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850AbcCJNDF (ORCPT ); Thu, 10 Mar 2016 08:03:05 -0500 From: Kejian Yan To: CC: , , , , , , , , , , , , , , , Subject: [PATCH v2 net-next 0/2] net: hns: get and set RSS indirection table by using ethtool Date: Thu, 10 Mar 2016 21:21:48 +0800 Message-ID: <1457616110-225844-1-git-send-email-yankejian@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020201.56E17081.00DB,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: bcf6166c04a19a002daf158eb78da235 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When we use ethtool to retrieves or configure the receive flow hash indirection table, ethtool needs to call .get_rxnfc to get the ring number so this patchset implements the .get_rxnfc and fixes the bug that we can not get the tatal table each time. --- change log: PATCH v2: - This patch fixes the comments provided by Andy Shevchenko PATCH v1: - first submit Kejian Yan (2): net: hns: fix return value of the function about rss net: hns: fixes a bug of RSS drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 8 ++++--- drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c | 2 +- drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 26 +++++++++++++++++------ 3 files changed, 26 insertions(+), 10 deletions(-) -- 1.9.1