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

2020-10-10 Thread Willem de Bruijn
On Fri, Oct 9, 2020 at 10:10 PM Tonghao Zhang wrote: > > On Fri, Oct 9, 2020 at 9:49 PM Willem de Bruijn > wrote: > > > > On Thu, Oct 8, 2020 at 9:19 PM Tonghao Zhang > > wrote: > > > > > > On Wed, Sep 30, 2020 at 6:05 PM Willem de Bruijn > > > wrote: > > > > > > > > On Wed, Sep 30, 2020 at 4:

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

2020-10-09 Thread Tonghao Zhang
On Fri, Oct 9, 2020 at 9:49 PM Willem de Bruijn wrote: > > On Thu, Oct 8, 2020 at 9:19 PM Tonghao Zhang wrote: > > > > On Wed, Sep 30, 2020 at 6:05 PM Willem de Bruijn > > wrote: > > > > > > On Wed, Sep 30, 2020 at 4:05 AM wrote: > > > > > > > > From: Tonghao Zhang > > > > > > > > Allow user c

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

2020-10-09 Thread Willem de Bruijn
On Thu, Oct 8, 2020 at 9:19 PM Tonghao Zhang wrote: > > On Wed, Sep 30, 2020 at 6:05 PM Willem de Bruijn > wrote: > > > > On Wed, Sep 30, 2020 at 4:05 AM wrote: > > > > > > From: Tonghao Zhang > > > > > > Allow user configuring RXCSUM separately with ethtool -K, > > > reusing the existing virtn

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

2020-10-08 Thread Tonghao Zhang
On Wed, Sep 30, 2020 at 6:05 PM Willem de Bruijn wrote: > > On Wed, Sep 30, 2020 at 4:05 AM 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

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

2020-09-30 Thread Michael S. Tsirkin
On Wed, Sep 30, 2020 at 10:03:00AM +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

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

2020-09-30 Thread Willem de Bruijn
On Wed, Sep 30, 2020 at 4:05 AM 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

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

2020-09-29 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