Closed dankamongmen closed 1 year ago
given a netstack_iface, i ought be able to get the queue counts for it. most cards report at least rx and tx. i've also seen combined and xdp. use a struct for the return value so that we can expand it in the future in a safe way.
netstack_iface
added, looks like it works (for RX and TX anyway; we don't yet handle any other types. i think that needs ethtool).
given a
netstack_iface
, i ought be able to get the queue counts for it. most cards report at least rx and tx. i've also seen combined and xdp. use a struct for the return value so that we can expand it in the future in a safe way.