Giter Club home page Giter Club logo

Comments (6)

edgar-costa avatar edgar-costa commented on June 26, 2024

Does it work if you do import p4utils?

from p4-utils.

MohamadAlAdraa avatar MohamadAlAdraa commented on June 26, 2024

Hi @edgar-costa,

Yes, see the following image.
Capture

the only missing module is sswitch_runtime, as you see here it is not there compiler is not able to find this module.
Capture1

Is it something need to be fixed in the installation file?

Thanks.

from p4-utils.

edgar-costa avatar edgar-costa commented on June 26, 2024

Hi @MohamadAlAdraa

Did you install bmv2 and p4c with my scripts? Or only p4utils? I think that might be the problem.

Our install process is the following: https://github.com/nsg-ethz/p4-utils/blob/master/install-tools/install-p4-dev.sh

Try to run the function: site_packages_fix that might fix it.

Please tell me if this fixes it so I can add a note in the installing process.

from p4-utils.

MohamadAlAdraa avatar MohamadAlAdraa commented on June 26, 2024

Hi @edgar-costa,

My last question would be, what is the difference between setQueueMaxSize and set_queu_depth and set_queue_rate?

from p4-utils.

edgar-costa avatar edgar-costa commented on June 26, 2024

Hi @MohamadAlAdraa ,

Did what I told you to do in the last message fix the issue? I would like to know it.

Answering your questions:

  • set_queue_depth sets the number of packets a port queue can hold, so basically its size.
  • set_queue_rate sets the maximum rate packets will be emptied from the queue. If you set it at a lower rate than your input packet rate, when queue_depth packets are in the queue, they will start to be dropped.

from p4-utils.

MohamadAlAdraa avatar MohamadAlAdraa commented on June 26, 2024

Hi @edgar-costa,

Yes, I was pulling the main from bmv2 and p4c and changing on them. However, when I pulled the exact commit you are specifying in the installation script and I changed on it, it worked fine.

Thank you for your help.

from p4-utils.

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.