Hi I've been trying to add a classify table using the following CLI: classify table miss-next ip6-node ip6-lookup mask l3 ip6 flow-label
I noticed that in src/vnet/classify/vnet_classify.c the following lines cause the function "uword unformat_ip6_mask(...)" to return earlier than expected and not take "traffic-class", "flow-label", and "version" as mask l3 ip6 inputs: > > #define _(a) found_something += a; > > foreach_ip6_proto_field ( > https://docs.fd.io/vpp/20.09/dc/d1c/vnet__classify_8c.html#ae2e9794ae2c59b43d0d663617f0ae791 > ) ; > > #undef _ > > > > if (found_something == 0) > > return 0; Even though "flow-label" is "something", we still return 0. *Is this expected behavior?* I recompiled and added the following lines above the mentioned code in order to avoid the return 0: > > > found_something += version; found_something += traffic_class; > found_something += flow_label; Regards, Mauricio
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16843): https://lists.fd.io/g/vpp-dev/message/16843 Mute This Topic: https://lists.fd.io/mt/75211945/21656 Mute #classify: https://lists.fd.io/g/fdio+vpp-dev/mutehashtag/classify Mute #vnet: https://lists.fd.io/g/fdio+vpp-dev/mutehashtag/vnet Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
