Hello all,
I am trying to retrieve the keys of an LPM Trie in my user space program 
(similar to 
https://github.com/iovisor/bcc/blob/master/examples/networking/xdp/xdp_macswap_count.py)
 ( 
https://github.com/iovisor/bcc/blob/master/examples/networking/xdp/xdp_macswap_count.py),
 ) however, I am actually getting nothing.
The appropriate keys and values are inserted from the kernel space program 
(these are actually inserted, I have validated it by printing the values from 
the LPM Trie that match my packets - in the kernel space program -).
The weirdest thing is that when I substitute the LPM Trie with a BPF_HASH, I 
can retrieve the existing keys. According to the 
https://github.com/iovisor/bcc/blob/master/src/python/bcc/table.py , both LPM 
and BPF_HASH are inheriting the same class and share the same methods for 
manipulating keys and values.
If you have any thoughts or recommendations please share them.
Thank you in advance.

P.S.
I am using an Ubuntu machine 16.04.6 LTS with kernel 4.15.0-60-generic and bcc 
(0.10.0).

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

View/Reply Online (#1858): https://lists.iovisor.org/g/iovisor-dev/message/1858
Mute This Topic: https://lists.iovisor.org/mt/74671773/21656
Group Owner: [email protected]
Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to