ice: Get VF VSI instances directly via PF
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Wed, 27 Feb 2019 00:35:19 +0000 (16:35 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 22 Mar 2019 15:26:29 +0000 (08:26 -0700)
commitf1ef73f50b3ef097569b9bccb66a7b09955ce049
tree677cfec7060c8b63fe24392814e41e486cd7c3ff
parentd84b899a946ea590355ab5f9ce13f56767ec312d
ice: Get VF VSI instances directly via PF

This patch changes how we get VF VSIs instances. Instead of relying on
mailbox virtual channel message to retrieve VSI, it is more reliable
getting it directly via VF object in PF data structure.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c