Re: [RFC net-next 0/6] offload linux bonding tc ingress rules

2018-03-05 Thread Ido Schimmel
On Mon, Mar 05, 2018 at 01:28:28PM +, John Hurley wrote: > To prevent sync issues between the kernel and offload device, the linux > bond driver is affectively locked when it has offloaded rules. i.e no new > ports can be enslaved and no slaves can be released until the offload > rules are

Re: [RFC net-next 0/6] offload linux bonding tc ingress rules

2018-03-05 Thread Roopa Prabhu
On Mon, Mar 5, 2018 at 2:08 PM, Jakub Kicinski wrote: > On Mon, 5 Mar 2018 13:28:28 +, John Hurley wrote: >> The linux bond itself registers a cb for offloading tc rules. Potential >> slave netdevs on offload devices can then register with the bond for a >>

Re: [RFC net-next 0/6] offload linux bonding tc ingress rules

2018-03-05 Thread Jakub Kicinski
On Mon, 5 Mar 2018 23:57:18 +, John Hurley wrote: > > what is your approach for rules whose bond is their egress device > > (ingress = vf port > > representor)? > > Egress offload will be handled entirely by the NFP driver. > Basically, notifiers will track the slaves/masters and update the

Re: [RFC net-next 0/6] offload linux bonding tc ingress rules

2018-03-05 Thread John Hurley
On Mon, Mar 5, 2018 at 9:43 PM, Or Gerlitz wrote: > On Mon, Mar 5, 2018 at 3:28 PM, John Hurley wrote: >> This RFC patchset adds support for offloading tc ingress rules applied to >> linux bonds. The premise of these patches is that if a rule is

Re: [RFC net-next 0/6] offload linux bonding tc ingress rules

2018-03-05 Thread Jakub Kicinski
On Mon, 5 Mar 2018 13:28:28 +, John Hurley wrote: > The linux bond itself registers a cb for offloading tc rules. Potential > slave netdevs on offload devices can then register with the bond for a > further callback - this code is basically the same as registering for an > egress dev offload

Re: [RFC net-next 0/6] offload linux bonding tc ingress rules

2018-03-05 Thread Or Gerlitz
On Mon, Mar 5, 2018 at 3:28 PM, John Hurley wrote: > This RFC patchset adds support for offloading tc ingress rules applied to > linux bonds. The premise of these patches is that if a rule is applied to > a bond port then the rule should be applied to each slave of the

[RFC net-next 0/6] offload linux bonding tc ingress rules

2018-03-05 Thread John Hurley
Hi, This RFC patchset adds support for offloading tc ingress rules applied to linux bonds. The premise of these patches is that if a rule is applied to a bond port then the rule should be applied to each slave of the bond. The linux bond itself registers a cb for offloading tc rules. Potential