Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp391268imm; Wed, 29 Aug 2018 02:40:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYD2kLqybCDHunFyLKr1/cjBUAh1TPgIjpeepr8LmU7c+0PLStQWma42TJIoceWil+D7SFd X-Received: by 2002:a17:902:8605:: with SMTP id f5-v6mr5076772plo.271.1535535617554; Wed, 29 Aug 2018 02:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535535617; cv=none; d=google.com; s=arc-20160816; b=Te/j52iNuij6eWehGIjU+J9mWg//sjE1FVsfj7vUakkMu8w2BE05n7sUusRzVQUPQP pVm0AUIVdKT9LzF//kMsBF8/uMoQ75HrD9tzxOp1/TstNloUsDtYcerQ/4htld2JOdkT V2imPnWrSNDKwnp5PXaWI+WJrqDxkQJvpvDuq/ObvHBLhtIgYWm1tMJh2EK3fUzvdmtI 354rPUXqi36IpC+0So3+LzGdgFOnmUDTk+pRWIvODkLKgCCHt+I6Xhz9E8DC5doaxqP4 uE9AiUmfwuRLEoI+KiPP0H2uFwozuuwd3EsO/so6/Vi3T+H5UogOSfpzPJTsRk2ZKk9F S52Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:arc-authentication-results; bh=Z8Eox0Sd8XI6wQVeAC97gvS05Kqv8LHTwtKLeiDM8tY=; b=LHeNRGvNofQfmU6IZJ2f+1+5ioznDUa8ZKjRkJvao+QMsiAzSiOgclGAamtpO4fN8j BGffe9gKeta+AoR/I0+w/0y9QynNru6o2fQNWQDLQ8owQ57rlVDqFLwwb/kUblPZBeCo tVVgCnGoKtnQCz/B/ydHGLx30OmK6DQFbQxyZ2K7eB519SKpwgErcE0PI0RpXizGS0P9 VDnztOkVYj2qcta+F8ig6rYmrdkhMcNMaK8CEWr+/cESOddF9XugXPwQq+TUCbHYmUah Z1zcV5pQUUmwxSGyE8tza7sUA2PZrYFX++4YF+E9lP8QnKaBxc2ingHaWUHGOaOE/lNP 9Q4g== 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 h22-v6si3382536pfa.238.2018.08.29.02.40.01; Wed, 29 Aug 2018 02:40:17 -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 S1727999AbeH2NeM convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Aug 2018 09:34:12 -0400 Received: from mail.bootlin.com ([62.4.15.54]:46132 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727107AbeH2NeM (ORCPT ); Wed, 29 Aug 2018 09:34:12 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id E1ACB207B0; Wed, 29 Aug 2018 11:38:09 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (242.171.71.37.rev.sfr.net [37.71.171.242]) by mail.bootlin.com (Postfix) with ESMTPSA id AC3B32071E; Wed, 29 Aug 2018 11:38:09 +0200 (CEST) From: Gregory CLEMENT To: Jisheng Zhang Cc: , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andrew Lunn Subject: Re: [PATCH 4/5] net: mvneta: enable NETIF_F_RXCSUM by default References: <20180829162456.2bd69796@xhacker.debian> <20180829162932.6015e89d@xhacker.debian> Date: Wed, 29 Aug 2018 11:38:09 +0200 In-Reply-To: <20180829162932.6015e89d@xhacker.debian> (Jisheng Zhang's message of "Wed, 29 Aug 2018 16:29:32 +0800") Message-ID: <871sahjywu.fsf@bootlin.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jisheng, On mer., août 29 2018, Jisheng Zhang wrote: > The code and HW supports NETIF_F_RXCSUM, so let's enable it by > default. Same as the previous one, it should go to net-next and Reviewed-by: Gregory CLEMENT Thanks, Gregory > > Signed-off-by: Jisheng Zhang > --- > drivers/net/ethernet/marvell/mvneta.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c > index 06634d4f9b94..7d98f7828a30 100644 > --- a/drivers/net/ethernet/marvell/mvneta.c > +++ b/drivers/net/ethernet/marvell/mvneta.c > @@ -4591,7 +4591,8 @@ static int mvneta_probe(struct platform_device *pdev) > } > } > > - dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_TSO; > + dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | > + NETIF_F_TSO | NETIF_F_RXCSUM; > dev->hw_features |= dev->features; > dev->vlan_features |= dev->features; > dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; > -- > 2.18.0 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com