Received: by 10.223.176.46 with SMTP id f43csp541892wra; Fri, 26 Jan 2018 03:03:41 -0800 (PST) X-Google-Smtp-Source: AH8x227Pf3t6NAoo4wcY0V3ir+BIkr36nwhztPsYuSzJu+M541Z6+QnHMbM0HPmwTFmwxoNeeSKB X-Received: by 10.98.178.17 with SMTP id x17mr18969946pfe.57.1516964620939; Fri, 26 Jan 2018 03:03:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516964620; cv=none; d=google.com; s=arc-20160816; b=Ehl4osfoUzYIqjyQzQpfaL+77/rqgASNBcWD+DLhSB5OtxPuNiHAO8K2UEpCCxNyIa GE5PDdzRdInCuiVaGwv0Fvfg8LezgnMcvvOCbfIcsk2r8wi1PchKJSsGpDJeySbE6Jx5 VO7OsoN2RgXZI6yMuGQkq4c2bQ5QuIeOlfYSA6wgCHujVxi+MziH71i4BrFYRmooaLXI woE0Mk2OYHFooASz1LCKE55Er/kMeNVOTLruIxtfXDyS4Ai3u9I4nmio+1wxjr27gx1t +bgAIGq3ZoGyeZOJMMt1M37QuDMkjQDyCwJeF8GbEfuXMUDalmqsNoN/HfO85fakLq8D UvuA== 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:arc-authentication-results; bh=nnm7/zZ/Pc6CAfhCYYjpuhgcFsw2PBaLJjaCl5h8YoA=; b=UoVHaQABnBTHRSbjHrKPJbOrAgfy3ZmJInrw4NJqPtF+2ItqwttNcKEYdi7CrxmXp0 bTE+IiUKSk+ofHQA/KBVqgPEO9JSjGH7/tGC5R3X/ewK3VNeecxNqZVRsMC3BT+A7Yto VwIfvfj7pP/xRVVLE51jbBI3Zc8NTkJArIphWvLOhBLIaMNP4pAZts94hZu2HQ8Ri+E6 5Waa1UsjoLFKzdGU5sxus1n5OuhVMBUyC7T/yPtwNVaeXp2THYu5CjNFyK3txhljWjqn ijdEoUCJQXykQWELAreN3jsJ266Bzz7ctsMWUSD8KLnw4UYG2ZP0cBzn45wsNB/gLW2T EYGQ== 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 y6-v6si3552511plt.467.2018.01.26.03.03.25; Fri, 26 Jan 2018 03:03:40 -0800 (PST) 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 S1753302AbeAZLC6 (ORCPT + 99 others); Fri, 26 Jan 2018 06:02:58 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:4706 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753233AbeAZLCz (ORCPT ); Fri, 26 Jan 2018 06:02:55 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 9BBE133B77A1F; Fri, 26 Jan 2018 19:02:35 +0800 (CST) Received: from linux-ioko.site (10.71.200.31) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.361.1; Fri, 26 Jan 2018 19:02:26 +0800 From: Peng Li To: CC: , , , , Subject: [PATCH net-next 0/2] net: hns3: add support ethtool_ops.{set|get}_coalesce for VF Date: Fri, 26 Jan 2018 19:31:23 +0800 Message-ID: <1516966285-48898-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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch-set adds ethtool_ops.{get|set}_coalesce to VF and fix one related bug. HNS3 PF and VF driver use the common enet layer, as the ethtool_ops.{get|set}_coalesce to PF have upstreamed, just need add the ops to hns3vf_ethtool_ops. [Patch 1/2] fix a related bug for the VF ethtool_ops.{set| get}_coalesce. Fuyun Liang (2): net: hns3: add get/set_coalesce support to VF net: hns3: add int_gl_idx setup for VF drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 2 ++ drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 8 ++++++++ drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 5 +++++ 3 files changed, 15 insertions(+) -- 1.9.1