Re: [bpf-next PATCH 0/3] bpf: improvements to xdp_fwd sample

2019-08-08 Thread Zvi Effron
On Thu, Aug 8, 2019 at 4:30 AM Jesper Dangaard Brouer wrote: > > Another improvement from Toke, is that the bpf_redirect_map() helper, > now also check if the redirect index is valid in the map. If not, then > it returns another value than XDP_REDIRECT. You can choose the > alternative return va

Re: [bpf-next PATCH 0/3] bpf: improvements to xdp_fwd sample

2019-08-08 Thread Jesper Dangaard Brouer
On Wed, 7 Aug 2019 15:09:09 -0700 Zvi Effron wrote: > On Wed, Aug 7, 2019 at 6:00 AM Jesper Dangaard Brouer > wrote: > > > > Toke's devmap lookup improvement is first avail in kernel v5.3. > > Thus, not part of XDP-tutorial yet. > > > I probably missed this in an earlier email, but what are T

[bpf-next PATCH 0/3] bpf: improvements to xdp_fwd sample

2019-08-07 Thread Jesper Dangaard Brouer
This patchset is focused on improvements for XDP forwarding sample named xdp_fwd, which leverage the existing FIB routing tables as described in LPC2018[1] talk by David Ahern. The primary motivation is to illustrate how Toke's recent work improves usability of XDP_REDIRECT via lookups in devmap.