aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2010-08-19 09:40:54 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-19 19:45:28 -0400
commit84418e3b10b5ba43eb5b85f725e75fd9c9730670 (patch)
tree49c34a87c4c98ae21818141ebfbf12cf9744a4e4 /drivers/net/ixgbe/ixgbe.h
parent31f05a2d875327ef133ac4b62261c4b875d1d10c (diff)
ixgbe: rewrite ethtool test to use standard config functions
This change makes it so that the ethtool loopback test uses the standard ring configuration and allocation functions. As a result the loopback test will be much more effective at testing core driver functionality. 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/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ixgbe/ixgbe.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h
index ac4b90edb58e..5cebc3755b64 100644
--- a/drivers/net/ixgbe/ixgbe.h
+++ b/drivers/net/ixgbe/ixgbe.h
@@ -453,9 +453,20 @@ extern int ixgbe_setup_rx_resources(struct ixgbe_adapter *, struct ixgbe_ring *)
453extern int ixgbe_setup_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); 453extern int ixgbe_setup_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *);
454extern void ixgbe_free_rx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); 454extern void ixgbe_free_rx_resources(struct ixgbe_adapter *, struct ixgbe_ring *);
455extern void ixgbe_free_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); 455extern void ixgbe_free_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *);
456extern void ixgbe_configure_rx_ring(struct ixgbe_adapter *,struct ixgbe_ring *);
457extern void ixgbe_configure_tx_ring(struct ixgbe_adapter *,struct ixgbe_ring *);
456extern void ixgbe_update_stats(struct ixgbe_adapter *adapter); 458extern void ixgbe_update_stats(struct ixgbe_adapter *adapter);
457extern int ixgbe_init_interrupt_scheme(struct ixgbe_adapter *adapter); 459extern int ixgbe_init_interrupt_scheme(struct ixgbe_adapter *adapter);
458extern void ixgbe_clear_interrupt_scheme(struct ixgbe_adapter *adapter); 460extern void ixgbe_clear_interrupt_scheme(struct ixgbe_adapter *adapter);
461extern netdev_tx_t ixgbe_xmit_frame_ring(struct sk_buff *,
462 struct net_device *,
463 struct ixgbe_adapter *,
464 struct ixgbe_ring *);
465extern void ixgbe_unmap_and_free_tx_resource(struct ixgbe_adapter *,
466 struct ixgbe_tx_buffer *);
467extern void ixgbe_alloc_rx_buffers(struct ixgbe_adapter *adapter,
468 struct ixgbe_ring *rx_ring,
469 int cleaned_count);
459extern void ixgbe_write_eitr(struct ixgbe_q_vector *); 470extern void ixgbe_write_eitr(struct ixgbe_q_vector *);
460extern int ethtool_ioctl(struct ifreq *ifr); 471extern int ethtool_ioctl(struct ifreq *ifr);
461extern s32 ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw); 472extern s32 ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw);