virtio-net: Introduce extended RSC feature
authorYuri Benditovich <yuri.benditovich@daynix.com>
Mon, 2 Mar 2020 11:50:01 +0000 (13:50 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 23 Mar 2020 13:50:02 +0000 (09:50 -0400)
commit22b436c9b5682e877d34425d05576db74a8647e1
tree2566dab5597e1972c694d93c2fd8592b881c0698
parentd5f5ee2a490547961c0b7ccdeef047c2018892bf
virtio-net: Introduce extended RSC feature

VIRTIO_NET_F_RSC_EXT feature bit indicates that the device
is able to provide extended RSC information. When the feature
is negotiatede and 'gso_type' field in received packet is not
GSO_NONE, the device reports number of coalesced packets in
'csum_start' field and number of duplicated acks in 'csum_offset'
field and sets VIRTIO_NET_HDR_F_RSC_INFO in 'flags' field.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Link: https://lore.kernel.org/r/20200302115003.14877-2-yuri.benditovich@daynix.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/uapi/linux/virtio_net.h