Hi VPP devs, Raj, We had an issue when configuring classify session for classify table, where the n_skip_vector value is more than zero. The same issue happens when I am creating the configuration over API or via vppctl. The match "k: 00000000000000000000000000000000" value is always all zeros in both API and vppctl responses. I believe it should be "k: 00000000000000000000c0a801020000" that is the match ip of 192.168.1.2.
Can someone check whether there is a bug and the value is not configured at all or only the data shown to the user are wrongly interpreted? I added Raj to copy. He noticed this originally and will try to test the configuration on his setup. Raj: If you have more data available after testing, please provide them here. Thanks API CALLS EXAMPLE: ClassifyAddDelTable{isAdd=1, delChain=0, tableIndex=-1, nbuckets=2, memorySize=1048576, skipNVectors=12, matchNVectors=1, nextTableIndex=-1, missNextIndex=-1, currentDataFlag=0, currentDataOffset=0, maskLen=16, mask=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, -1, 0, 0]} ClassifyAddDelSession{isAdd=1, tableIndex=0, hitNextIndex=0, opaqueIndex=0, advance=0, action=0, metadata=0, matchLen=208, match=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -64, -88, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]} ClassifySessionDetailsReplyDump{classifySessionDetails=[ClassifySessionDetails{context=99, tableId=0, hitNextIndex=0, advance=0, opaqueIndex=1, matchLength=16, match=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]} sudo vppctl show classify tables verbose TableIdx Sessions NextTbl NextNode 0 1 -1 -1 Heap: total: 1.06M, used: 1.27K, free: 1.06M, trimmable: 1.06M no traced allocations nbuckets 2, skip 12 match 1 flag 0 offset 0 mask 00000000000000000000ffffffff0000 linear-search buckets 0 [0]: heap offset 1136, elts 2, normal 0: [1136]: next_index 0 advance 0 opaque 1 action 0 metadata 0 k: 00000000000000000000000000000000 hits 0, last_heard 0.00 1 active elements 1 free lists 0 linear-search buckets VPPCTL EXAMPLE: sudo vppctl classify table mask l3 ip4 src skip 12 sudo vppctl classify session policer-hit-next policy1 exceed-color table-index 0 match l3 ip4 src 192.168.1.2 sudo vppctl show classify tables verbose TableIdx Sessions NextTbl NextNode 0 1 -1 -1 Heap: total: 2.06M, used: 1.27K, free: 2.06M, trimmable: 2.06M no traced allocations nbuckets 2, skip 12 match 1 flag 0 offset 0 mask 00000000000000000000ffffffff0000 linear-search buckets 0 [0]: heap offset 1136, elts 2, normal 0: [1136]: next_index 0 advance 0 opaque 1 action 0 metadata 0 k: 00000000000000000000000000000000 hits 0, last_heard 0.00 1 active elements 1 free lists 0 linear-search buckets Thanks Michal [https://www.cisco.com/c/dam/m/en_us/signaturetool/images/banners/standard/06_standard_graphic.png] Michal Cmarada Engineer - Software mcmar...@cisco.com<mailto:mcmar...@cisco.com> Tel: Cisco Systems, Inc. Slovakia cisco.com [http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif] Think before you print. This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Please click here<http://www.cisco.com/c/en/us/about/legal/terms-sale-software-license-agreement/company-registration-information.html> for Company Registration Information.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12657): https://lists.fd.io/g/vpp-dev/message/12657 Mute This Topic: https://lists.fd.io/mt/30810146/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-