diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2010-08-19 09:40:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-19 19:45:28 -0400 |
commit | 84418e3b10b5ba43eb5b85f725e75fd9c9730670 (patch) | |
tree | 49c34a87c4c98ae21818141ebfbf12cf9744a4e4 /drivers/net/ixgbe/ixgbe.h | |
parent | 31f05a2d875327ef133ac4b62261c4b875d1d10c (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.h | 11 |
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 *) | |||
453 | extern int ixgbe_setup_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); | 453 | extern int ixgbe_setup_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); |
454 | extern void ixgbe_free_rx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); | 454 | extern void ixgbe_free_rx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); |
455 | extern void ixgbe_free_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); | 455 | extern void ixgbe_free_tx_resources(struct ixgbe_adapter *, struct ixgbe_ring *); |
456 | extern void ixgbe_configure_rx_ring(struct ixgbe_adapter *,struct ixgbe_ring *); | ||
457 | extern void ixgbe_configure_tx_ring(struct ixgbe_adapter *,struct ixgbe_ring *); | ||
456 | extern void ixgbe_update_stats(struct ixgbe_adapter *adapter); | 458 | extern void ixgbe_update_stats(struct ixgbe_adapter *adapter); |
457 | extern int ixgbe_init_interrupt_scheme(struct ixgbe_adapter *adapter); | 459 | extern int ixgbe_init_interrupt_scheme(struct ixgbe_adapter *adapter); |
458 | extern void ixgbe_clear_interrupt_scheme(struct ixgbe_adapter *adapter); | 460 | extern void ixgbe_clear_interrupt_scheme(struct ixgbe_adapter *adapter); |
461 | extern netdev_tx_t ixgbe_xmit_frame_ring(struct sk_buff *, | ||
462 | struct net_device *, | ||
463 | struct ixgbe_adapter *, | ||
464 | struct ixgbe_ring *); | ||
465 | extern void ixgbe_unmap_and_free_tx_resource(struct ixgbe_adapter *, | ||
466 | struct ixgbe_tx_buffer *); | ||
467 | extern void ixgbe_alloc_rx_buffers(struct ixgbe_adapter *adapter, | ||
468 | struct ixgbe_ring *rx_ring, | ||
469 | int cleaned_count); | ||
459 | extern void ixgbe_write_eitr(struct ixgbe_q_vector *); | 470 | extern void ixgbe_write_eitr(struct ixgbe_q_vector *); |
460 | extern int ethtool_ioctl(struct ifreq *ifr); | 471 | extern int ethtool_ioctl(struct ifreq *ifr); |
461 | extern s32 ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw); | 472 | extern s32 ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw); |