Open kodum opened 8 years ago
I think I'm having a similar problem. I was able to fix it by modifying the code slightly for my setup. I changed probe.c, function launch_probe() to set the variable pid = 0 (approx line 232) before the start of the while(!quit) loop. For some reason on my setup, if any value other than 0 is passed for the first parameter to rte_eth_rx_burst(pid, qid, pkts_burst, MAX_PKT_BURST), then rte_eth_rx_burst would SegFault. Once I set pid to 0, it seems to be generating netflow.
Can anyone tell me that where is netflow-logs.h? I used this program for make, but there is no netflow-logs.h file exsist.
Hi,
I have installed DPDK-2.2.0 on my test machine ( Redhat dist, with 3.8.13 kernel version ). I have compiled netflow-dpdk-master without any error. But when I run
"./build/dprobe -c 0x3 -n 2 -- -p 0x1 -H 132.195.213.65 -P 2055 -q 2"
it reports that "p" is invalid option. When I look into the source code, I see that ports_masks parameter is not necessary. So, when I run without this parameter:
"./build/dprobe -c 0x3 -n 2 -- -H 132.195.213.65 -P 2055 -q 2"
I'm getting Segmentation Fault. When I run DPDK test applications, there is no problem. The output is attached.
I appreciate if you guide me to run your app correctly. output_netflow_dpdk.txt