Git Product home page Git Product logo

daq_dpdk_multiqueue's People

Contributors

napafc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

daq_dpdk_multiqueue's Issues

rte_eth_dev_count()

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:

Network devices using DPDK-compatible driver

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=

Network devices using kernel driver

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.

Running multiple snort

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

Can't start DAQ (-1) - start_device: Couldn't setup filters for port 0 - "Isolate port failed"

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.