Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp272543imu; Fri, 14 Dec 2018 19:21:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/Uz1Qq493lTDszrfPpNa7OEmXxuhLGPzAc1Pz3SXc7OXTtQ9Za2kz6pJwkUxnLGF2dLTsGO X-Received: by 2002:a63:5455:: with SMTP id e21mr5005819pgm.316.1544844100314; Fri, 14 Dec 2018 19:21:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544844100; cv=none; d=google.com; s=arc-20160816; b=TLmnmfw72LWhVNL2tGymr4mHusb29fz1cqzc185APFkp5rZK3kYrCmOKLjzzqkWKzq wf4gmnAOXt1rbQcK76FFH5JlCU+l4DRK09Qbbyk+gaQpoUk4lsSf+Ps3I1qCx0toLh/a 47J29weGLTC7UwrQs1CIaNa+PRjuHBNBX4bA2Lh5GDKwto8ySprnlxytz2cX2FtkvBJd LxRiQycEr4yWNI6ituYoh+/3gzQCKls0MGsLPtqRmikUtFth+F506aKxOYL7VSdogqxu PPmoA7Ll1WcfPQZvIuUOy/dyCYG0IlbzlMIX4f9QtatAf0ZndFN2qBFgkGr+qa/ygsm5 4oJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=LyNhGthan3gxpn7GBv0xH+G5AqMQ4NvJfVyTtSNUa1M=; b=0mwUyWq25W+sS6hP48VHNjJ2HxlHbOtkN/7XL57YEcBw7J6dToNAfH/j3rA2NW+Onk qY/JkDlt1+TIlwMIx1pA4u+B8KPHy2hovg3QsbKxTGIrgpjY76y7kqzybdUT2Eys1Ghn ll3uDgn4CmJ+FLRRrb/wOP5aNPLUF00JO1KdFa6tqCe6GNWwH77v+oglqCz7lN6s0Pnr OHI5wbtijCsY5WN3jypGTKO99TPNc1Oz6sqFBZWBSeqDYKHcnUQ9z5LklkG8AjkOSdmV Q+AZIwrGkWOgb1CHMfQSFJRs358BiF0ASt88hxQDSngWTYeIDZ2kOQH61w1GSc9HssP9 bF8w== 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 v19si5766742pfa.80.2018.12.14.19.21.25; Fri, 14 Dec 2018 19:21: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 S1730072AbeLODRe (ORCPT + 99 others); Fri, 14 Dec 2018 22:17:34 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:16130 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728675AbeLODRc (ORCPT ); Fri, 14 Dec 2018 22:17:32 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id DC5085128520E; Sat, 15 Dec 2018 11:17:29 +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.408.0; Sat, 15 Dec 2018 11:17:24 +0800 From: Peng Li To: CC: , , , , , Subject: [Patch net 08/10] net: hns: Fix ntuple-filters status error. Date: Sat, 15 Dec 2018 11:53:27 +0800 Message-ID: <1544846009-50276-9-git-send-email-lipeng321@huawei.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1544846009-50276-1-git-send-email-lipeng321@huawei.com> References: <1544846009-50276-1-git-send-email-lipeng321@huawei.com> 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 From: Yonglong Liu The ntuple-filters features is forced on by chip. But it shows "ntuple-filters: off [fixed]" when use ethtool. This patch make it correct with "ntuple-filters: on [fixed]". Signed-off-by: Yonglong Liu Signed-off-by: Peng Li --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_enet.c b/drivers/net/ethernet/hisilicon/hns/hns_enet.c index 8a53c82..6242249 100644 --- a/drivers/net/ethernet/hisilicon/hns/hns_enet.c +++ b/drivers/net/ethernet/hisilicon/hns/hns_enet.c @@ -2374,7 +2374,7 @@ static int hns_nic_dev_probe(struct platform_device *pdev) ndev->min_mtu = MAC_MIN_MTU; switch (priv->enet_ver) { case AE_VERSION_2: - ndev->features |= NETIF_F_TSO | NETIF_F_TSO6; + ndev->features |= NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_NTUPLE; ndev->hw_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_RXCSUM | NETIF_F_SG | NETIF_F_GSO | NETIF_F_GRO | NETIF_F_TSO | NETIF_F_TSO6; -- 1.9.1