Hi Chris,

 

No plan for open sourcing yet.  One reason is nobody is developing P4 programs 
for new VPP plugin nor is there any good online repo with great networking P4 
programs.  So, who would use the open-source compiler? The other reason is, I 
would like to complete the UPF VPP product first (VPP does need update checksum 
for layer-4).  Open-sourcing takes time away time from our product development 
since we are only two people (I and Alex).  

 

Certainly, there is some VPP core code that has very simple CLI, no API, and 
there are plugins which has minimal CLI and maybe no API.  With our compiler, 
every generated plugin has CLI and API support, so even existing plugins and 
core code would benefit.  CLI details are included in the online demo slides.  
Sorry,  I am not a public speaker, so please bear with the video demo.  The 
tests do show running code including code running at scale.

 

I think Intel or Cisco, who are larger companies, are better suited to 
open-source software.  Both also have switching asics being programmed with P4 
(Barefoot Tofino and CiscoONE) and both work with server products.  

 

Hemant

 

From: Luke, Chris <chris_l...@comcast.com> 
Sent: Wednesday, May 05, 2021 1:10 PM
To: hem...@mnkcg.com; vpp-dev@lists.fd.io
Subject: RE: [EXTERNAL] Re: [vpp-dev] VPP Emacs Lisp evolution to P4

 

Hi Hemant,

 

Do you plan to open source and maintain this code generator?

 

Chris.

 

From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>  <vpp-dev@lists.fd.io 
<mailto:vpp-dev@lists.fd.io> > On Behalf Of hemant via lists.fd.io
Sent: Wednesday, May 5, 2021 12:09
To: hem...@mnkcg.com <mailto:hem...@mnkcg.com> ; vpp-dev@lists.fd.io 
<mailto:vpp-dev@lists.fd.io> 
Subject: [EXTERNAL] Re: [vpp-dev] VPP Emacs Lisp evolution to P4

 

I don't know why the email I sent earlier did not show up as text. Resending.

 

[If you didn’t read this recent short blog I wrote, 
https://mnkcg.com/need-for-a-p4tovpp-compiler/, this is what the first 
paragraph of the blog says.

 

“VPP has stellar data plane code open-sourced by Cisco as a FD.io Linux 
project.  Now VPP runs crypto on latest Intel server hardware at 1 Tbps.  Most 
VPP new features are implemented as a plugin.  VPP provides a script using 
Emacs Lisp to generate a plugin’s stub code.  The generated code includes API 
and CLI to enable-disable plugin.  MNK Labs & Consulting saw a need to generate 
a complete VPP plugin – this would cause less bugs with new plugin and also 
accelerate VPP plugin development. Emacs Lisp is not the right tool to generate 
a full VPP plugin including data plane code.  MNK saw P4 as a good fit to 
describe any data plane and used P4 to generate a VPP plugin.”

 

I have proved my point by generating a 5G UPF plugin using the compiler. ]

 

Hemant

 

-----Original Message-----
From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>  <vpp-dev@lists.fd.io 
<mailto:vpp-dev@lists.fd.io> > On Behalf Of hemant via lists.fd.io
Sent: Wednesday, May 05, 2021 10:47 AM
To: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> 
Subject: [vpp-dev] VPP Emacs Lisp evolution to P4

 

 

 

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19350): https://lists.fd.io/g/vpp-dev/message/19350
Mute This Topic: https://lists.fd.io/mt/82610223/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to