lkml.org 
[lkml]   [2018]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net] virtio-net: re enable XDP_REDIRECT for mergeable buffer
From
Date


On 2018年03月02日 15:05, Jesper Dangaard Brouer wrote:
> On Fri, 2 Mar 2018 14:25:29 +0800
> Jason Wang <jasowang@redhat.com> wrote:
>
>> @@ -770,6 +774,19 @@ static struct sk_buff *receive_mergeable(struct net_device *dev,
>> goto err_xdp;
>> rcu_read_unlock();
>> goto xdp_xmit;
>> + case XDP_REDIRECT:
>> + err = xdp_do_redirect(dev, &xdp, xdp_prog);
>> + if (err) {
>> + trace_xdp_exception(vi->dev, xdp_prog, act);
> Do not add a trace_xdp_exception here... this is handled inside
> xdp_do_redirect() invocation.
>
>

Right, let me post V2.

Thanks

\
 
 \ /
  Last update: 2018-03-02 10:28    [W:0.062 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site