make port a command

master
Nico Schottelius 4 years ago
parent 4387e37f4e
commit 09d5c23aad

@ -1,3 +1,3 @@
// only used on netpfga for dummy packet reply
table_cam_add_entry dummy_table_for_netpfga send_to_port1 0x082222222208 => 0x00000001
table_cam_add_entry dummy_table_for_netpfga send_to_port1 0x082222222208 => 0x1

@ -5,8 +5,8 @@ action do_nothing() {
;
}
action send_to_port1() {
sume_metadata.dst_port = 1;
action send_to_port1(port_t port) {
sume_metadata.dst_port = port;
}
table dummy_table_for_netpfga {

Loading…
Cancel
Save