Discussion on How PIR JSON Is Currently Utilized in XDP2
Matheus Freitas Martins <[email protected]> Sun, 7 Dec 2025 16:33:34 -0300
| Newsgroups | dev.linux.lists.xdp2 |
|---|---|
| Message-ID | <CAL-vbwfOZVhYFvD5N2PNMQ278WURBWU0Eu5aZn=7g+8mm_T_3w@mail.gmail.com> |
Hello everyone, I am a Master=E2=80=99s student doing research on programmable networking, = and I=E2=80=99ve been experimenting with XDP2 (pir-dev branch) and the P4C fork (pil branch). I understand that the project is still under active development, but I=E2=80=99d like to clarify what is currently possible to = do with the PIR JSON generated from a P4 program. After reading 'README . pil . md' in 'xdp2-dev/p4c', I was able to use 'p4c-pna-pil' to produce a PIR '.json' file from a P4 (PNA) program. My questions are: - Does the PIR JSON currently have any practical use in the XDP2 toolchain, or is it mainly an intermediate representation for future backends? - Is there any existing component, example, or workflow that consumes this PIR JSON today? - If there is a recommended way to experiment with or validate the PIR output at the current stage, could you point me to it? Best regards, Matheus