From: John Fastabend <john.fastab...@gmail.com> Date: Tue, 3 Apr 2018 09:41:08 -0700
> On 04/03/2018 08:07 AM, David Ahern wrote: >> 4. What about other stacked devices - bonds and bridges - will those >> just work with the bpf helper? VRF is already handled of course. ;-) > > So if we simply handle this like other stacked devices and call the > lower devs xdp_xmit routine we should get reasonable behavior. For > bonds and bridges I guess some generalization is needed though because > everything at the moment is skb centric. I don't think its necessary > in the first series though. It can be added later. I wonder if we need some feature bit gating this passthrough, just like the various ->vlan_features and ->hw_enc_features.