summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2013-08-27 17:09:02 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-03 21:36:41 -0400
commit4f49129be6fa9b41d1b406ed911da07ce15a7ea5 (patch)
tree9978f27521862f029734293881f0f3715d9270c3 /net
parent61c8106e296cbb51eec11f5cb0ffd6ac30672f55 (diff)
downloadblackbird-op-linux-4f49129be6fa9b41d1b406ed911da07ce15a7ea5.tar.gz
blackbird-op-linux-4f49129be6fa9b41d1b406ed911da07ce15a7ea5.zip
virtio-net: Set RXCSUM feature if GUEST_CSUM is available
If the VIRTIO_NET_F_GUEST_CSUM virtio feature is available, the guest does not have to calculate the checksums on all received packets. This is pretty much the same feature as RX checksum offloading on real network cards, so the virtio-net driver should report this by setting the NETIF_F_RXCSUM flag. When the user now runs "ethtool -k", he or she can see whether the virtio-net interface has to calculate RX checksums or not. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud