Re: [PATCHv5 bpf-next 1/3] xdp: add a new helper for dev map multicast support

2020-07-01 Thread kernel test robot
Hi Hangbin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bpf-next/master] url: https://github.com/0day-ci/linux/commits/Hangbin-Liu/xdp-add-a-new-helper-for-dev-map-multicast-support/20200701-122334 base: https://git.kernel.org/pub/scm/linux/kernel/git

Re: [PATCHv5 bpf-next 1/3] xdp: add a new helper for dev map multicast support

2020-06-30 Thread Hangbin Liu
On Tue, Jun 30, 2020 at 10:09:39PM -0700, Andrii Nakryiko wrote: > > diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h > > index 0cb8ec948816..d7de6c0b32e4 100644 > > --- a/tools/include/uapi/linux/bpf.h > > +++ b/tools/include/uapi/linux/bpf.h > > @@ -3285,6 +3285,23 @@

Re: [PATCHv5 bpf-next 1/3] xdp: add a new helper for dev map multicast support

2020-06-30 Thread Andrii Nakryiko
On Tue, Jun 30, 2020 at 9:21 PM Hangbin Liu wrote: > > This patch is for xdp multicast support. In this implementation we > add a new helper to accept two maps: forward map and exclude map. > We will redirect the packet to all the interfaces in *forward map*, but > exclude the interfaces that in *

[PATCHv5 bpf-next 1/3] xdp: add a new helper for dev map multicast support

2020-06-30 Thread Hangbin Liu
This patch is for xdp multicast support. In this implementation we add a new helper to accept two maps: forward map and exclude map. We will redirect the packet to all the interfaces in *forward map*, but exclude the interfaces that in *exclude map*. To achive this I add a new ex_map for struct bp