Skip to Content.
Sympa Menu

rare-users - Re: [RARE-users] p4lang interpreter where pls?

Subject: RARE user and assistance email list

List archive

Re: [RARE-users] p4lang interpreter where pls?


Chronological Thread 
  • From: "Gurevich, Vladimir" <>
  • To: mc36 <>, "" <>
  • Cc: "" <>, "" <>
  • Subject: Re: [RARE-users] p4lang interpreter where pls?
  • Date: Mon, 5 Jun 2023 09:06:03 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7vbl/Nu2CMVhPML4wXsGol1gQ+4qk49NQtGGFhTBB2M=; b=OUjlcWxdg/WV9zqAzoL51h6S4YlYyi04qoI4OyqOZf2gBCRMO43d1E+sJYJ868uvHpE/1HyDOdsO4ET4hbKMTAT2LWHyVwwdk4/qKb9SZCS0ENrVut5fwV4LJSbT/djbvtK/3Y56qUT0Vz1L9HPyEKoN+mTUrh/h76YT+RvVdrKSdyQixoTmPK17aSPTHR635QKfx1FCE7HxAifhF4owBaDMh7WHMvUqQ/LFGwPX1SgJepwyaOkQZFc39jZiBYTUxQ8H58tCfza7/PiH3Mx57lgI+DNAQQKSDgCshrefcZX8agWHrY+CKqP8I+QIZPR0l489D4kpfGzdVdBDpAIBLg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cJD/QZ6NqtvHcrBcfDtYzFqlR3PVhrJmUud5zy7FhLp9B1d+ZuSyxZFAorl8EMqqWJEW1DnL1jCcVjl7xU42e0RlDGevVLIqOUNs3G13ZDgUH3icXlmC7ZkkGA5It057JeGLioNBaglHugA0q+xK/wdmylTGwLgq4VBAjgpYrQpPVKz83iwucvqnK8N4JVpyGoYX8d28D1JCbizguVYLqzyHW1KIwhIzQWfBfOFcZEmquM4qhgoyxeZvIcdB3OD78ZY39zQV1Urs7eqr0Ah8bcQkClvHjXf30vq/6TBnRLhAWU8K01/Qjzo2yix0pmvzRDa93TvbrSTPsT1vOhqn7w==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com;

Hello Csaba,

 

First of all, there can be no such thing as a “P4_16 interpreter” – at the very minimum you need to add the name of the architecture there. For example, BMv2 support P4_16/v1model and to a certain extent P4_16/PSA.

 

Secondarily, I do not quite understand what is that you are trying to achieve and what are you requirements. So, it is not clear to me what is that you do not like on BMv3, for example. Note also, that P4_DPDK can also be considered a P4_16/PSA(-subset) emulator, as are other targets, like P4_EBPF, etc.

 

Last, but not least, you might find it useful to as this kind of questions at https://forum.p4.org

 

Best,

Vladimir Gurevich

Principal Engineer,  Switch & Fabric Group (XFG)
Director, Intel® Connectivity Education Hub

 

Email:        

Cell:         +1 (408) 833-4505

 

 

From: mc36 <>
Date: Sunday, June 4, 2023 at 10:46 PM
To: Gurevich, Vladimir <>, <>
Cc: <>, <>
Subject: p4lang interpreter where pls?

hihi vlad,

so the question as in $subj$ do you know a very simple p4-16 _interpreter_ in .c or in .java hanging around??

not a full one but a very simple like 100-200 l.o.c max... the use case is to test/develop the rare/freertr

emulated (bmv2) target more easily/quicky??? if nothing exists, then whats your opinion, would it be hard

for me to write one aaand would it worth the effort??? :)

sorely it'll be a way too incomplete etc, just to run the https://github.com/rare-freertr/RARE-bmv2

which uses just a very small subset of p4-16.... i was thinking to write the emulator for the .json

files but mehhh, i find the .p4 files more fun tbh.... :)

thanks,

cs

PNG image




Archive powered by MHonArc 2.6.24.

Top of Page