Hi all,

I am trying to report the hardware interface queue depth.  I'm looking at 
ip6_forward and it seems that the process to TX a packet is vlib_get_next_frame 
... [do things with packet] ... vlib_validate_buffer_enqueue ... 
vlib_put_next_frame.

Before I go down this rabbit hole of code reading, would I be able to manage to 
find the queue depth from digging int vlib_put_next_frame?

vnet_hw_interface_t does not indicate anything about queues/fifos and it is a 
pointer, but I would first need to know what interface my packet is leaving 
from.
Is there a way/function that maps vnet_buffer(b)->sw_if_index to it's 
appropriate hw_if_index???

Thanks,
Mauricio
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17457): https://lists.fd.io/g/vpp-dev/message/17457
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to