Home
last modified time | relevance | path

Searched refs:rx_good (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/sfc/
Dselftest.c89 atomic_t rx_good; member
360 atomic_inc(&state->rx_good); in efx_loopback_rx_packet()
410 atomic_set(&state->rx_good, 0); in efx_iterate_state()
472 return atomic_read(&state->rx_good) == state->packet_count; in efx_poll_loopback()
481 int tx_done = 0, rx_good, rx_bad; in efx_end_loopback() local
498 rx_good = atomic_read(&state->rx_good); in efx_end_loopback()
514 if (rx_good != state->packet_count) { in efx_end_loopback()
518 tx_queue->label, rx_good, state->packet_count, in efx_end_loopback()
527 lb_tests->rx_good += rx_good; in efx_end_loopback()
Dselftest.h20 int rx_good; member
Dethtool_common.c320 &lb_tests->rx_good, in efx_fill_loopback_test()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dselftest.c90 atomic_t rx_good; member
361 atomic_inc(&state->rx_good); in efx_siena_loopback_rx_packet()
411 atomic_set(&state->rx_good, 0); in efx_iterate_state()
473 return atomic_read(&state->rx_good) == state->packet_count; in efx_poll_loopback()
482 int tx_done = 0, rx_good, rx_bad; in efx_end_loopback() local
499 rx_good = atomic_read(&state->rx_good); in efx_end_loopback()
515 if (rx_good != state->packet_count) { in efx_end_loopback()
519 tx_queue->label, rx_good, state->packet_count, in efx_end_loopback()
528 lb_tests->rx_good += rx_good; in efx_end_loopback()
Dselftest.h20 int rx_good; member
Dsiena.c517 SIENA_DMA_STAT(rx_good, RX_GOOD_PKTS),
Dethtool_common.c271 &lb_tests->rx_good, in efx_fill_loopback_test()
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/
Dselftest.c87 atomic_t rx_good; member
363 atomic_inc(&state->rx_good); in ef4_loopback_rx_packet()
413 atomic_set(&state->rx_good, 0); in ef4_iterate_state()
475 return atomic_read(&state->rx_good) == state->packet_count; in ef4_poll_loopback()
484 int tx_done = 0, rx_good, rx_bad; in ef4_end_loopback() local
501 rx_good = atomic_read(&state->rx_good); in ef4_end_loopback()
517 if (rx_good != state->packet_count) { in ef4_end_loopback()
521 tx_queue->queue, rx_good, state->packet_count, in ef4_end_loopback()
530 lb_tests->rx_good += rx_good; in ef4_end_loopback()
Dselftest.h20 int rx_good; member
Dethtool.c272 &lb_tests->rx_good, in ef4_fill_loopback_test()
Dfalcon.c171 FALCON_DMA_STAT(rx_good, XgRxPktsOK),
/linux-6.6.21/drivers/net/ethernet/ti/
Dtlan.c2071 u32 rx_good, rx_over; in tlan_read_and_clear_stats() local
2083 rx_good = inb(dev->base_addr + TLAN_DIO_DATA); in tlan_read_and_clear_stats()
2084 rx_good += inb(dev->base_addr + TLAN_DIO_DATA + 1) << 8; in tlan_read_and_clear_stats()
2085 rx_good += inb(dev->base_addr + TLAN_DIO_DATA + 2) << 16; in tlan_read_and_clear_stats()
2106 dev->stats.rx_packets += rx_good; in tlan_read_and_clear_stats()