[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ioyk9epe.fsf@rustcorp.com.au>
Date: Mon, 02 Sep 2013 11:17:57 +0930
From: Rusty Russell <rusty@...tcorp.com.au>
To: David Miller <davem@...emloft.net>, thuth@...ux.vnet.ibm.com
Cc: virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
mst@...hat.com
Subject: Re: [PATCH] virtio-net: Set RXCSUM feature if GUEST_CSUM is available
David Miller <davem@...emloft.net> writes:
> From: Thomas Huth <thuth@...ux.vnet.ibm.com>
> Date: Tue, 27 Aug 2013 17:09:02 +0200
>
>> 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@...ux.vnet.ibm.com>
>
> Can one of the virtio_net folks please review this?
Hmm, so NETIF_F_RXCSUM only exists for ethtool's benefit. Weird.
But this patch is correct:
Acked-by: Rusty Russell <rusty@...tcorp.com.au>
Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists