Create monitor failed on pipe using doca_switch

Hi everyone,

I have been trying to use doca_switch version 1.5.1) to create flows and monitor the counter of entries. I have been using the following command line:

create monitor flags=4
create pipe port_id=0,root_enable=1,monitor=1

However, following error message appears:
[ERR][dpdk_pipe_common] counter: configured number of resources is 0
[ERR][dpdk_pipe_legacy] failed cresting pipe of type 0: verification rc=-22

If I am reading the code correctly, doca_switch is not using shared counter by a counter per entry. But why is above error showing up?

Many thanks in advance

Hi everyone,

The monitor function is working now:
It needs to add following to lines to the switch_init() function:


Best regards

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.