]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Force register writes to mitigate sync issues with iwarp VF driver
authorAvinash Dayanand <avinash.dayanand@intel.com>
Wed, 27 Jul 2016 19:02:36 +0000 (12:02 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:31:21 +0000 (19:31 -0500)
commit2ab277a0c3c7ecef1c1a735cbaeeb6543e89cff0
tree6833b9ab893fc7e253c9161a873707d65ed9cc8f
parent9c60eaf9ad29cf6346f31031ce2c9e9b61f31b90
i40e: Force register writes to mitigate sync issues with iwarp VF driver

Orabug: 24568124

This patch is a fix for the bug i.e. unable to create iwarp device
in VF. This is a sync issue and the iwarp device open is called even
before the PCI register writes are done.

Forcing the PCI register writes to happen just before it exits the
function.

Change-ID: I60c6a2c709da89e845f2764cc50ce8b7373c8c44
Signed-off-by: Avinash Dayanand <avinash.dayanand@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 70df973b5eb48b19ba29105ecfecb3e50efe3c6d)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_client.c