Questions about the current use of PIR JSON within XDP2

Matheus Freitas Martins <[email protected]> Sun, 30 Nov 2025 09:29:42 -0300
Newsgroups dev.linux.lists.xdp2
Message-ID <CAL-vbwfCn7Eo8yJ0NR_c=FdqCMAmXJR2ygfxCyoUX_ZLuwsycw@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