I am trying to integrate PF_RING in nDPId, but it's crashing right after the first call to pfring_recv().
Does PF_RING by the way support having multiple threads which are calling pfring_recv() whereas all threads have their own pfring* context previously opened with pfring_open ?
gdb backtrace (not really helpful :/):
__memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:279
279 ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory.
(gdb) bt
#0 __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:279
#1 0x0000555555ce6cb4 in pfring_mod_recv ()
#2 0x0000555555ce4f88 in pfring_recv ()
#3 0x0000555555b0a9e6 in npfring_recv (npf=0x631000014800, pcap_hdr=0x7ffff2cf4ce0) at /home/toni/git/nDPId/npfring.c:95
#4 0x0000555555b01c1f in run_pfring_loop (reader_thread=0x5555565862a0 <reader_threads>) at /home/toni/git/nDPId/nDPId.c:4454
#5 0x0000555555b04099 in processing_thread (ndpi_thread_arg=0x5555565862a0 <reader_threads>) at /home/toni/git/nDPId/nDPId.c:4688
#6 0x00007ffff6ea8134 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7 0x00007ffff6f287dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb)
I am trying to integrate PF_RING in nDPId, but it's crashing right after the first call to
pfring_recv()
.Does
PF_RING
by the way support having multiple threads which are callingpfring_recv()
whereas all threads have their ownpfring*
context previously opened withpfring_open
?gdb backtrace (not really helpful :/):
My minimalist implementation: