Giter VIP home page Giter VIP logo

Comments (6)

vincentmli avatar vincentmli commented on August 22, 2024

it looks like the mTCP github repo contained DPDK build directory and binaries, it make it a little bit difficult to track the mTCP DPDK changes and upstream DPDK

from mtcp.

ajamshed avatar ajamshed commented on August 22, 2024

Sorry Vincent, you were almost there with the patch. You just need to add one more line in mk/rte.cpuflags.mk file (at the end of file):

$(shell echo ${MACHINE_CFLAGS} > ${RTE_SDK}/${RTE_TARGET}/include/cflags.txt)

Recompile dpdk-2.2 toolkit and that should do it.

from mtcp.

vincentmli avatar vincentmli commented on August 22, 2024

Thanks Asim, that solves the problem

from mtcp.

ajamshed avatar ajamshed commented on August 22, 2024

Hi Vincent, I left some comments regarding your pull requests. Did you find time to look at them?

from mtcp.

yilongli avatar yilongli commented on August 22, 2024

I ran into this problem today when I was trying to build mTCP with Mellanox DPDK. I solved the problem myself before seeing this thread. Could you please update the documentation to make this problem clear? Basically, people need to copy mtcp/dpdk-X.X/mk/rte.app.mk and mtcp/dpdk-X.X/mk/rte.cpuflags.mk into their dpdk/mk/ directory.

from mtcp.

ajamshed avatar ajamshed commented on August 22, 2024

Hi yilongli,

Sorry to be responding to you this late. This issue is briefly mentioned in the README file. We normally advise the mTCP users to use our version of dpdk because we have patched igb_uio kernel module driver (for Intel-based Ethernet adapters). Since you are using Mellanox cards, you can use any version of dpdk in practice. I will mention about the changes made in rte.app.mk and rte_cpuflags.mk files in the README as well. Thanks!

from mtcp.

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.