Giter Club home page Giter Club logo

Comments (5)

bluenet13 avatar bluenet13 commented on July 26, 2024

latest ANS version only support dpdk-16.07. because dpdk-16.07 mempool is changed big than before, so you application makefile shall updated too, please refer to /examples/http_server/makefile

from dpdk-ans.

apassi99 avatar apassi99 commented on July 26, 2024

Thanks... Any idea why I am getting this

affinity to 0 core by default
EAL: Detected 8 lcore(s)
EAL: WARNING: Address Space Layout Randomization (ASLR) is enabled in the kernel.
EAL: This may cause issues with mapping memory into secondary processes
USER8: LCORE[-1] anssock any lcore id 0xffffffff
USER8: LCORE[-1] Can't find ans memzone
init sock failed
USER8: LCORE[-1] socket: anssock isn't init, (nil)
socket error

I get the same error when running http_server or any other code in /test directory.

I did allocate 2048, 4096 and 8192 for hugepage size. Still the same thing

from dpdk-ans.

bluenet13 avatar bluenet13 commented on July 26, 2024

You shall startup ans process before run application process(http_server).

from dpdk-ans.

apassi99 avatar apassi99 commented on July 26, 2024

Is it running the ans build in /ans dir? I am seeing the following error

EAL: Detected 8 lcore(s)
PMD: bnxt_rte_pmd_init() called for (null)
EAL: PCI device 0000:06:00.0 on NUMA socket 0
EAL: probe driver: 8086:1521 rte_igb_pmd
EAL: PCI device 0000:06:00.1 on NUMA socket 0
EAL: probe driver: 8086:1521 rte_igb_pmd
EAL: PCI device 0000:83:00.0 on NUMA socket 1
EAL: probe driver: 8086:1528 rte_ixgbe_pmd
EAL: PCI device 0000:83:00.1 on NUMA socket 1
EAL: probe driver: 8086:1528 rte_ixgbe_pmd
param nb 1 ports 3
port id 0
port 0 is not enabled in port mask
EAL: Error - exiting with code: 1
Cause: check_port_config failed

I don't think I am following it correctly?

from dpdk-ans.

bluenet13 avatar bluenet13 commented on July 26, 2024

You input wrong parameter when run ans.
Please read dpdk guide doc in dpdk website.

from dpdk-ans.

Related Issues (20)

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.