[patch net-next v2 7/9] mlxsw: spectrum: Implement chain template hinting

2018-06-28 Thread Jiri Pirko
From: Jiri Pirko Since cld_flower provides information about the filter template for specific chain, use this information in order to prepare a region. Use the template to find out what elements are going to be used and pass that down to mlxsw_sp_acl_tcam_group_add(). Later on, when the first

Re: [patch net-next v2 7/9] mlxsw: spectrum: Implement chain template hinting

2018-06-26 Thread Ido Schimmel
On Tue, Jun 26, 2018 at 09:59:58AM +0200, Jiri Pirko wrote: > From: Jiri Pirko > > Since cld_flower provides information about the filter template for s/cld_flower/cls_flower/ > specific chain, use this information in order to prepare a region. > Use the template to find out what elements are

[patch net-next v2 7/9] mlxsw: spectrum: Implement chain template hinting

2018-06-26 Thread Jiri Pirko
From: Jiri Pirko Since cld_flower provides information about the filter template for specific chain, use this information in order to prepare a region. Use the template to find out what elements are going to be used and pass that down to mlxsw_sp_acl_tcam_group_add(). Later on, when the first