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

2020-07-10 Thread David Ahern
On 7/10/20 9:02 AM, Daniel Borkmann wrote: > Right, but what about the other direction where one device forwards to a > bond, > presumably eth1 + eth2 are in the include map and shared also between other > ifaces? Given the logic for the bond mode is on bond0, so one layer > higher, how > do you de

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

2020-07-10 Thread Daniel Borkmann
On 7/10/20 9:36 AM, Hangbin Liu wrote: On Fri, Jul 10, 2020 at 12:37:59AM +0200, Daniel Borkmann wrote: On 7/9/20 3:30 AM, Hangbin Liu wrote: This patch is for xdp multicast support. which has been discussed before[0], The goal is to be able to implement an OVS-like data plane in XDP, i.e., a s

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

2020-07-10 Thread Hangbin Liu
On Fri, Jul 10, 2020 at 12:37:59AM +0200, Daniel Borkmann wrote: > On 7/9/20 3:30 AM, Hangbin Liu wrote: > > This patch is for xdp multicast support. which has been discussed before[0], > > The goal is to be able to implement an OVS-like data plane in XDP, i.e., > > a software switch that can forwa

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

2020-07-09 Thread Daniel Borkmann
On 7/9/20 3:30 AM, Hangbin Liu wrote: This patch is for xdp multicast support. which has been discussed before[0], The goal is to be able to implement an OVS-like data plane in XDP, i.e., a software switch that can forward XDP frames to multiple ports. To achieve this, an application needs to sp

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

2020-07-08 Thread Hangbin Liu
This patch is for xdp multicast support. which has been discussed before[0], The goal is to be able to implement an OVS-like data plane in XDP, i.e., a software switch that can forward XDP frames to multiple ports. To achieve this, an application needs to specify a group of interfaces to forward a