net/ice/base: add helper for ptype markers match
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 17 Sep 2021 14:43:16 +0000 (22:43 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 21 Sep 2021 13:17:58 +0000 (15:17 +0200)
commit510965b4dc64a91b839d07138f598f853e5a9aac
tree7fc5c46aa0b82a1ca9286cefd23098e7725021a8
parentd490f1ff419f68e24c29875270d07eba06dcaf41
net/ice/base: add helper for ptype markers match

Add internal helper function ice_ptype_mk_tcam_match for ptype markers
matching in tcam table.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Junfeng Guo <junfeng.guo@intel.com>
drivers/net/ice/base/ice_ptype_mk.c
drivers/net/ice/base/ice_ptype_mk.h