Hi,

I've written a VPP CLI command that acts as a front-end to 
rte_sched_queue_read_stats, for getting stats from DPDK's traffic HQoS code.  
Example call and output at the bottom.

Is this something you'd be interested in taking into VPP?

I've submitted https://gerrit.fd.io/r/3820, but on top of any usual review 
feedback I guess I anticipate that there may be a certain amount of 
bikeshedding about the exact command line and output...

I expect at some point to want to add this function to the binary API, but I 
don't want to write that code until establishing support - or otherwise - for 
the current approach.

Thanks!

David



NB requires setting RTE_SCHED_COLLECT_STATS to get any results


DBGvpp# show dpdk hqos queue TenGigabitEthernet0/5/0 subport 0 pipe 257 dscp 28
         Counter              Count
         Packets                5
     Packets dropped            0
          Bytes                720
      Bytes dropped             0

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to