Commit 7365bcfa authored by Paul Durrant's avatar Paul Durrant Committed by David S. Miller
Browse files

xen-netback: Unconditionally set NETIF_F_RXCSUM

There is no mechanism to insist that a guest always generates a packet
with good checksum (at least for IPv4) so we must handle checksum
offloading from the guest and hence should set NETIF_F_RXCSUM.

Signed-off-by: default avatarPaul Durrant <>
Cc: Wei Liu <>
Cc: David Vrabel <>
Cc: Ian Campbell <>
Signed-off-by: default avatarDavid S. Miller <>
parent 2eba61d5
......@@ -321,7 +321,7 @@ struct xenvif *xenvif_alloc(struct device *parent, domid_t domid,
dev->hw_features = NETIF_F_SG |
dev->features = dev->hw_features;
dev->features = dev->hw_features | NETIF_F_RXCSUM;
SET_ETHTOOL_OPS(dev, &xenvif_ethtool_ops);
dev->tx_queue_len = XENVIF_QUEUE_LENGTH;
Supports Markdown
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