Hi,

We are working on a bloom Filter algorithm for ipv6 lookup in vpp and we
have a few queries.
It would be great if someone could help us with the following queries.

1. from the code, ip6_forward.c file processes 2 packets at a time from the
frame.
how are threads used in this. Is there a thread for each frame to be
processed or a thread per packet.

2. A problem which we came across was synchronization for the lookup and
filling of the filter, Dave suggested
we use 2 filters and swap between them to address this issue
Is there any limitation on the amount of memory to be used for the filter.

3. Also we are required to handle 2 threads for our filter, one is to fill
up the filter using the fib entries
and the other is for lookup
- the ip6_forward.c -> ip6_lookup_inline function does the lookup part.
>From our understanding this function
is processing the packets and checking if the destination ip is in the fib.
But we are required to fill our filter
with all fib entries dynamically as well, we understand this is also
similar to the mtrie code, but we are not able to
get how it works and threading is done here.

-- 
Thanks,

Pragash Vijayaragavan (pxv3...@rit.edu)
ph : 585 764 4662
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to