net/ice: support ACL filter in DCF
authorSimei Su <simei.su@intel.com>
Tue, 20 Oct 2020 11:32:42 +0000 (19:32 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:24:24 +0000 (23:24 +0100)
commit40d466fa9f765b203058b81ce26ded7593df7c1e
tree4def11e0c0d1a43c9b8b1b27d398f2846c39dc0f
parentbd83b5dc687b787ab73f728da655a440a3808516
net/ice: support ACL filter in DCF

Add ice_acl_create_filter to create a rule and ice_acl_destroy_filter
to destroy a rule. If a flow is matched by ACL filter, filter rule
will be set to HW. Currently IPV4/IPV4_UDP/IPV4_TCP/IPV4_SCTP pattern
and drop action are supported.

Signed-off-by: Simei Su <simei.su@intel.com>
Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
doc/guides/rel_notes/release_20_11.rst
drivers/net/ice/base/ice_flow.c
drivers/net/ice/base/ice_flow.h
drivers/net/ice/ice_acl_filter.c [new file with mode: 0644]
drivers/net/ice/ice_ethdev.h
drivers/net/ice/ice_generic_flow.c
drivers/net/ice/meson.build