p4-dev@lists.p4.org

list for questions/discussion of p4 programs and tools

View all threads

Question about "P416 Programming for Intel Tofino Using Intel P4 Studio - Vladimir Gurevich & Andy Fingerhut, Intel" Demonstration

FM
Francisco Machado
Mon, May 24, 2021 11:19 AM

Hello,

In this past P4 Workshop I was attending the P416 Programming for Intel
Tofino Using Intel P4 Studio - Vladimir Gurevich & Andy Fingerhut, Intel
https://www.youtube.com/watch?v=uzOnogVzYdI Demonstration.
Towards the end  Vladimir uses a script that detects the language and
architectures, compiles the code and builds the necessary dirs and logs.
If I'm not mistaken the name of the script is "p4_build.sh".

Is this script part of the P4 Studio? Can someone explain in some detail
what the script does?
I am having some trouble compiling code to the tofino model using the p4
studio and I think the script might be useful.
A similar script would be even better :)

Thank you in advance

Cumprimentos,
Francisco Machado

Hello, In this past P4 Workshop I was attending the P416 Programming for Intel Tofino Using Intel P4 Studio - Vladimir Gurevich & Andy Fingerhut, Intel <https://www.youtube.com/watch?v=uzOnogVzYdI> Demonstration. Towards the end Vladimir uses a script that detects the language and architectures, compiles the code and builds the necessary dirs and logs. If I'm not mistaken the name of the script is "p4_build.sh". Is this script part of the P4 Studio? Can someone explain in some detail what the script does? I am having some trouble compiling code to the tofino model using the p4 studio and I think the script might be useful. A similar script would be even better :) Thank you in advance Cumprimentos, Francisco Machado
AF
Andy Fingerhut
Mon, May 24, 2021 5:48 PM

At least one place that script is available is via taking Vladimir's
course, mentioned in the presentation.

If you have a license to use the Tofino SDE, you could try contacting
Vladimir directly to see whether he provides it for those with such
licenses.

Andy

On Mon, May 24, 2021 at 7:20 AM Francisco Machado <
franciscocmachado@gmail.com> wrote:

Hello,

In this past P4 Workshop I was attending the P416 Programming for Intel
Tofino Using Intel P4 Studio - Vladimir Gurevich & Andy Fingerhut, Intel
https://www.youtube.com/watch?v=uzOnogVzYdI Demonstration.
Towards the end  Vladimir uses a script that detects the language and
architectures, compiles the code and builds the necessary dirs and logs.
If I'm not mistaken the name of the script is "p4_build.sh".

Is this script part of the P4 Studio? Can someone explain in some detail
what the script does?
I am having some trouble compiling code to the tofino model using the p4
studio and I think the script might be useful.
A similar script would be even better :)

Thank you in advance

Cumprimentos,
Francisco Machado


P4-dev mailing list -- p4-dev@lists.p4.org
To unsubscribe send an email to p4-dev-leave@lists.p4.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

At least one place that script is available is via taking Vladimir's course, mentioned in the presentation. If you have a license to use the Tofino SDE, you could try contacting Vladimir directly to see whether he provides it for those with such licenses. Andy On Mon, May 24, 2021 at 7:20 AM Francisco Machado < franciscocmachado@gmail.com> wrote: > Hello, > > In this past P4 Workshop I was attending the P416 Programming for Intel > Tofino Using Intel P4 Studio - Vladimir Gurevich & Andy Fingerhut, Intel > <https://www.youtube.com/watch?v=uzOnogVzYdI> Demonstration. > Towards the end Vladimir uses a script that detects the language and > architectures, compiles the code and builds the necessary dirs and logs. > If I'm not mistaken the name of the script is "p4_build.sh". > > Is this script part of the P4 Studio? Can someone explain in some detail > what the script does? > I am having some trouble compiling code to the tofino model using the p4 > studio and I think the script might be useful. > A similar script would be even better :) > > Thank you in advance > > Cumprimentos, > Francisco Machado > _______________________________________________ > P4-dev mailing list -- p4-dev@lists.p4.org > To unsubscribe send an email to p4-dev-leave@lists.p4.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s