2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

netdev-offload-dpdk: Support offload of clone push_vlan action.

Support for tnl_push/output already exists, add push_vlan.

Signed-off-by: Allen Chen <allen.chen@jaguarmicro.com>
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
This commit is contained in:
Allen Chen
2025-02-21 15:57:11 +00:00
committed by Kevin Traynor
parent 365c2e504b
commit cb9e21dc37
2 changed files with 4 additions and 1 deletions

View File

@@ -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(), "