Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dselftest.c82 atomic_t rx_good; member
357 atomic_inc(&state->rx_good); in ef4_loopback_rx_packet()
405 atomic_set(&state->rx_good, 0); in ef4_iterate_state()
463 return atomic_read(&state->rx_good) == state->packet_count; in ef4_poll_loopback()
472 int tx_done = 0, rx_good, rx_bad; in ef4_end_loopback() local
489 rx_good = atomic_read(&state->rx_good); in ef4_end_loopback()
505 if (rx_good != state->packet_count) { in ef4_end_loopback()
509 tx_queue->queue, rx_good, state->packet_count, in ef4_end_loopback()
518 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),
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dselftest.c85 atomic_t rx_good; member
355 atomic_inc(&state->rx_good); in efx_loopback_rx_packet()
403 atomic_set(&state->rx_good, 0); in efx_iterate_state()
461 return atomic_read(&state->rx_good) == state->packet_count; in efx_poll_loopback()
470 int tx_done = 0, rx_good, rx_bad; in efx_end_loopback() local
487 rx_good = atomic_read(&state->rx_good); in efx_end_loopback()
503 if (rx_good != state->packet_count) { in efx_end_loopback()
507 tx_queue->label, rx_good, state->packet_count, in efx_end_loopback()
516 lb_tests->rx_good += rx_good; in efx_end_loopback()
Dselftest.h20 int rx_good; member
Dsiena.c514 SIENA_DMA_STAT(rx_good, RX_GOOD_PKTS),
Dethtool_common.c319 &lb_tests->rx_good, in efx_fill_loopback_test()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dtlan.c2069 u32 rx_good, rx_over; in tlan_read_and_clear_stats() local
2081 rx_good = inb(dev->base_addr + TLAN_DIO_DATA); in tlan_read_and_clear_stats()
2082 rx_good += inb(dev->base_addr + TLAN_DIO_DATA + 1) << 8; in tlan_read_and_clear_stats()
2083 rx_good += inb(dev->base_addr + TLAN_DIO_DATA + 2) << 16; in tlan_read_and_clear_stats()
2104 dev->stats.rx_packets += rx_good; in tlan_read_and_clear_stats()