Commit c99dffc4 authored by Jon Cooper's avatar Jon Cooper Committed by Ben Hutchings

sfc: Enable RX checksum offload for packets not handled by GRO

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent b28405b0
......@@ -598,6 +598,8 @@ static void efx_rx_deliver(struct efx_channel *channel, u8 *eh,
/* Set the SKB flags */
skb_checksum_none_assert(skb);
if (likely(rx_buf->flags & EFX_RX_PKT_CSUMMED))
skb->ip_summed = CHECKSUM_UNNECESSARY;
if (channel->type->receive_skb)
if (channel->type->receive_skb(channel, skb))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment