Skip to content
Snippets Groups Projects
Commit c99dffc4 authored by Jon Cooper's avatar Jon Cooper Committed by Ben Hutchings
Browse files

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


Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent b28405b0
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
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