Re: [PATCH net-next v3] virtio-net: ethtool configurable RXCSUM

2020-10-13 Thread Jakub Kicinski
On Mon, 12 Oct 2020 09:58:20 +0800 xiangxia.m@gmail.com wrote: > From: Tonghao Zhang > > Allow user configuring RXCSUM separately with ethtool -K, > reusing the existing virtnet_set_guest_offloads helper > that configures RXCSUM for XDP. This is conditional on > VIRTIO_NET_F_CTRL_GUEST_OFFLOA

Re: [PATCH net-next v3] virtio-net: ethtool configurable RXCSUM

2020-10-12 Thread Willem de Bruijn
On Sun, Oct 11, 2020 at 10:03 PM wrote: > > From: Tonghao Zhang > > Allow user configuring RXCSUM separately with ethtool -K, > reusing the existing virtnet_set_guest_offloads helper > that configures RXCSUM for XDP. This is conditional on > VIRTIO_NET_F_CTRL_GUEST_OFFLOADS. > > If Rx checksum is

Re: [PATCH net-next v3] virtio-net: ethtool configurable RXCSUM

2020-10-11 Thread Jason Wang
On 2020/10/12 上午9:58, xiangxia.m@gmail.com wrote: From: Tonghao Zhang Allow user configuring RXCSUM separately with ethtool -K, reusing the existing virtnet_set_guest_offloads helper that configures RXCSUM for XDP. This is conditional on VIRTIO_NET_F_CTRL_GUEST_OFFLOADS. If Rx checksum i

[PATCH net-next v3] virtio-net: ethtool configurable RXCSUM

2020-10-11 Thread xiangxia . m . yue
From: Tonghao Zhang Allow user configuring RXCSUM separately with ethtool -K, reusing the existing virtnet_set_guest_offloads helper that configures RXCSUM for XDP. This is conditional on VIRTIO_NET_F_CTRL_GUEST_OFFLOADS. If Rx checksum is disabled, LRO should also be disabled. Cc: Michael S. T