net/ice/base: add API for parser profile initialization
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 17 Sep 2021 14:43:22 +0000 (22:43 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 21 Sep 2021 13:17:58 +0000 (15:17 +0200)
commitd8aaa6d9c26446b8c932b35aa1ef9ac0ee0080e9
tree058545e96a0c8ff6c3ce11448b45cda36e9d00bb
parent6065f4cdc31ba83e41688691b61f025c03edb1c6
net/ice/base: add API for parser profile initialization

Add API ice_parser_profile_init to init a parser profile base on
a parser result and a mask buffer. The ice_parser_profile can feed to
low level FXP engine to create HW profile / field vector directly.

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