net/ice/base: init ptype marker TCAM table for parser
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 17 Sep 2021 14:43:08 +0000 (22:43 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 21 Sep 2021 13:17:57 +0000 (15:17 +0200)
commit111871087cdf93a05a40754f9fa621b9715156f1
treea654cee705da1cd8ab1838560215f65d35b33b2c
parent1792942b2df6fdf4c1418234ba57738a140133bc
net/ice/base: init ptype marker TCAM table for parser

Parse DDP section ICE_SID_RXPARSER_MARKER_PTYPE into an array of
ice_ptype_mk_tcam_item.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Junfeng Guo <junfeng.guo@intel.com>
drivers/net/ice/base/ice_parser.c
drivers/net/ice/base/ice_parser.h
drivers/net/ice/base/ice_ptype_mk.c [new file with mode: 0644]
drivers/net/ice/base/ice_ptype_mk.h [new file with mode: 0644]
drivers/net/ice/base/meson.build