The ofport OFPP_TABLE(0xfff9) is defined as perform
actions in flow table. It will send the packet back
to table=0 to do reprocess. Add this port to learn
output action then users can leverage it to do some
flow table re-entry.
---
 lib/learn.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/learn.c b/lib/learn.c
index b465a9954..63b06a7c8 100644
--- a/lib/learn.c
+++ b/lib/learn.c
@@ -171,6 +171,7 @@ learn_execute(const struct ofpact_learn *learn, const 
struct flow *flow,
                 if (ofp_to_u16(port) < ofp_to_u16(OFPP_MAX)
                     || port == OFPP_IN_PORT
                     || port == OFPP_FLOOD
+                    || port == OFPP_TABLE
                     || port == OFPP_LOCAL
                     || port == OFPP_ALL) {
                     ofpact_put_OUTPUT(ofpacts)->port = port;
-- 
2.27.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to