Hello all, I think I found a bug/ an unexpected behavior of the classifier when I use it for IOAM encapsulation/decapsulation.
Indeed, I used the classifier to select packets for IOAM encapsulation or decapsulation , as it is done in the example described here : [ https://github.com/CiscoDevNet/iOAM/tree/master/scripts/vpp_sandbox/example/simple-ip6 | https://github.com/CiscoDevNet/iOAM/tree/master/scripts/vpp_sandbox/example/simple-ip6 ] More precisely, here are the commands we are interested in, when it comes to decapsulation : classify table miss-next ip6-node ip6-lookup mask l3 ip6 dst classify session acl-hit-next ip6-node ip6-lookup table-index 0 match l3 ip6 dst db03::02 ioam-decap test1 set int input acl intfc host-l_c2 ip6-table 0 set int input acl intfc host-l_c1 ip6-table 0 This set of commands (more specifically the " classify session " one) is supposed to set the value of the " vnet_buffer (b0)->l2_classify.opaque_index " that will be checked in the " vnet/ip/ip6_forward.c " file, in the " ip6_hop_by_hop_node " node (at line 2666 for single loop implementation). The issue is that the value of the " opaque_index " does not seem to be set anymore when the check occurs, leading to no redirection of the packet towards the " ip6_pop_hop_by_hop_node " so no decapsulation of IOAM data as it should. To find the origin of the problem, I tried to trace the value of this " opaque_index " as the packet traverses different VPP nodes and I noticed the following : It seems that the classifier does its job correctly and sets the " opaque_index " to a value that will make true the condition at line 2666 in " ip6_forward.c ". However, as I said here above, when it arrives at this condition, the " opaque_index " appears to be equal to a null value... I was not able to find why it behaves like this, can someone try to help me to solve this issue ? Thanks, Jérôme
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18907): https://lists.fd.io/g/vpp-dev/message/18907 Mute This Topic: https://lists.fd.io/mt/81276451/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-