compile failed error: extracted in the parser but are not referenced in the deparser

37 views
Skip to first unread message

Abhishek Dixit

unread,
Apr 2, 2024, 3:20:01 AM4/2/24
to open-nfp
I am trying to use header stack in p4 on netronome smartNIC. When i parse the elements index-wise in the parser, I get the following error:
"compile failed error: Header(s) ['patrns[0]', 'patrns[15]', 'patrns[2]', 'patrns[14]', 'patrns[1]', 'patrns[7]', 'patrns[10]', 'patrns[5]', 'patrns[13]', 'patrns[11]', 'patrns[12]', 'patrns[3]', 'patrns[8]', 'patrns[6]', 'patrns[4]', 'patrns[9]'] extracted in the parser but are not referenced in the deparser"
Can anyone please help me with this?

Abhishek Dixit

unread,
Apr 5, 2024, 1:10:15 AM4/5/24
to open-nfp
I tried to emit the header components (like ipv4, tcp, udp) individually and even each of the elements of the header stack individually using their indices, but still, this error persists.
Reply all
Reply to author
Forward
0 new messages