aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxge/vxge-main.h
diff options
context:
space:
mode:
authorJon Mason <jon.mason@exar.com>2010-07-15 04:47:25 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-15 23:46:22 -0400
commit98f45da247c5b8023d4f3677d65f21b64692f543 (patch)
treec42c4fb4a38469888f49f8448d6bad0dbc677ed6 /drivers/net/vxge/vxge-main.h
parent7adf7d1b0d50075e252aa82505fb473af38c3f20 (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.h15
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
219struct vxge_fifo { 219struct 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
277struct vxge_vpath { 273struct 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
444enum vxge_hw_status vxge_reset_all_vpaths(struct vxgedev *vdev); 439enum vxge_hw_status vxge_reset_all_vpaths(struct vxgedev *vdev);
445 440
446void vxge_stop_tx_queue(struct vxge_fifo *fifo);
447
448void vxge_wake_tx_queue(struct vxge_fifo *fifo);
449
450enum vxge_hw_status vxge_add_mac_addr(struct vxgedev *vdev, 441enum vxge_hw_status vxge_add_mac_addr(struct vxgedev *vdev,
451 struct macInfo *mac); 442 struct macInfo *mac);
452 443