napatech / daq_dpdk_multiqueue Goto Github PK
View Code? Open in Web Editor NEWSnort DPDK DAQ module with multiqueue support - Primarily for Napatech NICs
License: GNU General Public License v2.0
Snort DPDK DAQ module with multiqueue support - Primarily for Napatech NICs
License: GNU General Public License v2.0
rte_eth_dev_count() (daq_dpdk.c) returns 0 despite of the same function returning 2 in $RTE_SDK/examples/ethtool's test. Likewise, rte_eth_dev_info_get(port, &inf) also return 0 in the attributes of the structure returned.
I am using: dpdk-stable-16.07.2
Here are the dpdk-binds:
0000:01:00.2 'Ethernet Controller X710 for 10GbE SFP+' drv=vfio-pci unused=
0000:01:00.3 'Ethernet Controller X710 for 10GbE SFP+' drv=vfio-pci unused=
0000:01:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=em1 drv=i40e unused=vfio-pci Active
0000:01:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=em2 drv=i40e unused=vfio-pci
0000:04:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=p7p1 drv=i40e unused=vfio-pci
0000:04:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=p7p2 drv=i40e unused=vfio-pci
0000:04:00.2 'Ethernet Controller X710 for 10GbE SFP+' if=p7p3 drv=i40e unused=vfio-pci
0000:04:00.3 'Ethernet Controller X710 for 10GbE SFP+' if=p7p4 drv=i40e unused=vfio-pci
0000:05:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=p5p1 drv=i40e unused=vfio-pci
0000:05:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=p5p2 drv=i40e unused=vfio-pci
0000:05:00.2 'Ethernet Controller X710 for 10GbE SFP+' if=p5p3 drv=i40e unused=vfio-pci
0000:05:00.3 'Ethernet Controller X710 for 10GbE SFP+' if=p5p4 drv=i40e unused=vfio-pci
The Snort version I am running:
,,_ -> Snort++ <-
o" )~ Version 3.0.0 (Build 243) from 2.9.11
'''' By Martin Roesch & The Snort Team
http://snort.org/contact#team
Copyright (C) 2014-2018 Cisco and/or its affiliates. All rights reserved.
Copyright (C) 1998-2013 Sourcefire, Inc., et al.
Using DAQ version 2.2.1
Using LuaJIT version 2.0.5
Using OpenSSL 1.0.1f 6 Jan 2014
Using libpcap version 1.5.3
Using PCRE version 8.31 2012-07-06
Using ZLIB version 1.2.8
Using LZMA version 5.1.0alpha
Lastly, I also tried building dpdk with -fPIC, which did not fix it.
some questions about the use of dpdk daq.
I need to run multiple process by dpdk,and I want to run multiple snort at first.But when I decided to change it as one of the dpdk examples——symmetric_mp .I found that the packets couldn't be shared with all process. If one get the the packet,others couldn't get it.
do you konw what's the trouble?
daq_dpdk.txt
The file is what I changed.And I used this edition—— daq_dpdk_multiqueue-0a6b5cbcdb66dc801d12e31c9c971f2318026610
seeing above error while running snort as per the example given for dpdk18.05_mq.
snort version is 3.0.0-254 and dpdk is 18.05
# ./snort --daq dpdk --daq-var dpdk_argc="-n4" -i "dpdk0:dpdk1" -Q
--------------------------------------------------
o")~ Snort++ 3.0.0-254
--------------------------------------------------
--------------------------------------------------
dpdk DAQ configured to inline.
Commencing packet processing
++ [0] dpdk0:dpdk1
EAL: Detected 16 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: PCI device 0000:01:00.0 on NUMA socket 0
EAL: probe driver: 8086:1521 net_e1000_igb
EAL: PCI device 0000:01:00.1 on NUMA socket 0
EAL: probe driver: 8086:1521 net_e1000_igb
EAL: PCI device 0000:06:00.0 on NUMA socket 0
EAL: probe driver: 8086:1583 net_i40e
PMD: Global register is changed during support QinQ parser
PMD: Global register is changed during configure hash input set
PMD: Global register is changed during configure fdir mask
PMD: Global register is changed during configure hash mask
PMD: Global register is changed during support QinQ cloud filter
PMD: Global register is changed during disable FDIR flexible payload
EAL: PCI device 0000:06:00.1 on NUMA socket 0
EAL: probe driver: 8086:1583 net_i40e
PMD: Global register is changed during support QinQ parser
PMD: Global register is changed during configure hash input set
PMD: Global register is changed during configure fdir mask
PMD: Global register is changed during configure hash mask
PMD: Global register is changed during support QinQ cloud filter
PMD: Global register is changed during disable FDIR flexible payload
Can't start DAQ (-1) - start_device: Couldn't setup filters for port 0 - "Isolate port failed
"
Analyzer: Failed to start DAQ instance
Segmentation fault (core dumped)
$ sudo ./dpdk-devbind.py --status
Network devices using DPDK-compatible driver
============================================
0000:06:00.0 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=igb_uio unused=i40e,uio_pci_generic
0000:06:00.1 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=igb_uio unused=i40e,uio_pci_generic
Network devices using kernel driver
===================================
0000:01:00.0 'I350 Gigabit Network Connection 1521' if=enp1s0f0 drv=igb unused=igb_uio,uio_pci_generic *Active*
0000:01:00.1 'I350 Gigabit Network Connection 1521' if=enp1s0f1 drv=igb unused=igb_uio,uio_pci_generic
Other Network devices
=====================
<none>
This is on Fedora-30.
do you know what i am missing ? Even tried with taskset but error is same.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.