diff options
author | Jon Mason <jon.mason@exar.com> | 2010-07-15 04:47:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-15 23:46:22 -0400 |
commit | 98f45da247c5b8023d4f3677d65f21b64692f543 (patch) | |
tree | c42c4fb4a38469888f49f8448d6bad0dbc677ed6 /drivers/net/vxge/vxge-main.h | |
parent | 7adf7d1b0d50075e252aa82505fb473af38c3f20 (diff) |
vxge: NETIF_F_LLTX removal
NETIF_F_LLTX and it's usage of local transmit locks are depricated in
favor of using the netdev queue's transmit lock. Remove the local
lock and all references to it, and use the netdev queue transmit lock
in the transmit completion handler.
Signed-off-by: Jon Mason <jon.mason@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 | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/drivers/net/vxge/vxge-main.h b/drivers/net/vxge/vxge-main.h index a3845822d46e..5982396787fc 100644 --- a/drivers/net/vxge/vxge-main.h +++ b/drivers/net/vxge/vxge-main.h | |||
@@ -217,17 +217,13 @@ struct vxge_fifo_stats { | |||
217 | }; | 217 | }; |
218 | 218 | ||
219 | struct vxge_fifo { | 219 | struct vxge_fifo { |
220 | struct net_device *ndev; | 220 | struct net_device *ndev; |
221 | struct pci_dev *pdev; | 221 | struct pci_dev *pdev; |
222 | struct __vxge_hw_fifo *handle; | 222 | struct __vxge_hw_fifo *handle; |
223 | struct netdev_queue *txq; | ||
223 | 224 | ||
224 | /* The vpath id maintained in the driver - | ||
225 | * 0 to 'maximum_vpaths_in_function - 1' | ||
226 | */ | ||
227 | int driver_id; | ||
228 | int tx_steering_type; | 225 | int tx_steering_type; |
229 | int indicate_max_pkts; | 226 | int indicate_max_pkts; |
230 | spinlock_t tx_lock; | ||
231 | 227 | ||
232 | /* Tx stats */ | 228 | /* Tx stats */ |
233 | struct vxge_fifo_stats stats; | 229 | struct vxge_fifo_stats stats; |
@@ -275,7 +271,6 @@ struct vxge_ring { | |||
275 | } ____cacheline_aligned; | 271 | } ____cacheline_aligned; |
276 | 272 | ||
277 | struct vxge_vpath { | 273 | struct vxge_vpath { |
278 | |||
279 | struct vxge_fifo fifo; | 274 | struct vxge_fifo fifo; |
280 | struct vxge_ring ring; | 275 | struct vxge_ring ring; |
281 | 276 | ||
@@ -443,10 +438,6 @@ int vxge_open_vpaths(struct vxgedev *vdev); | |||
443 | 438 | ||
444 | enum vxge_hw_status vxge_reset_all_vpaths(struct vxgedev *vdev); | 439 | enum vxge_hw_status vxge_reset_all_vpaths(struct vxgedev *vdev); |
445 | 440 | ||
446 | void vxge_stop_tx_queue(struct vxge_fifo *fifo); | ||
447 | |||
448 | void vxge_wake_tx_queue(struct vxge_fifo *fifo); | ||
449 | |||
450 | enum vxge_hw_status vxge_add_mac_addr(struct vxgedev *vdev, | 441 | enum vxge_hw_status vxge_add_mac_addr(struct vxgedev *vdev, |
451 | struct macInfo *mac); | 442 | struct macInfo *mac); |
452 | 443 | ||