提交 c99dffc4 编写于 作者: J Jon Cooper 提交者: Ben Hutchings

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

Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册