Hi,

> I'm want to match all traffics by using classify module,  but i didn't
> find any way! Does anyone known how to configure it?
> I trying to use hex match with mask:
> 000000000000000000000000000000000000000000000000000000000000000000000000,
> bu unfortunately, it crashed.

The issue is you tried an invalid config: the match mask matches effectively 
nothing (all 0), which in turn triggers a bug in the code trying to allocate -1 
elements, hence the ridiculous allocation size and the out-of-memory crash.
This invalid config should be rejected if you try it on master because of 
https://gerrit.fd.io/r/c/vpp/+/23912

The mask should have at least one non-0 value: it is the mask that will be 
applied to each packet before testing for equality, the formula is: packet & 
mask == match

ben
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14936): https://lists.fd.io/g/vpp-dev/message/14936
Mute This Topic: https://lists.fd.io/mt/68845182/21656
Mute #classify: https://lists.fd.io/mk?hashtag=classify&subid=1480452
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to