]> bbs.cooldavid.org Git - net-next-2.6.git/commit
enic: Use a lighter reset operation for enic devices
authorVasanthy Kolluri <vkolluri@cisco.com>
Thu, 24 Jun 2010 10:50:00 +0000 (10:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jun 2010 03:46:01 +0000 (20:46 -0700)
commit99ef563901a18d44a6c2eadd2b958e2e83aeca51
tree29bbf0fe2457effbaa62281eca6aff2191cc9f75
parentf8cac14acff870203ea7f61f1a92c5486d1774fa
enic: Use a lighter reset operation for enic devices

The port profile information for a dynamic enic device is set by the upper
layers, that are oblivious to the device reset operation. We do not want a
reset operation erase the network state of a dynamic enic device as there
is no way to set up the port profile information again. Hence a lighter
reset operation called hang reset is used. Hang reset, unlike soft reset
does not reset the network state and resets the host side state only.

Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic_main.c
drivers/net/enic/vnic_dev.c
drivers/net/enic/vnic_dev.h
drivers/net/enic/vnic_devcmd.h