You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While compiling the file testdata/p4_14_samples_outputs/counter.p4 the compiler produces the following message:
testdata/p4_14_samples_outputs/counter.p4(49): warning: my_direct_counter: Direct counter not used; ignoring
@name("my_direct_counter") direct_counter(CounterType.bytes) my_direct_counter;
^^^^^^^^^^^^^^^^^
I do not believe this message is correct. This counter (my_direct_counter) is used in two actions (m_action_0 and _nop_0) and these actions are referenced in m_table that is, in turn, applied in control ingress.
I also saw this message appearing while compiling my own code, so it seems to be not limited to this file.
The text was updated successfully, but these errors were encountered:
While compiling the file
testdata/p4_14_samples_outputs/counter.p4
the compiler produces the following message:I do not believe this message is correct. This counter (my_direct_counter) is used in two actions (m_action_0 and _nop_0) and these actions are referenced in m_table that is, in turn, applied in control ingress.
I also saw this message appearing while compiling my own code, so it seems to be not limited to this file.
The text was updated successfully, but these errors were encountered: