search for: 165a922

Displaying 5 results from an estimated 5 matches for "165a922".

Did you mean: 165,22
2018 May 21
9
[PATCH net 0/4] Fix several issues of virtio-net mergeable XDP
Hi: Please review the patches that tries to fix sevreal issues of virtio-net mergeable XDP. Thanks Jason Wang (4): virtio-net: correctly redirect linearized packet virtio-net: correctly transmit XDP buff after linearizing virtio-net: reset num_buf to 1 after linearizing packet virito-net: fix leaking page for gso packet during mergeable XDP drivers/net/virtio_net.c | 21
2018 May 21
1
[PATCH net 3/4] virtio-net: reset num_buf to 1 after linearizing packet
...bf95 ("virtio-net: do not reset during XDP set") > Signed-off-by: Jason Wang <jasowang at redhat.com> > --- > drivers/net/virtio_net.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c > index 6260d65..165a922 100644 > --- a/drivers/net/virtio_net.c > +++ b/drivers/net/virtio_net.c > @@ -722,6 +722,7 @@ static struct sk_buff *receive_mergeable(struct net_device *dev, > &len); > if (!xdp_page) > goto err_xdp; > + num_buf = 1; So this is tweaked here for th...
2018 May 21
1
[PATCH net 4/4] virito-net: fix leaking page for gso packet during mergeable XDP
...s buffers") > Signed-off-by: Jason Wang <jasowang at redhat.com> typo in subject > --- > drivers/net/virtio_net.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c > index 165a922..f8db809 100644 > --- a/drivers/net/virtio_net.c > +++ b/drivers/net/virtio_net.c > @@ -707,6 +707,14 @@ static struct sk_buff *receive_mergeable(struct net_device *dev, > void *data; > u32 act; > > + /* Transient failure which in theory could occur if > + * in-fl...
2018 May 21
0
[PATCH net 3/4] virtio-net: reset num_buf to 1 after linearizing packet
...earize the packet. Fixes: 4941d472bf95 ("virtio-net: do not reset during XDP set") Signed-off-by: Jason Wang <jasowang at redhat.com> --- drivers/net/virtio_net.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 6260d65..165a922 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -722,6 +722,7 @@ static struct sk_buff *receive_mergeable(struct net_device *dev, &len); if (!xdp_page) goto err_xdp; + num_buf = 1; offset = VIRTIO_XDP_HEADROOM; } else { xdp_page = page;...
2018 May 21
0
[PATCH net 4/4] virito-net: fix leaking page for gso packet during mergeable XDP
...;virtio_net: xdp, add slowpath case for non contiguous buffers") Signed-off-by: Jason Wang <jasowang at redhat.com> --- drivers/net/virtio_net.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 165a922..f8db809 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -707,6 +707,14 @@ static struct sk_buff *receive_mergeable(struct net_device *dev, void *data; u32 act; + /* Transient failure which in theory could occur if + * in-flight packets from before XDP was enabled...