aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-10-27 11:54:43 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-28 04:20:40 -0400
commitb1a436c34c44c6e3fb03c12545d87b4c2818f31d (patch)
tree1ce6ae206757ad9e0bf30390bd7f4e8453b93d31 /drivers/net/igb/igb.h
parentd7ee5b3a78f57a8ca9ca2392ff5d03f91ec90bdb (diff)
igb: make tx ring map and free functionality non-static
This change makes a minor change to the xmit_frame_ring_adv funcition in that it moves 2 checks from it into the xmit_frame_adv since the checks were not ring specific. In addition it exports the xmit_frame_ring_adv and the unmap_and_free_tx_resource calls so that they can be used by other code such as the ethtool loopback testing calls. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r--drivers/net/igb/igb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index 8b189a0c52ef..6c35c9029a50 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -349,6 +349,9 @@ extern void igb_configure_tx_ring(struct igb_adapter *, struct igb_ring *);
349extern void igb_configure_rx_ring(struct igb_adapter *, struct igb_ring *); 349extern void igb_configure_rx_ring(struct igb_adapter *, struct igb_ring *);
350extern void igb_setup_tctl(struct igb_adapter *); 350extern void igb_setup_tctl(struct igb_adapter *);
351extern void igb_setup_rctl(struct igb_adapter *); 351extern void igb_setup_rctl(struct igb_adapter *);
352extern netdev_tx_t igb_xmit_frame_ring_adv(struct sk_buff *, struct igb_ring *);
353extern void igb_unmap_and_free_tx_resource(struct igb_ring *,
354 struct igb_buffer *);
352extern void igb_alloc_rx_buffers_adv(struct igb_ring *, int); 355extern void igb_alloc_rx_buffers_adv(struct igb_ring *, int);
353extern void igb_update_stats(struct igb_adapter *); 356extern void igb_update_stats(struct igb_adapter *);
354extern void igb_set_ethtool_ops(struct net_device *); 357extern void igb_set_ethtool_ops(struct net_device *);