dpdksuricata

The ports always returns 0 when I run suricata based dpdk


I have installed DPDK-19.11.1 LTS successfully as follows:

And the NIC I have bound as follows:

If I run an example (dpdk/dpdk-stable-19.11.3/examples/skeleton/build/basicfwd),the function rte_eth_dev_count_avail() returns the ports I bound with dpdk-devbind.py.

I have also installed Suricata-4.1.4 on Ubuntu 16.04 LTS,but when I run suricata,the dpdk ports always returns 0:

So I want to know how can I solve this problem?


Solution

  • Checking the update in the ticket https://github.com/vipinpv85/DPDK_SURICATA-4_1_1/issues/11, the solution is already shared as can you please check if you are using the latest version? If yes please add support for 1G Intel NIC in your environment and update ASAP

    hence please add the missing PMD for your use case.

    [EDIT-2] the DPDK PMD used for 1G Intel NIC is rte_pmd_e1000

    [EDIT-3] had live debug, show case the change to be added for Makfile. Tested and it works