diff options
author | Vasanthy Kolluri <vkolluri@cisco.com> | 2010-06-24 06:50:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-25 23:46:01 -0400 |
commit | 99ef563901a18d44a6c2eadd2b958e2e83aeca51 (patch) | |
tree | 29bbf0fe2457effbaa62281eca6aff2191cc9f75 /drivers/net/enic/vnic_dev.h | |
parent | f8cac14acff870203ea7f61f1a92c5486d1774fa (diff) |
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>
Diffstat (limited to 'drivers/net/enic/vnic_dev.h')
-rw-r--r-- | drivers/net/enic/vnic_dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/enic/vnic_dev.h b/drivers/net/enic/vnic_dev.h index 780c3cd73292..4980615fcee2 100644 --- a/drivers/net/enic/vnic_dev.h +++ b/drivers/net/enic/vnic_dev.h | |||
@@ -129,6 +129,8 @@ int vnic_dev_init_prov(struct vnic_dev *vdev, u8 *buf, u32 len); | |||
129 | int vnic_dev_deinit(struct vnic_dev *vdev); | 129 | int vnic_dev_deinit(struct vnic_dev *vdev); |
130 | int vnic_dev_soft_reset(struct vnic_dev *vdev, int arg); | 130 | int vnic_dev_soft_reset(struct vnic_dev *vdev, int arg); |
131 | int vnic_dev_soft_reset_done(struct vnic_dev *vdev, int *done); | 131 | int vnic_dev_soft_reset_done(struct vnic_dev *vdev, int *done); |
132 | int vnic_dev_hang_reset(struct vnic_dev *vdev, int arg); | ||
133 | int vnic_dev_hang_reset_done(struct vnic_dev *vdev, int *done); | ||
132 | void vnic_dev_set_intr_mode(struct vnic_dev *vdev, | 134 | void vnic_dev_set_intr_mode(struct vnic_dev *vdev, |
133 | enum vnic_dev_intr_mode intr_mode); | 135 | enum vnic_dev_intr_mode intr_mode); |
134 | enum vnic_dev_intr_mode vnic_dev_get_intr_mode(struct vnic_dev *vdev); | 136 | enum vnic_dev_intr_mode vnic_dev_get_intr_mode(struct vnic_dev *vdev); |