net/ice: support flow redirect
authorBeilei Xing <beilei.xing@intel.com>
Mon, 30 Mar 2020 17:38:52 +0000 (01:38 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commitbc9201388d56a733044e974b858238f8924a616c
treef9c252e4cbe9a8b844abd8a859696d22b82d4d56
parenta4e6ea97a5212f5b59cc65a1293ad23e67ade8fc
net/ice: support flow redirect

Add a new ops "redirect" to flow engine, it's used to implement the
function that redirect a flow's destination. Currently only support
VSI-Redirect which will be used by DCF for handling VF-VSI mapping
table change.
A new API "ice_flow_redirect" is exposed, current usage is: it could
be called when there's VF-VSI mapping table change caused by VF reset.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/ice_generic_flow.c
drivers/net/ice/ice_generic_flow.h