net: mvneta: Don't check NETIF_F_GRO ourself
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Fri, 31 Aug 2018 08:09:13 +0000 (16:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Sep 2018 21:13:31 +0000 (14:13 -0700)
commitd28118e39516c7e9ee620acf3ba19f41703bdb29
tree8fcfac392df7b577564f3a304448c2be84d1f67b
parentb9de3963cc2b373a655636335cb8c4ed12fc9d3b
net: mvneta: Don't check NETIF_F_GRO ourself

napi_gro_receive() checks NETIF_F_GRO bit as well, if the bit is not
set, we will go through GRO_NORMAL in napi_skb_finish(), so fall back
to netif_receive_skb_internal(), so we don't need to check NETIF_F_GRO
ourself.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c