net/ice: add flow director create and destroy
authorYahui Cao <yahui.cao@intel.com>
Fri, 18 Oct 2019 11:15:56 +0000 (19:15 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:10 +0000 (16:43 +0200)
commitf5cafa961fae4163a3ccda3bcd63207abdaaa307
tree9212fc2f9873d613b9c36eb699cc4f67480cc7a1
parent109e8e06249e81919edfbca268669c45b37ba4cd
net/ice: add flow director create and destroy

Add ice_create_fdir_filter to create a rule. If a flow is matched by
flow director filter, filter rule will be set to HW. For now common
pattern and queue/passthru/drop/mark actions are supported.

Signed-off-by: Yahui Cao <yahui.cao@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
doc/guides/rel_notes/release_19_11.rst
drivers/net/ice/ice_ethdev.h
drivers/net/ice/ice_fdir_filter.c