forked from luck/tmp_suning_uos_patched
sfc: Enable RX checksum offload for packets not handled by GRO
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
This commit is contained in:
parent
b28405b0f2
commit
c99dffc417
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user