mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ofp-util: Add flow metadata to ofputil_packet_out
This patch adds flow metadata to ofputil_packet_out. It does not make any functional change. The flow metadata will be useful to support new packet-out message format in OpenFlow 1.5. Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -570,7 +570,8 @@ process_packet_in(struct lswitch *sw, const struct ofp_header *oh)
|
||||
po.packet = NULL;
|
||||
po.packet_len = 0;
|
||||
}
|
||||
po.in_port = pi.flow_metadata.flow.in_port.ofp_port;
|
||||
match_set_in_port(&po.flow_metadata,
|
||||
pi.flow_metadata.flow.in_port.ofp_port);
|
||||
po.ofpacts = ofpacts.data;
|
||||
po.ofpacts_len = ofpacts.size;
|
||||
|
||||
|
Reference in New Issue
Block a user