Re: [RFC PATCH 1/5] uapi/linux/if_tun.h: Added new ioctl for tun/tap.

2022-02-23 Thread Yuri Benditovich
Hi Jason, We agree that the same can be done also using the old way, i.e. try to set specific offload - if failed, probably it is not supported. We think this is a little not scalable and we suggest adding the ioctl that will allow us to query allo the supported features in a single call. We think

Re: [RFC PATCH 0/5] TUN/VirtioNet USO features support.

2022-01-26 Thread Yuri Benditovich
On Wed, Jan 26, 2022 at 9:54 AM Xuan Zhuo wrote: > > On Tue, 25 Jan 2022 10:46:57 +0200, Andrew Melnychenko > wrote: > > Added new offloads for TUN devices TUN_F_USO4 and TUN_F_USO6. > > Technically they enable NETIF_F_GSO_UDP_L4 > > (and only if USO4 & USO6 are set simultaneously). > > It

Re: [PATCH 4/4] tun: indicate support for USO feature

2021-05-14 Thread Yuri Benditovich
On Fri, May 14, 2021 at 10:16 AM Jason Wang wrote: > > On Fri, May 14, 2021 at 4:35 AM Willem de Bruijn > wrote: > > > > > > But surprisingly when TUN receives TUN_F_UFO it does not propagate it > > > > anywhere, there is no corresponding NETIF flag. > > > > > > (It looks like I drop the

Re: [PATCH 4/4] tun: indicate support for USO feature

2021-05-13 Thread Yuri Benditovich
On Thu, May 13, 2021 at 11:43 PM Willem de Bruijn wrote: > > > > > > > So the question is what to do now: > > > > > > A) > > > > > > Finalize patches for guest TX and respective QEMU patches > > > > > > Prepare RFC patches for guest RX, get ack on them > > > > > > Change the spec > > > > > >

Re: [PATCH 4/4] tun: indicate support for USO feature

2021-05-13 Thread Yuri Benditovich
On Thu, May 13, 2021 at 10:05 AM Jason Wang wrote: > > On Thu, May 13, 2021 at 12:36 PM Yuri Benditovich > wrote: > > > > On Thu, May 13, 2021 at 5:07 AM Jason Wang wrote: > > > > > > On Wed, May 12, 2021 at 6:37 PM Yuri Benditovich > > > wrote:

Re: [PATCH 2/4] virtio-net: add support of UDP segmentation (USO) on the host

2021-05-12 Thread Yuri Benditovich
On Tue, May 11, 2021 at 8:48 PM Willem de Bruijn wrote: > > On Tue, May 11, 2021 at 12:43 AM Yuri Benditovich > wrote: > > > > Large UDP packet provided by the guest with GSO type set to > > VIRTIO_NET_HDR_GSO_UDP_L4 will be divided to several UDP > > packet

Re: [PATCH 4/4] tun: indicate support for USO feature

2021-05-11 Thread Yuri Benditovich
On Wed, May 12, 2021 at 4:33 AM Jason Wang wrote: > > > 在 2021/5/11 下午4:33, Yuri Benditovich 写道: > > On Tue, May 11, 2021 at 9:50 AM Jason Wang wrote: > >> > >> 在 2021/5/11 下午12:42, Yuri Benditovich 写道: > >>> Signed-off-by: Yuri Benditovich > >

Re: [PATCH 4/4] tun: indicate support for USO feature

2021-05-11 Thread Yuri Benditovich
On Tue, May 11, 2021 at 11:33 AM Yuri Benditovich wrote: > > On Tue, May 11, 2021 at 9:50 AM Jason Wang wrote: > > > > > > 在 2021/5/11 下午12:42, Yuri Benditovich 写道: > > > Signed-off-by: Yuri Benditovich > > > --- > > > drivers/net/tun

Re: [PATCH 1/4] virtio-net: add definitions for host USO feature

2021-05-11 Thread Yuri Benditovich
On Tue, May 11, 2021 at 11:24 AM Jason Wang wrote: > > On Tue, May 11, 2021 at 4:12 PM Yuri Benditovich > wrote: > > > > On Tue, May 11, 2021 at 9:47 AM Jason Wang wrote: > > > > > > > > > 在 2021/5/11 下午12:42, Yuri Benditovich 写道: > > >

Re: [PATCH 4/4] tun: indicate support for USO feature

2021-05-11 Thread Yuri Benditovich
On Tue, May 11, 2021 at 9:50 AM Jason Wang wrote: > > > 在 2021/5/11 下午12:42, Yuri Benditovich 写道: > > Signed-off-by: Yuri Benditovich > > --- > > drivers/net/tun.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/dr

Re: [PATCH 2/4] virtio-net: add support of UDP segmentation (USO) on the host

2021-05-11 Thread Yuri Benditovich
On Tue, May 11, 2021 at 9:47 AM Jason Wang wrote: > > > 在 2021/5/11 下午12:42, Yuri Benditovich 写道: > > Large UDP packet provided by the guest with GSO type set to > > VIRTIO_NET_HDR_GSO_UDP_L4 will be divided to several UDP > > packets according to the gso_size field.

Re: [PATCH 1/4] virtio-net: add definitions for host USO feature

2021-05-11 Thread Yuri Benditovich
On Tue, May 11, 2021 at 9:47 AM Jason Wang wrote: > > > 在 2021/5/11 下午12:42, Yuri Benditovich 写道: > > Define feature bit and GSO type according to the VIRTIO > > specification. > > > > Signed-off-by: Yuri Benditovich > > --- > > include/uapi/linu

[PATCH 4/4] tun: indicate support for USO feature

2021-05-10 Thread Yuri Benditovich
Signed-off-by: Yuri Benditovich --- drivers/net/tun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 84f832806313..a35054f9d941 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -2812,7 +2812,7 @@ static int set_offload

[PATCH 1/4] virtio-net: add definitions for host USO feature

2021-05-10 Thread Yuri Benditovich
Define feature bit and GSO type according to the VIRTIO specification. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h index 3f55a4215f11..a556ac735d7f

[PATCH 3/4] tun: define feature bit for USO support

2021-05-10 Thread Yuri Benditovich
User mode software can probe this bit to check whether the USO feature is supported by TUN/TAP device. Signed-off-by: Yuri Benditovich --- include/uapi/linux/if_tun.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/if_tun.h b/include/uapi/linux/if_tun.h index 454ae31b93c7

[PATCH 0/4] Add host USO support to TUN device

2021-05-10 Thread Yuri Benditovich
This series adds support for UDP segmentation offload feature in TUN device according to the VIRTIO specification Yuri Benditovich (4): virtio-net: add definitions for host USO feature virtio-net: add support of UDP segmentation (USO) on the host tun: define feature bit for USO support

Re: [RFC PATCH 3/7] tun: allow use of BPF_PROG_TYPE_SCHED_CLS program type

2021-01-24 Thread Yuri Benditovich
On Wed, Jan 20, 2021 at 8:45 PM Alexei Starovoitov wrote: > > On Tue, Jan 12, 2021 at 12:55 PM Yuri Benditovich > wrote: > > > > On Tue, Jan 12, 2021 at 10:40 PM Yuri Benditovich > > wrote: > > > > > > On Tue, Jan 12, 2021 at 9:42 PM Yuri Benditovi

Re: [RFC PATCH 3/7] tun: allow use of BPF_PROG_TYPE_SCHED_CLS program type

2021-01-18 Thread Yuri Benditovich
Hello Alexei, Can you please answer the questions in the last email of this thread? Your comment will be extremely helpful. Thanks On Tue, Jan 12, 2021 at 10:55 PM Yuri Benditovich wrote: > > On Tue, Jan 12, 2021 at 10:40 PM Yuri Benditovich > wrote: > > > > On Tue, Ja

Re: [RFC PATCH 0/7] Support for virtio-net hash reporting

2021-01-18 Thread Yuri Benditovich
On Mon, Jan 18, 2021 at 4:46 AM Jason Wang wrote: > > > On 2021/1/17 下午3:57, Yuri Benditovich wrote: > > On Thu, Jan 14, 2021 at 5:39 AM Jason Wang wrote: > >> > >> On 2021/1/13 下午10:33, Willem de Bruijn wrote: > >>> On Tue, Jan 12, 2021 at 11:11 PM

Re: [RFC PATCH 0/7] Support for virtio-net hash reporting

2021-01-16 Thread Yuri Benditovich
On Thu, Jan 14, 2021 at 5:39 AM Jason Wang wrote: > > > On 2021/1/13 下午10:33, Willem de Bruijn wrote: > > On Tue, Jan 12, 2021 at 11:11 PM Jason Wang wrote: > >> > >> On 2021/1/13 上午7:47, Willem de Bruijn wrote: > >>> On Tue, Jan 12, 2021 at 3:29 PM

Re: [RFC PATCH 3/7] tun: allow use of BPF_PROG_TYPE_SCHED_CLS program type

2021-01-12 Thread Yuri Benditovich
On Tue, Jan 12, 2021 at 10:40 PM Yuri Benditovich wrote: > > On Tue, Jan 12, 2021 at 9:42 PM Yuri Benditovich > wrote: > > > > This program type can set skb hash value. It will be useful > > when the tun will support hash reporting feature if virtio-net. > > &g

Re: [RFC PATCH 3/7] tun: allow use of BPF_PROG_TYPE_SCHED_CLS program type

2021-01-12 Thread Yuri Benditovich
On Tue, Jan 12, 2021 at 9:42 PM Yuri Benditovich wrote: > > This program type can set skb hash value. It will be useful > when the tun will support hash reporting feature if virtio-net. > > Signed-off-by: Yuri Benditovich > --- > drivers/net/tun.c | 2 ++ > 1 fi

Re: [RFC PATCH 0/7] Support for virtio-net hash reporting

2021-01-12 Thread Yuri Benditovich
On Tue, Jan 12, 2021 at 9:49 PM Yuri Benditovich wrote: > > On Tue, Jan 12, 2021 at 9:41 PM Yuri Benditovich > wrote: > > > > Existing TUN module is able to use provided "steering eBPF" to > > calculate per-packet hash and derive the destination queue to &

Re: [RFC PATCH 3/7] tun: allow use of BPF_PROG_TYPE_SCHED_CLS program type

2021-01-12 Thread Yuri Benditovich
On Tue, Jan 12, 2021 at 9:46 PM Alexei Starovoitov wrote: > > On Tue, Jan 12, 2021 at 11:42 AM Yuri Benditovich > wrote: > > > > This program type can set skb hash value. It will be useful > > when the tun will support hash reporting feature if virtio-net. > > &g

[RFC PATCH 7/7] tun: report new tun feature IFF_HASH

2021-01-12 Thread Yuri Benditovich
IFF_HASH feature indicates that the tun supports TUNSETHASHPOPULATION ioctl and can propagate the hash data to the virtio-net packet. Signed-off-by: Yuri Benditovich --- drivers/net/tun.c | 2 +- include/uapi/linux/if_tun.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff

Re: [RFC PATCH 0/7] Support for virtio-net hash reporting

2021-01-12 Thread Yuri Benditovich
On Tue, Jan 12, 2021 at 9:41 PM Yuri Benditovich wrote: > > Existing TUN module is able to use provided "steering eBPF" to > calculate per-packet hash and derive the destination queue to > place the packet to. The eBPF uses mapped configuration data > containing a

[RFC PATCH 4/7] tun: free bpf_program by bpf_prog_put instead of bpf_prog_destroy

2021-01-12 Thread Yuri Benditovich
-by: Yuri Benditovich --- drivers/net/tun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 455f7afc1f36..18c1baf1a6c1 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -2218,7 +2218,7 @@ static void tun_prog_free(struct rcu_head

[RFC PATCH 2/7] vhost: support for hash report virtio-net feature

2021-01-12 Thread Yuri Benditovich
According to the virtio specification if VIRTIO_NET_F_HASH_REPORT feature acked the virtio-net header is extended to hold the hash value and hash report type. Signed-off-by: Yuri Benditovich --- drivers/vhost/net.c | 37 + 1 file changed, 29 insertions(+), 8

[RFC PATCH 3/7] tun: allow use of BPF_PROG_TYPE_SCHED_CLS program type

2021-01-12 Thread Yuri Benditovich
This program type can set skb hash value. It will be useful when the tun will support hash reporting feature if virtio-net. Signed-off-by: Yuri Benditovich --- drivers/net/tun.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 7959b5c2d11f

[RFC PATCH 6/7] tun: populate hash in virtio-net header when needed

2021-01-12 Thread Yuri Benditovich
If the BPF program populated the hash in the skb the tun propagates the hash value and hash report type to the respective fields of virtio-net header. Signed-off-by: Yuri Benditovich --- drivers/net/tun.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff

[RFC PATCH 5/7] tun: add ioctl code TUNSETHASHPOPULATION

2021-01-12 Thread Yuri Benditovich
User mode program calls this ioctl before loading of BPF program to inform the tun that the BPF program has extended functionality, i.e. sets hash value and returns the virtqueue number in the lower 16 bits and the type of the hash report in the upper 16 bits. Signed-off-by: Yuri Benditovich

[RFC PATCH 1/7] skbuff: define field for hash report type

2021-01-12 Thread Yuri Benditovich
Used by virtio-net receive side scaling Signed-off-by: Yuri Benditovich --- include/linux/skbuff.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 416bf95cd5f2..36cf40ec0259 100644 --- a/include/linux/skbuff.h +++ b

[RFC PATCH 0/7] Support for virtio-net hash reporting

2021-01-12 Thread Yuri Benditovich
the hash and the hash type into virtio-net header. VHOST driver is made aware of respective virtio-net feature that extends the virtio-net header to report the hash value and hash report type. Yuri Benditovich (7): skbuff: define field for hash report type vhost: support for hash report virtio-ne

[RFC PATCH 2/7] vhost: support for hash report virtio-net feature

2021-01-05 Thread Yuri Benditovich
According to the virtio specification if VIRTIO_NET_F_HASH_REPORT feature acked the virtio-net header is extended to hold the hash value and hash report type. Signed-off-by: Yuri Benditovich --- drivers/vhost/net.c | 37 + 1 file changed, 29 insertions(+), 8

[PATCH v4 0/3] virtio-net: introduce features defined in the spec

2020-03-02 Thread Yuri Benditovich
This series introduce virtio-net features VIRTIO_NET_F_RSC_EXT, VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT. Changes from v3: reformatted structure in patch 1 Yuri Benditovich (3): virtio-net: Introduce extended RSC feature virtio-net: Introduce RSS receive steering feature virtio-net

[PATCH v4 1/3] virtio-net: Introduce extended RSC feature

2020-03-02 Thread Yuri Benditovich
in 'csum_offset' field and sets VIRTIO_NET_HDR_F_RSC_INFO in 'flags' field. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h

[PATCH v4 2/3] virtio-net: Introduce RSS receive steering feature

2020-03-02 Thread Yuri Benditovich
parameters for receive steering. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 42 +++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h index 6466c5979a93..aec6fac3666a

[PATCH v4 3/3] virtio-net: Introduce hash report feature

2020-03-02 Thread Yuri Benditovich
The feature VIRTIO_NET_F_HASH_REPORT extends the layout of the packet and requests the device to calculate hash on incoming packets and report it in the packet header. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 36 + 1 file changed, 36

Re: [PATCH v3 2/3] virtio-net: Introduce RSS receive steering feature

2020-03-02 Thread Yuri Benditovich
On Mon, Mar 02, 2020 at 10:53:14AM +0200, Yuri Benditovich wrote: > > On Sun, Mar 1, 2020 at 9:58 PM Michael S. Tsirkin wrote: > > > > > > On Sun, Mar 01, 2020 at 04:33:01PM +0200, Yuri Benditovich wrote: > > > > RSS (Receive-side scaling) defines hash calcula

Re: [PATCH v3 2/3] virtio-net: Introduce RSS receive steering feature

2020-03-02 Thread Yuri Benditovich
On Sun, Mar 1, 2020 at 9:58 PM Michael S. Tsirkin wrote: > > On Sun, Mar 01, 2020 at 04:33:01PM +0200, Yuri Benditovich wrote: > > RSS (Receive-side scaling) defines hash calculation > > rules and decision on receive virtqueue according to > > the calculated hash

[PATCH v3 3/3] virtio-net: Introduce hash report feature

2020-03-01 Thread Yuri Benditovich
The feature VIRTIO_NET_F_HASH_REPORT extends the layout of the packet and requests the device to calculate hash on incoming packets and report it in the packet header. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 36 + 1 file changed, 36

[PATCH v3 0/3] virtio-net: introduce features defined in the spec

2020-03-01 Thread Yuri Benditovich
This series introduce virtio-net features VIRTIO_NET_F_RSC_EXT, VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT. Changes from v2: reformatted structure in patch 1 Yuri Benditovich (3): virtio-net: Introduce extended RSC feature virtio-net: Introduce RSS receive steering feature virtio-net

[PATCH v3 1/3] virtio-net: Introduce extended RSC feature

2020-03-01 Thread Yuri Benditovich
in 'csum_offset' field and sets VIRTIO_NET_HDR_F_RSC_INFO in 'flags' field. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h

[PATCH v3 2/3] virtio-net: Introduce RSS receive steering feature

2020-03-01 Thread Yuri Benditovich
parameters for receive steering. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 42 +++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h index 19e76b3e3a64..188ad3eecdc8

Re: [PATCH v2 1/3] virtio-net: Introduce extended RSC feature

2020-03-01 Thread Yuri Benditovich
No problem, I'll send an update On Sun, Mar 1, 2020 at 1:31 PM Michael S. Tsirkin wrote: > > On Sun, Mar 01, 2020 at 01:07:31PM +0200, Yuri Benditovich wrote: > > VIRTIO_NET_F_RSC_EXT feature bit indicates that the device > > is able to provide extended RSC information

Re: [PATCH v2 0/3] virtio-net: introduce features defined in the spec

2020-03-01 Thread Yuri Benditovich
On Sun, Mar 1, 2020 at 1:32 PM Michael S. Tsirkin wrote: > > On Sun, Mar 01, 2020 at 01:07:30PM +0200, Yuri Benditovich wrote: > > This series introduce virtio-net features VIRTIO_NET_F_RSC_EXT, > > VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT. > > > > Changes

[PATCH v2 0/3] virtio-net: introduce features defined in the spec

2020-03-01 Thread Yuri Benditovich
This series introduce virtio-net features VIRTIO_NET_F_RSC_EXT, VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT. Changes from v1: __virtio -> __le maximal -> maximum minor style fixes Yuri Benditovich (3): virtio-net: Introduce extended RSC feature virtio-net: Introduce RSS receive st

[PATCH v2 3/3] virtio-net: Introduce hash report feature

2020-03-01 Thread Yuri Benditovich
The feature VIRTIO_NET_F_HASH_REPORT extends the layout of the packet and requests the device to calculate hash on incoming packets and report it in the packet header. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 36 + 1 file changed, 36

[PATCH v2 2/3] virtio-net: Introduce RSS receive steering feature

2020-03-01 Thread Yuri Benditovich
parameters for receive steering. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 42 +++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h index 536152fad3c4..6b309fe23671

[PATCH v2 1/3] virtio-net: Introduce extended RSC feature

2020-03-01 Thread Yuri Benditovich
in 'csum_offset' field and sets VIRTIO_NET_HDR_F_RSC_INFO in 'flags' field. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h index

[PATCH 1/3] virtio-net: Introduce extended RSC feature

2020-02-29 Thread Yuri Benditovich
in 'csum_offset' field and sets VIRTIO_NET_HDR_F_RSC_INFO in 'flags' field. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h index

[PATCH 3/3] virtio-net: Introduce hash report feature

2020-02-29 Thread Yuri Benditovich
The feature VIRTIO_NET_F_HASH_REPORT extends the layout of the packet and requests the device to calculate hash on incoming packets and report it in the packet header. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 36 + 1 file changed, 36

[PATCH 2/3] virtio-net: Introduce RSS receive steering feature

2020-02-29 Thread Yuri Benditovich
parameters for receive steering. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 42 +++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h index 6e26a2cc6ad0..7a342657fb6c

[PATCH 0/3] virtio-net: introduce features defined in the spec

2020-02-29 Thread Yuri Benditovich
This series introduce virtio-net features VIRTIO_NET_F_RSC_EXT, VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT. Yuri Benditovich (3): virtio-net: Introduce extended RSC feature virtio-net: Introduce RSS receive steering feature virtio-net: Introduce hash report feature include/uapi/linux

Re: [PATCH v2] virtio-net: Introduce extended RSC feature

2020-01-13 Thread Yuri Benditovich
On Mon, Jan 13, 2020 at 1:08 PM Jason Wang wrote: > > > On 2020/1/13 下午4:17, Yuri Benditovich wrote: > > 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_typ

[PATCH v2] virtio-net: Introduce extended RSC feature

2020-01-13 Thread Yuri Benditovich
in 'csum_offset' field and sets VIRTIO_NET_HDR_F_RSC_INFO in 'flags' field. Signed-off-by: Yuri Benditovich --- include/uapi/linux/virtio_net.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h index