GithubHelp home page GithubHelp logo

PNA/PSA extern restrictions about pna HOT 6 CLOSED

jhsmt avatar jhsmt commented on September 28, 2024
PNA/PSA extern restrictions

from pna.

Comments (6)

jafingerhut avatar jafingerhut commented on September 28, 2024

This PR is instended to address this issue. Please read it and see if it is missing anything you were hoping for: #127

from pna.

jhsmt avatar jhsmt commented on September 28, 2024

I dont think #127 resolves this. It was more a question, as an example: Why is checksum extern only applicable on MainParser and MainDeparser. See Table 2 in the doc.

from pna.

jafingerhut avatar jafingerhut commented on September 28, 2024

I believe it is accurate to say that the primary reason it was documented that way was because PSA defines it that way, which goes back to v1model, which is probably heavily influence by Tofino.

The proposed PR removes that restriction. Is that not what you were hoping for?

from pna.

jhsmt avatar jhsmt commented on September 28, 2024

@jafingerhut, it may provide the answer - but i am not following how making headers r/w in the deparser maps to that referenced table. I think my question is a lot more basic: Why those restrictions in that table? From a s/w pov it doesnt seem to make a lot of sense but there may be reasons given how h/w blocks are built.

from pna.

jafingerhut avatar jafingerhut commented on September 28, 2024

You ask: "Why those restrictions in that table?"

My answer: "I believe it is accurate to say that the primary reason it was documented that way was because PSA defines it that way, which goes back to v1model, which is probably heavily influence by Tofino."

Does that answer make sense?

If we remove the restriction in that table where the Checksum and InternetChecksum externs can be instantiated, is that what you are hoping will change? Because the PR does change that table in that way.

from pna.

jhsmt avatar jhsmt commented on September 28, 2024

Does the

You ask: "Why those restrictions in that table?"

My answer: "I believe it is accurate to say that the primary reason it was documented that way was because PSA defines it that way, which goes back to v1model, which is probably heavily influence by Tofino."

Does that answer make sense?

Yes - i was more asking on the "why" is it so. Probably Tofino, but what is feature or limitation that makes it so.

If we remove the restriction in that table where the Checksum and InternetChecksum externs can be instantiated, is that what you are hoping will change? Because the PR does change that table in that way.

You are right - let me close this.

from pna.

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.