net/ice: get VF hardware index in DCF
authorHaiyue Wang <haiyue.wang@intel.com>
Fri, 27 Mar 2020 02:56:41 +0000 (10:56 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commit3b3757bda3c32dc6e5f0c74ad2b21a25bc0b58cb
tree42d32e28a9ee6b6292d077abaeb8c38d9e47e63d
parent0b02c9519432e1d25694d58c023ee03d4e944883
net/ice: get VF hardware index in DCF

The DCF (Device Config Function) needs the hardware index of the VFs to
control the flow setting. And also if the VF resets, the index may be
changed, so it should handle this in VF reset event.

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/Makefile
drivers/net/ice/ice_dcf.c
drivers/net/ice/ice_dcf.h
drivers/net/ice/ice_dcf_parent.c