commit | 9b55bb038468a7b504ccdc1d956952598ae1b85b | [log] [tgz] |
---|---|---|
author | Yi Zou <yi.zou@intel.com> | Tue Nov 16 19:27:14 2010 -0800 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Tue Nov 16 19:27:14 2010 -0800 |
tree | 7fbff617fa4868012f0d1240a90e7e06c4d5158d | |
parent | 8ca371e484e2e5ceb9b90fdb83d8d251017d852b [diff] |
ixgbe: make sure FCoE DDP user buffers are really released by the HW When invalidating the DDP context is invalidated, the HW may not be done with the user buffer right away. In which case, we poll the FCBUFF register to check if the buffer valid bit is cleared or not, if not, we wait for max 100us that is guaranteed by the HW. Signed-off-by: Yi Zou <yi.zou@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>