netpfga/bmv2 mixup
This commit is contained in:
parent
7e794b5c10
commit
d62a17dbe7
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
#ifndef _SUME_SWITCH_P4_
|
#ifndef _SUME_SWITCH_P4_
|
||||||
action controller_reply(task_t task) {
|
action controller_reply(task_t task) {
|
||||||
meta.task = task;
|
meta.task = task;
|
||||||
meta.ingress_port = sume_metadata.src_port;
|
meta.ingress_port = standard_metadata.ingress_port;
|
||||||
clone3(CloneType.I2E, 100, meta);
|
clone3(CloneType.I2E, 100, meta);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ action controller_reply(task_t task) {
|
||||||
|
|
||||||
action controller_reply(task_t task) {
|
action controller_reply(task_t task) {
|
||||||
meta.task = task;
|
meta.task = task;
|
||||||
meta.ingress_port = standard_metadata.ingress_port;
|
meta.ingress_port = sume_metadata.src_port;
|
||||||
set_egress_port(4); /* port1 = 1, port2 = 2, port3=4 */
|
set_egress_port(4); /* port1 = 1, port2 = 2, port3=4 */
|
||||||
}
|
}
|
||||||
#endif /* _SUME_SWITCH_P4_ */
|
#endif /* _SUME_SWITCH_P4_ */
|
||||||
|
|
Loading…
Reference in a new issue