Lines Matching full:strings

247  * @strings:		Ethtool strings, or %NULL
257 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument
268 if (strings) { in efx_fill_test()
275 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test()
292 * @strings: Ethtool strings, or %NULL
302 u8 *strings, u64 *data) in efx_fill_loopback_test() argument
309 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
313 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
318 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
322 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
334 * @strings: Ethtool strings, or %NULL
337 * Get self-test number of strings, strings, and/or test results.
338 * Return number of strings (== number of test results).
345 u8 *strings, u64 *data) in efx_ethtool_fill_self_tests() argument
351 efx_fill_test(n++, strings, data, &tests->phy_alive, in efx_ethtool_fill_self_tests()
353 efx_fill_test(n++, strings, data, &tests->nvram, in efx_ethtool_fill_self_tests()
355 efx_fill_test(n++, strings, data, &tests->interrupt, in efx_ethtool_fill_self_tests()
360 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests()
364 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests()
370 efx_fill_test(n++, strings, data, &tests->memory, in efx_ethtool_fill_self_tests()
372 efx_fill_test(n++, strings, data, &tests->registers, in efx_ethtool_fill_self_tests()
383 efx_fill_test(n++, strings, data, &tests->phy_ext[i], "phy", 0, name, NULL); in efx_ethtool_fill_self_tests()
392 strings, data); in efx_ethtool_fill_self_tests()
398 static size_t efx_describe_per_queue_stats(struct efx_nic *efx, u8 **strings) in efx_describe_per_queue_stats() argument
406 if (!strings) in efx_describe_per_queue_stats()
409 ethtool_sprintf(strings, "tx-%u.tx_packets", in efx_describe_per_queue_stats()
417 if (!strings) in efx_describe_per_queue_stats()
420 ethtool_sprintf(strings, "rx-%d.rx_packets", in efx_describe_per_queue_stats()
429 if (!strings) in efx_describe_per_queue_stats()
432 ethtool_sprintf(strings, "tx-xdp-cpu-%hu.tx_packets", in efx_describe_per_queue_stats()
458 u32 string_set, u8 *strings) in efx_ethtool_get_strings() argument
465 efx->type->describe_stats(efx, &strings); in efx_ethtool_get_strings()
467 ethtool_puts(&strings, efx_sw_stat_desc[i].name); in efx_ethtool_get_strings()
468 efx_describe_per_queue_stats(efx, &strings); in efx_ethtool_get_strings()
469 efx_ptp_describe_stats(efx, &strings); in efx_ethtool_get_strings()
472 efx_ethtool_fill_self_tests(efx, NULL, strings, NULL); in efx_ethtool_get_strings()