Skip to content

Commit

Permalink
netdev_offload_dpdk: Support vlan insertion in vxlan header.
Browse files Browse the repository at this point in the history
Support vlan insertion in vxlan header

Signed-off-by: Allen Chen <[email protected]>
Signed-off-by: 0-day Robot <[email protected]>
  • Loading branch information
Allen Chen authored and ovsrobot committed Feb 14, 2025
1 parent 9f7eb58 commit a6bf4c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/netdev-offload-dpdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -2137,6 +2137,9 @@ parse_clone_actions(struct netdev *netdev,
if (add_output_action(netdev, actions, ca)) {
return -1;
}
} else if (clone_type == OVS_ACTION_ATTR_PUSH_VLAN) {
const struct ovs_action_push_vlan *vlan = nl_attr_get(ca);
parse_vlan_push_action(actions, vlan);
} else {
VLOG_DBG_RL(&rl,
"Unsupported nested action inside clone(), "
Expand Down

0 comments on commit a6bf4c1

Please sign in to comment.