Hi Mauricio, > I am trying to report the hardware interface queue depth. [...] > Is there a way/function that maps vnet_buffer(b)->sw_if_index to it's > appropriate hw_if_index???
You can use vnet_get_sup_hw_interface() for this, however HW queues are managed differently by each driver. See for example src/plugins/rdma/format.c:format_rdma_rxq(): rxq->size is the size of the HW receive queue. We could certainly benefit from having more detailed and standardized output for 'show hardware' but that requires an effort in each driver. Best ben
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17458): https://lists.fd.io/g/vpp-dev/message/17458 Mute This Topic: https://lists.fd.io/mt/76605334/21656 Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp Mute #vnet:https://lists.fd.io/g/vpp-dev/mutehashtag/vnet Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-