Home
last modified time | relevance | path

Searched refs:tx_ntc (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/net/igb/
Digb_ethtool.c1604 int rx_ntc, tx_ntc, count = 0; in igb_clean_test_rings() local
1609 tx_ntc = tx_ring->next_to_clean; in igb_clean_test_rings()
1629 buffer_info = &tx_ring->buffer_info[tx_ntc]; in igb_clean_test_rings()
1636 tx_ntc++; in igb_clean_test_rings()
1637 if (tx_ntc == tx_ring->count) in igb_clean_test_rings()
1638 tx_ntc = 0; in igb_clean_test_rings()
1648 tx_ring->next_to_clean = tx_ntc; in igb_clean_test_rings()
/linux-2.6.39/drivers/net/ixgbe/
Dixgbe_ethtool.c1683 u16 rx_ntc, tx_ntc, count = 0; in ixgbe_clean_test_rings() local
1687 tx_ntc = tx_ring->next_to_clean; in ixgbe_clean_test_rings()
1707 tx_buffer_info = &tx_ring->tx_buffer_info[tx_ntc]; in ixgbe_clean_test_rings()
1714 tx_ntc++; in ixgbe_clean_test_rings()
1715 if (tx_ntc == tx_ring->count) in ixgbe_clean_test_rings()
1716 tx_ntc = 0; in ixgbe_clean_test_rings()
1726 tx_ring->next_to_clean = tx_ntc; in ixgbe_clean_test_rings()