Skip to content

Instantly share code, notes, and snippets.

@rzezeski
Created October 10, 2018 03:15
Show Gist options
  • Save rzezeski/f29060d60619e7793c1ba88f4632c528 to your computer and use it in GitHub Desktop.
Save rzezeski/f29060d60619e7793c1ba88f4632c528 to your computer and use it in GitHub Desktop.
i40e stuck
> ::walk mac_impl_cache | ::printf "0x%p %s\n" mac_impl_t . mi_name ! grep i40e
0xfffffeb1808d4288 i40e1
0xfffffeb1808d7848 i40e0
>
> 0xfffffeb1808d7848::print mac_impl_t mi_driver | ::print i40e_t i40e_trqpairs | ::array i40e_trqpair_t 7 | ::printf "%u %u %u %u (%u)\n" i40e_trqpair_t itrq_txstat.itxs_packets.value.ui64 itrq_txstat.itxs_descriptors.value.ui64 itrq_txstat.itxs_recycled.value.ui64 itrq_txstat.itxs_err_nodescs.value.ui64 itrq_desc_free
3411681 3425654 3424637 83264 (7)
2073951 2073961 2073961 0 (1024)
10900034 10911847 10911847 0 (1024)
1082387 1085000 1083983 186 (7)
1948462 1951178 1950161 1519 (7)
2201291 2204202 2203185 591 (7)
11181905 11192905 11192905 0 (1024)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment