diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2011-08-26 03:43:59 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-09-20 02:58:56 -0400 |
commit | cd392f5ca976b5ad166acc368c239cce2f0df58a (patch) | |
tree | 47c81968362c18ded8b8bb5988b7f7cea49c46c6 /drivers/net/ethernet/intel/igb/igb.h | |
parent | 16eb8815c2355b50bff218513367778e6303e9f9 (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.h | 4 |
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 *); | |||
374 | extern void igb_configure_rx_ring(struct igb_adapter *, struct igb_ring *); | 374 | extern void igb_configure_rx_ring(struct igb_adapter *, struct igb_ring *); |
375 | extern void igb_setup_tctl(struct igb_adapter *); | 375 | extern void igb_setup_tctl(struct igb_adapter *); |
376 | extern void igb_setup_rctl(struct igb_adapter *); | 376 | extern void igb_setup_rctl(struct igb_adapter *); |
377 | extern netdev_tx_t igb_xmit_frame_ring_adv(struct sk_buff *, struct igb_ring *); | 377 | extern netdev_tx_t igb_xmit_frame_ring(struct sk_buff *, struct igb_ring *); |
378 | extern void igb_unmap_and_free_tx_resource(struct igb_ring *, | 378 | extern void igb_unmap_and_free_tx_resource(struct igb_ring *, |
379 | struct igb_buffer *); | 379 | struct igb_buffer *); |
380 | extern void igb_alloc_rx_buffers_adv(struct igb_ring *, u16); | 380 | extern void igb_alloc_rx_buffers(struct igb_ring *, u16); |
381 | extern void igb_update_stats(struct igb_adapter *, struct rtnl_link_stats64 *); | 381 | extern void igb_update_stats(struct igb_adapter *, struct rtnl_link_stats64 *); |
382 | extern bool igb_has_link(struct igb_adapter *adapter); | 382 | extern bool igb_has_link(struct igb_adapter *adapter); |
383 | extern void igb_set_ethtool_ops(struct net_device *); | 383 | extern void igb_set_ethtool_ops(struct net_device *); |