diff options
author | Jon Mason <jon.mason@exar.com> | 2010-07-15 04:47:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-15 23:46:21 -0400 |
commit | d03848e057cb33ab4261264903b5ebee0738a8dc (patch) | |
tree | 5fc9f3516c3e037a0000ae9c8253d5442c48573e /drivers/net/vxge/vxge-main.h | |
parent | bb7a0bd600ac2e09a8747ef89e692a2967ed8c97 (diff) |
vxge: Remove queue_state references
Remove queue_state references, as they are no longer necessary.
Also, The driver needs to start/stop the queue regardless of which type
of steering is enabled. Remove checks for TX_MULTIQ_STEERING only and
start/stop for all steering types.
Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@exar.com>
Signed-off-by: Ramkrishna Vepa <ramkrishna.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge/vxge-main.h')
-rw-r--r-- | drivers/net/vxge/vxge-main.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/net/vxge/vxge-main.h b/drivers/net/vxge/vxge-main.h index 60276b20fa5e..a3845822d46e 100644 --- a/drivers/net/vxge/vxge-main.h +++ b/drivers/net/vxge/vxge-main.h | |||
@@ -228,10 +228,6 @@ struct vxge_fifo { | |||
228 | int tx_steering_type; | 228 | int tx_steering_type; |
229 | int indicate_max_pkts; | 229 | int indicate_max_pkts; |
230 | spinlock_t tx_lock; | 230 | spinlock_t tx_lock; |
231 | /* flag used to maintain queue state when MULTIQ is not enabled */ | ||
232 | #define VPATH_QUEUE_START 0 | ||
233 | #define VPATH_QUEUE_STOP 1 | ||
234 | int queue_state; | ||
235 | 231 | ||
236 | /* Tx stats */ | 232 | /* Tx stats */ |
237 | struct vxge_fifo_stats stats; | 233 | struct vxge_fifo_stats stats; |
@@ -447,13 +443,9 @@ int vxge_open_vpaths(struct vxgedev *vdev); | |||
447 | 443 | ||
448 | enum vxge_hw_status vxge_reset_all_vpaths(struct vxgedev *vdev); | 444 | enum vxge_hw_status vxge_reset_all_vpaths(struct vxgedev *vdev); |
449 | 445 | ||
450 | void vxge_stop_all_tx_queue(struct vxgedev *vdev); | ||
451 | |||
452 | void vxge_stop_tx_queue(struct vxge_fifo *fifo); | 446 | void vxge_stop_tx_queue(struct vxge_fifo *fifo); |
453 | 447 | ||
454 | void vxge_start_all_tx_queue(struct vxgedev *vdev); | 448 | void vxge_wake_tx_queue(struct vxge_fifo *fifo); |
455 | |||
456 | void vxge_wake_tx_queue(struct vxge_fifo *fifo, struct sk_buff *skb); | ||
457 | 449 | ||
458 | enum vxge_hw_status vxge_add_mac_addr(struct vxgedev *vdev, | 450 | enum vxge_hw_status vxge_add_mac_addr(struct vxgedev *vdev, |
459 | struct macInfo *mac); | 451 | struct macInfo *mac); |