]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ixgbe: invalidate FCoE DDP context when no error status is available
authorYi Zou <yi.zou@intel.com>
Wed, 17 Nov 2010 03:27:13 +0000 (19:27 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Nov 2010 03:27:13 +0000 (19:27 -0800)
commit8ca371e484e2e5ceb9b90fdb83d8d251017d852b
tree468eac97e02fe6851da7bfc1d4437758bc8a7c8f
parenta41c059741570779c0254a3a1aa4da3baa463d7c
ixgbe: invalidate FCoE DDP context when no error status is available

The hw automatically invalidates the context if DDP is successful or there is
error detected. In case there is no error status available from the hw,
initializing the per context error status to be 1 allows the DDP context to be
still invalidated via the upper layer call to ddp_put().

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>
drivers/net/ixgbe/ixgbe_fcoe.c