Hi Mauricio,

It sounds like you're trying to implement wildcard matching over a hash map.
Using all the keys would be an exact match, whereas using a subset of the keys would mean wildcarding the other.

If that's the case, you might want to contact William Tu at VMware, who's been working on using eBPF as the fastpath for OVS [1].
They should have the same issue to express the megaflow lookup with eBPF.


Paul

[1] - http://openvswitch.org/support/ovscon2016/

On 10/08/2017 23:54, Mauricio Vasquez via iovisor-dev wrote:
Dear All,

We are implementing an eBPF program that uses a multi-key map, we create a structure containing all the fields used as keys.

This approach works good until we perform operations on the map using all the keys, but for sure we are not able to perform operations on the map using a subset of the keys, for example removing all the entries matching one of the keys.

Using a map in a map could solve the problem when the number of keys is 2, but it would not help on another cases.

Have some of you faced this problem?, Do you have any recommendation about how to overcome it?

Thanks in advance,

Mauricio





_______________________________________________
iovisor-dev mailing list
iovisor-dev@lists.iovisor.org
https://lists.iovisor.org/mailman/listinfo/iovisor-dev

_______________________________________________
iovisor-dev mailing list
iovisor-dev@lists.iovisor.org
https://lists.iovisor.org/mailman/listinfo/iovisor-dev

Reply via email to