Hello,
Skip_n_vectors is 0 as the mask (as well as match value) is already shifted by
one vector in PAPI:
VAT mask:
PAPI mask:
But there was identi
VAT classify_add_del_session contains "skip_n 1",
but PAPI classify_add_del_session does not contain
"skip_n_vectors" argument, (so the default 0 is used).
Not sure whether that is causing the different behavior,
but there may be other differences.
Vratko.
From: csit-...@lists.fd.io On Behalf O
Hello vpp-dev,
We are converting CSIT Policer.py library to use PAPI instead of VAT commands.
Unfortunately policer functional
test is failing with "Invalid DSCP: 0, should be 20 " in case of configuration
via PAPI.
The root cause seems to be that policer_index is not set for policer-classify