Lines Matching refs:channel
60 EFX_ETHTOOL_STAT(field, channel, n_##field, \
239 #define EFX_CHANNEL_NAME(_channel) "chan%d", _channel->channel
263 struct efx_channel *channel = in efx_fill_loopback_test() local
267 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_fill_loopback_test()
306 struct efx_channel *channel; in efx_ethtool_fill_self_tests() local
318 efx_for_each_channel(channel, efx) { in efx_ethtool_fill_self_tests()
320 &tests->eventq_dma[channel->channel], in efx_ethtool_fill_self_tests()
321 EFX_CHANNEL_NAME(channel), in efx_ethtool_fill_self_tests()
324 &tests->eventq_int[channel->channel], in efx_ethtool_fill_self_tests()
325 EFX_CHANNEL_NAME(channel), in efx_ethtool_fill_self_tests()
365 struct efx_channel *channel; in efx_describe_per_queue_stats() local
367 efx_for_each_channel(channel, efx) { in efx_describe_per_queue_stats()
368 if (efx_channel_has_tx_queues(channel)) { in efx_describe_per_queue_stats()
373 channel->tx_queue[0].queue / in efx_describe_per_queue_stats()
380 efx_for_each_channel(channel, efx) { in efx_describe_per_queue_stats()
381 if (efx_channel_has_rx_queue(channel)) { in efx_describe_per_queue_stats()
385 "rx-%d.rx_packets", channel->channel); in efx_describe_per_queue_stats()
444 struct efx_channel *channel; in efx_ethtool_get_stats() local
463 efx_for_each_channel(channel, efx) in efx_ethtool_get_stats()
464 data[i] += stat->get_stat((void *)channel + in efx_ethtool_get_stats()
469 efx_for_each_channel(channel, efx) { in efx_ethtool_get_stats()
470 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_ethtool_get_stats()
482 efx_for_each_channel(channel, efx) { in efx_ethtool_get_stats()
483 if (efx_channel_has_tx_queues(channel)) { in efx_ethtool_get_stats()
485 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_ethtool_get_stats()
491 efx_for_each_channel(channel, efx) { in efx_ethtool_get_stats()
492 if (efx_channel_has_rx_queue(channel)) { in efx_ethtool_get_stats()
494 efx_for_each_channel_rx_queue(rx_queue, channel) { in efx_ethtool_get_stats()
611 struct efx_channel *channel; in efx_ethtool_set_coalesce() local
643 efx_for_each_channel(channel, efx) in efx_ethtool_set_coalesce()
644 efx->type->push_irq_moderation(channel); in efx_ethtool_set_coalesce()