On 2018年03月02日 15:05, Jesper Dangaard Brouer wrote:
On Fri,  2 Mar 2018 14:25:29 +0800
Jason Wang <jasow...@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
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to