> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Simon > Horman > Sent: Friday, May 31, 2024 3:16 PM > To: Zaki, Ahmed <[email protected]> > Cc: Drewek, Wojciech <[email protected]>; Guo, Junfeng > <[email protected]>; [email protected]; Loktionov, Aleksandr > <[email protected]>; Marcin Szycik > <[email protected]>; Nguyen, Anthony L > <[email protected]>; Keller, Jacob E <[email protected]>; > intel- > [email protected] > Subject: Re: [Intel-wired-lan] [PATCH iwl-next v2 04/13] ice: add parser > internal > helper functions > > On Mon, May 27, 2024 at 12:58:01PM -0600, Ahmed Zaki wrote: > > From: Junfeng Guo <[email protected]> > > > > Add the following internal helper functions: > > > > - ice_bst_tcam_match(): > > to perform ternary match on boost TCAM. > > > > - ice_pg_cam_match(): > > to perform parse graph key match in cam table. > > > > - ice_pg_nm_cam_match(): > > to perform parse graph key no match in cam table. > > > > - ice_ptype_mk_tcam_match(): > > to perform ptype markers match in tcam table. > > > > - ice_flg_redirect(): > > to redirect parser flags to packet flags. > > > > - ice_xlt_kb_flag_get(): > > to aggregate 64 bit packet flag into 16 bit key builder flags. > > > > Reviewed-by: Aleksandr Loktionov <[email protected]> > > Reviewed-by: Wojciech Drewek <[email protected]> > > Reviewed-by: Marcin Szycik <[email protected]> > > Signed-off-by: Qi Zhang <[email protected]> > > Signed-off-by: Junfeng Guo <[email protected]> > > Signed-off-by: Ahmed Zaki <[email protected]> > > --- > > drivers/net/ethernet/intel/ice/ice_parser.c | 196 > > ++++++++++++++++++++ drivers/net/ethernet/intel/ice/ice_parser.h | > > 52 ++++-- > > 2 files changed, 233 insertions(+), 15 deletions(-) > > > > diff --git a/drivers/net/ethernet/intel/ice/ice_parser.c > > b/drivers/net/ethernet/intel/ice/ice_parser.c > > index 19dd7472b5ba..91dbe70d7fe5 100644 > > --- a/drivers/net/ethernet/intel/ice/ice_parser.c > > +++ b/drivers/net/ethernet/intel/ice/ice_parser.c > > @@ -957,6 +957,105 @@ static struct ice_pg_nm_cam_item
Tested-by: Rafal Romanowski <[email protected]>
