-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
When I compiled the switch code with Tofino SDE 9.7.0. The compiler gives the following error:
/home/me/bf-sde-9.7.0/pkgsrc/p4-examples/programs/netlock/tables.p4(223): [--Werror=invalid] error: V1Table notify_tail_client_table: Table invoked from two different controls: Apply and Apply
table notify_tail_client_table {
^
/home/me/bf-sde-9.7.0/pkgsrc/p4-examples/programs/netlock/netlock.p4(451)
apply(notify_tail_client_table);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/me/bf-sde-9.7.0/pkgsrc/p4-examples/programs/netlock/netlock.p4(231)
apply(notify_tail_client_table);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I realized this compilation error could have happened during the translation from P4-14 to p4-16 as described here. But I am unable to apply the fix to my Tofino SDE.
When I gived up on fixing it myself and tried to acquire the exact SDE version (8.2.2) you use, I realized that the earliest version Intel still provides is 9.3, as suggested here. I wonder if you have any workaround on this compilation issue.
Thanks for any help in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels