From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bowers, AndrewX Date: Thu, 7 Nov 2019 18:37:56 +0000 Subject: [Intel-wired-lan] [PATCH S32 v3 07/15] ice: Check if VF is disabled for Opcode and other operations In-Reply-To: <20191106100541.48639-7-anthony.l.nguyen@intel.com> References: <20191106100541.48639-1-anthony.l.nguyen@intel.com> <20191106100541.48639-7-anthony.l.nguyen@intel.com> Message-ID: <6148192f979446ad8733c5ba0dd92025@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: > -----Original Message----- > From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On > Behalf Of Tony Nguyen > Sent: Wednesday, November 6, 2019 2:06 AM > To: intel-wired-lan at lists.osuosl.org > Subject: [Intel-wired-lan] [PATCH S32 v3 07/15] ice: Check if VF is disabled for > Opcode and other operations > > From: Akeem G Abodunrin > > This patch adds code to check if PF or VF is disabled before honoring mailbox > message to configure VF - If it is disabled, and opcode is for resetting VF, the > PF driver simply tell VF that all is set. In addition, if reset is ongoing, and > Admin intend to configure VF on the host, we can poll the VF enabling bit to > make sure it is ready before continue - If after ~250 milliseconds, VF is not in > active state, we can bail out with invalid error. > > Signed-off-by: Akeem G Abodunrin > --- > .../net/ethernet/intel/ice/ice_virtchnl_pf.c | 74 ++++++++++++++++--- > .../net/ethernet/intel/ice/ice_virtchnl_pf.h | 1 + > 2 files changed, 63 insertions(+), 12 deletions(-) Tested-by: Andrew Bowers