[ovs-git] [openvswitch/ovs] 35eb63: ofp-util: Add flow metadata to ofputil_packet_out
GitHub
noreply at github.com
Wed May 31 21:54:25 UTC 2017
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 35eb6326d5d0f04fe7916b018eeb110a6018843f
https://github.com/openvswitch/ovs/commit/35eb6326d5d0f04fe7916b018eeb110a6018843f
Author: Yi-Hung Wei <yihung.wei at gmail.com>
Date: 2017-05-31 (Wed, 31 May 2017)
Changed paths:
M include/openvswitch/ofp-util.h
M lib/learning-switch.c
M lib/ofp-parse.c
M lib/ofp-print.c
M lib/ofp-util.c
M ofproto/ofproto.c
M ovn/controller/ofctrl.c
M ovn/controller/pinctrl.c
M utilities/ovs-ofctl.c
Log Message:
-----------
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 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Commit: 577bfa9f687936d53970d0ff41928c3a727720e8
https://github.com/openvswitch/ovs/commit/577bfa9f687936d53970d0ff41928c3a727720e8
Author: Yi-Hung Wei <yihung.wei at gmail.com>
Date: 2017-05-31 (Wed, 31 May 2017)
Changed paths:
M Documentation/topics/openflow.rst
M NEWS
M include/openflow/openflow-1.5.h
M include/openvswitch/ofp-msgs.h
M lib/ofp-util.c
M tests/ofp-print.at
Log Message:
-----------
ofp-util: Add OpenFlow 1.5 packet-out support
This patch implements the encoding and decoding of the new packet-out
format defined in OpenFlow 1.5. Test cases are provided to verify the
encoding and decoding.
This patch is based on [1] and [2].
[1] https://github.com/jean2/openvswitch/commits/jean/ext-427
[2] https://mail.openvswitch.org/pipermail/ovs-dev/2017-April/331032.html
Signed-off-by: Jean Tourrilhes <jt at labs.hpe.com>
Signed-off-by: Zoltan Balogh <zoltan.balogh at ericsson.com>
Co-authored-by: Jan Scheurich <jan.scheurich at ericsson.com>
Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Commit: d7892c814a8a9cf5681d34c6470bc9d841f4ad21
https://github.com/openvswitch/ovs/commit/d7892c814a8a9cf5681d34c6470bc9d841f4ad21
Author: Yi-Hung Wei <yihung.wei at gmail.com>
Date: 2017-05-31 (Wed, 31 May 2017)
Changed paths:
M include/openvswitch/meta-flow.h
M include/openvswitch/ofp-errors.h
M lib/meta-flow.c
M lib/nx-match.c
M lib/nx-match.h
M lib/ofp-util.c
M ofproto/ofproto.c
M tests/ofp-print.at
M utilities/ovs-ofctl.c
Log Message:
-----------
ofproto: Add pipeline fields support for OF 1.5 packet-out
This patch decodes pipeline fields from a packet-out message, and populates
the pipeline fields into datapath. Error OFPERR_OFPBRC_PIPELINE_FIELDS_ONLY
is returned if the match field of a packet-out messages contains any
non pipeline fields. Currently, the supported pipeline fields
are as following.
* metadata fields:
- in_port, in_port_oxm
* tunnel fields:
- tun_id, tun_src, tun_dst, tun_ipv6_src, tun_ipv6_dst
- tun_gbp_id, tun_gpb_flags, tun_flags
- tun_metadata0 - tun_metadata63
* register fields:
- metadata
- reg0 - reg-15, xreg0 - xreg7, xxreg0 - xxreg3
Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Commit: 880b145831ad1f2b0af2d08c4ad435ca0b6c98ad
https://github.com/openvswitch/ovs/commit/880b145831ad1f2b0af2d08c4ad435ca0b6c98ad
Author: Yi-Hung Wei <yihung.wei at gmail.com>
Date: 2017-05-31 (Wed, 31 May 2017)
Changed paths:
M lib/ofp-parse.c
M tests/ofproto-dpif.at
M tests/ofproto.at
M utilities/ovs-ofctl.8.in
Log Message:
-----------
ofp-parse: Parse pipeline fields in OF1.5 packet-out
This patch adds support for parsing the pipeline match fields of
OpenFlow 1.5 packet-out messages. With this patch, we can use ovs-ofctl
to specify pipeline fileds for a packet-out message.
Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Commit: 89d7927bbb18e214ebf718e9d9772334ecefa87e
https://github.com/openvswitch/ovs/commit/89d7927bbb18e214ebf718e9d9772334ecefa87e
Author: Yi-Hung Wei <yihung.wei at gmail.com>
Date: 2017-05-31 (Wed, 31 May 2017)
Changed paths:
M include/openvswitch/ofp-util.h
M lib/ofp-print.c
M lib/ofp-util.c
M ofproto/ofproto.c
M tests/ofproto-dpif.at
Log Message:
-----------
ofp-util: Fix tun_metadata processing in packet-out
Pass tun_table to ofputil_handle_packet_out() to correctly decode tunnel
metadata in packet-out messages.
Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Compare: https://github.com/openvswitch/ovs/compare/07ed329cb6f0...89d7927bbb18
More information about the git
mailing list