igbvf: Allow VF driver to correctly recognize failure to set mac
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 4 Aug 2009 18:46:41 +0000 (11:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2009 18:46:41 +0000 (11:46 -0700)
commite0cff5ed27acd355264b210d9622da801a431e19
tree8d561bfd48d06d721abc0d4f56c79f1c730b3e43
parent0cb13536c3382004bd9b833565e2af33f26ed1fb
igbvf: Allow VF driver to correctly recognize failure to set mac

The VF driver was not correctly recognizing that it did not correctly set
it's mac address.  As a result the VF driver was unable to receive network
traffic until being unloaded and reloaded.  The issue was root caused to
the fact that the CTS bit was not taken into account when checking for the
request being NAKed.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igbvf/vf.c