aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/igb.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2011-08-26 03:43:59 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-09-20 02:58:56 -0400
commitcd392f5ca976b5ad166acc368c239cce2f0df58a (patch)
tree47c81968362c18ded8b8bb5988b7f7cea49c46c6 /drivers/net/ethernet/intel/igb/igb.h
parent16eb8815c2355b50bff218513367778e6303e9f9 (diff)
igb: drop the "adv" off function names relating to descriptors
Many of the function names in the hot path are carrying an extra "_adv" suffix on the end of them to represent the fact that they are using advanced descriptors instead of legacy descriptors. However since all igb uses are advanced descriptors adding the extra suffix doesn't really add any additional data. Since this is the case it is easiest to just drop the suffix and save us from having to store the extra characters. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb.h')
-rw-r--r--drivers/net/ethernet/intel/igb/igb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb.h b/drivers/net/ethernet/intel/igb/igb.h
index 7036fd5aa34c..b1ca8ea385eb 100644
--- a/drivers/net/ethernet/intel/igb/igb.h
+++ b/drivers/net/ethernet/intel/igb/igb.h
@@ -374,10 +374,10 @@ extern void igb_configure_tx_ring(struct igb_adapter *, struct igb_ring *);
374extern void igb_configure_rx_ring(struct igb_adapter *, struct igb_ring *); 374extern void igb_configure_rx_ring(struct igb_adapter *, struct igb_ring *);
375extern void igb_setup_tctl(struct igb_adapter *); 375extern void igb_setup_tctl(struct igb_adapter *);
376extern void igb_setup_rctl(struct igb_adapter *); 376extern void igb_setup_rctl(struct igb_adapter *);
377extern netdev_tx_t igb_xmit_frame_ring_adv(struct sk_buff *, struct igb_ring *); 377extern netdev_tx_t igb_xmit_frame_ring(struct sk_buff *, struct igb_ring *);
378extern void igb_unmap_and_free_tx_resource(struct igb_ring *, 378extern void igb_unmap_and_free_tx_resource(struct igb_ring *,
379 struct igb_buffer *); 379 struct igb_buffer *);
380extern void igb_alloc_rx_buffers_adv(struct igb_ring *, u16); 380extern void igb_alloc_rx_buffers(struct igb_ring *, u16);
381extern void igb_update_stats(struct igb_adapter *, struct rtnl_link_stats64 *); 381extern void igb_update_stats(struct igb_adapter *, struct rtnl_link_stats64 *);
382extern bool igb_has_link(struct igb_adapter *adapter); 382extern bool igb_has_link(struct igb_adapter *adapter);
383extern void igb_set_ethtool_ops(struct net_device *); 383extern void igb_set_ethtool_ops(struct net_device *);