mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
Enhance userspace support for MPLS, for up to 3 labels.
This commit makes the userspace support for MPLS more complete. Now up to 3 labels are supported. Signed-off-by: Ben Pfaff <blp@nicira.com> Co-authored-by: Simon Horman <horms@verge.net.au> Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
@@ -1365,7 +1365,8 @@ dpif_netdev_flow_dump_next(const struct dpif *dpif, void *state_,
|
||||
ofpbuf_use_stack(&buf, &state->maskbuf, sizeof state->maskbuf);
|
||||
minimask_expand(&netdev_flow->cr.match.mask, &wc);
|
||||
odp_flow_key_from_mask(&buf, &wc.masks, &netdev_flow->flow,
|
||||
odp_to_u32(wc.masks.in_port.odp_port));
|
||||
odp_to_u32(wc.masks.in_port.odp_port),
|
||||
SIZE_MAX);
|
||||
|
||||
*mask = buf.data;
|
||||
*mask_len = buf.size;
|
||||
|
Reference in New Issue
Block a user