[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <871sahjywu.fsf@bootlin.com>
Date: Wed, 29 Aug 2018 11:38:09 +0200
From: Gregory CLEMENT <gregory.clement@...tlin.com>
To: Jisheng Zhang <Jisheng.Zhang@...aptics.com>
Cc: <thomas.petazzoni@...tlin.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Andrew Lunn <andrew@...n.ch>
Subject: Re: [PATCH 4/5] net: mvneta: enable NETIF_F_RXCSUM by default
Hi Jisheng,
On mer., août 29 2018, Jisheng Zhang <Jisheng.Zhang@...aptics.com> 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 <gregory.clement@...tlin.com>
Thanks,
Gregory
>
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@...aptics.com>
> ---
> 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@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com
Powered by blists - more mailing lists