Lines Matching refs:strings
199 * @strings: Ethtool strings, or %NULL
209 static void ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data,
220 if (strings) {
227 snprintf(strings + test_index * ETH_GSTRING_LEN,
245 * @strings: Ethtool strings, or %NULL
255 u8 *strings, u64 *data)
262 ef4_fill_test(test_index++, strings, data,
266 ef4_fill_test(test_index++, strings, data,
271 ef4_fill_test(test_index++, strings, data,
275 ef4_fill_test(test_index++, strings, data,
287 * @strings: Ethtool strings, or %NULL
290 * Get self-test number of strings, strings, and/or test results.
291 * Return number of strings (== number of test results).
298 u8 *strings, u64 *data)
304 ef4_fill_test(n++, strings, data, &tests->phy_alive,
306 ef4_fill_test(n++, strings, data, &tests->nvram,
308 ef4_fill_test(n++, strings, data, &tests->interrupt,
313 ef4_fill_test(n++, strings, data,
317 ef4_fill_test(n++, strings, data,
323 ef4_fill_test(n++, strings, data, &tests->memory,
325 ef4_fill_test(n++, strings, data, &tests->registers,
339 ef4_fill_test(n++, strings, data, &tests->phy_ext[i],
350 strings, data);
356 static size_t ef4_describe_per_queue_stats(struct ef4_nic *efx, u8 *strings)
364 if (strings != NULL) {
365 snprintf(strings, ETH_GSTRING_LEN,
370 strings += ETH_GSTRING_LEN;
377 if (strings != NULL) {
378 snprintf(strings, ETH_GSTRING_LEN,
380 strings += ETH_GSTRING_LEN;
405 u32 string_set, u8 *strings)
412 strings += (efx->type->describe_stats(efx, strings) *
415 strscpy(strings + i * ETH_GSTRING_LEN,
417 strings += EF4_ETHTOOL_SW_STAT_COUNT * ETH_GSTRING_LEN;
418 strings += (ef4_describe_per_queue_stats(efx, strings) *
422 ef4_ethtool_fill_self_tests(efx, NULL, strings, NULL);