Skip to content

Commit

Permalink
rebased and updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kamleshbhalui committed Nov 10, 2022
1 parent 3891105 commit 47f8274
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testdata/p4_16_samples/pna-dpdk-direct-meter-err-3.p4
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ control MainControlImpl(
DirectMeter(PNA_MeterType_t.BYTES) meter0;
DirectMeter(PNA_MeterType_t.BYTES) meter1;
action next_hop(PortId_t oport) {
out1 = meter0.execute(color_in, 32w1024);
out1 = meter0.dpdk_execute(color_in, 32w1024);
user_meta.port_out = (out1 == PNA_MeterColor_t.GREEN ? 32w1 : 32w0);
color_out = meter1.execute(color_in, 32w1024);
color_out = meter1.dpdk_execute(color_in, 32w1024);
user_meta.port_out1 = (color_out == PNA_MeterColor_t.GREEN ? 32w1 : 32w0);
send_to_port(oport);
}
Expand Down

0 comments on commit 47f8274

Please sign in to comment.