Re: [patch net-next v2 3/6] mlxsw: spectrum_router: Use FIB notifications instead of switchdev calls

2016-09-25 Thread Jiri Pirko
Sun, Sep 25, 2016 at 12:22:08PM CEST, ido...@idosch.org wrote: >On Fri, Sep 23, 2016 at 11:22:12AM +0200, Jiri Pirko wrote: >> From: Jiri Pirko >> >> Until now, in order to offload a FIB entry to HW we use switchdev op. >> However that has limits. Mainly in case we need to make the HW aware of >>

Re: [patch net-next v2 3/6] mlxsw: spectrum_router: Use FIB notifications instead of switchdev calls

2016-09-25 Thread Ido Schimmel
On Fri, Sep 23, 2016 at 11:22:12AM +0200, Jiri Pirko wrote: > From: Jiri Pirko > > Until now, in order to offload a FIB entry to HW we use switchdev op. > However that has limits. Mainly in case we need to make the HW aware of > all route prefixes configured in kernel. HW needs to know those in o

[patch net-next v2 3/6] mlxsw: spectrum_router: Use FIB notifications instead of switchdev calls

2016-09-23 Thread Jiri Pirko
From: Jiri Pirko Until now, in order to offload a FIB entry to HW we use switchdev op. However that has limits. Mainly in case we need to make the HW aware of all route prefixes configured in kernel. HW needs to know those in order to properly trap appropriate packets and pass the to kernel to do