aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2010-11-16 22:26:48 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2010-11-16 22:26:48 -0500
commitd5f398ed73522b9f76861af6553775c5851de0d0 (patch)
tree63bc695c221d15332c4ff9ec69f2a6e66c903563 /drivers/net/ixgbe/ixgbe.h
parent8ad494b0e59950e2b4e587c32cb67a2452795ea0 (diff)
ixgbe: cleanup ixgbe_alloc_rx_buffers
This change re-orders alloc_rx_buffers to make better use of the packet split enabled flag. The new setup should require less branching in the code since now we are down to fewer if statements since we either are handling packet split or aren't. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ixgbe/ixgbe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h
index 93946b683ad8..149cf26b2545 100644
--- a/drivers/net/ixgbe/ixgbe.h
+++ b/drivers/net/ixgbe/ixgbe.h
@@ -472,7 +472,7 @@ extern void ixgbe_unmap_and_free_tx_resource(struct ixgbe_adapter *,
472 struct ixgbe_tx_buffer *); 472 struct ixgbe_tx_buffer *);
473extern void ixgbe_alloc_rx_buffers(struct ixgbe_adapter *adapter, 473extern void ixgbe_alloc_rx_buffers(struct ixgbe_adapter *adapter,
474 struct ixgbe_ring *rx_ring, 474 struct ixgbe_ring *rx_ring,
475 int cleaned_count); 475 u16 cleaned_count);
476extern void ixgbe_write_eitr(struct ixgbe_q_vector *); 476extern void ixgbe_write_eitr(struct ixgbe_q_vector *);
477extern int ethtool_ioctl(struct ifreq *ifr); 477extern int ethtool_ioctl(struct ifreq *ifr);
478extern s32 ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw); 478extern s32 ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw);