Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4b3763d authored by Ioana Radulescu's avatar Ioana Radulescu Committed by Greg Kroah-Hartman
Browse files

staging: fsl-dpaa2/eth: Always call napi_gro_receive()



The function itself checks whether GRO support is enabled
and acts accordingly, so we don't need to verify it in the
driver as well.

Signed-off-by: default avatarIoana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e40ef9e4
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -273,10 +273,7 @@ static void dpaa2_eth_rx(struct dpaa2_eth_priv *priv,
	percpu_stats->rx_packets++;
	percpu_stats->rx_bytes += dpaa2_fd_get_len(fd);

	if (priv->net_dev->features & NETIF_F_GRO)
	napi_gro_receive(napi, skb);
	else
		netif_receive_skb(skb);

	return;