net/ice/base: add helper functions for flow management
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 25 Mar 2019 05:44:29 +0000 (13:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Mar 2019 16:25:31 +0000 (17:25 +0100)
commite1494d05b214a8915942633efe69a8db9f314636
tree028e7175eb3ff65d60cd5aba9d20c0cd8d351b0b
parent02acdce2f5533b51c80e2628e5517d6ef7dbf48b
net/ice/base: add helper functions for flow management

1. ice_rem_all_sw_rules_info - remove all switch rules.
2. ice_reply_all_fltr - replay all filters stored in book keeping list.

These APIs will be used when switch rule feature is enabled.

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Reviewed-by: Qiming Yang <qiming.yang@intel.com>
Reviewed-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ice/base/ice_switch.c
drivers/net/ice/base/ice_switch.h