Re: [PATCH net 2/3] net: core: generic XDP support for stacked device

2019-05-16 Thread Jason Wang
On 2019/5/17 上午5:54, Stephen Hemminger wrote: When a device is stacked like (team, bonding, failsafe or netvsc) the XDP generic program for the parent device is not called. In these cases, the rx handler changes skb->dev to its own in the receive handler, and returns RX_HANDLER_ANOTHER. Fix t

[PATCH net 2/3] net: core: generic XDP support for stacked device

2019-05-16 Thread Stephen Hemminger
When a device is stacked like (team, bonding, failsafe or netvsc) the XDP generic program for the parent device is not called. In these cases, the rx handler changes skb->dev to its own in the receive handler, and returns RX_HANDLER_ANOTHER. Fix this by calling do_xdp_generic if necessary before