mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +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:
committed by
Kevin Traynor
parent
365c2e504b
commit
cb9e21dc37
@@ -399,7 +399,7 @@ Supported actions for hardware offload are:
|
||||
- Modification of TCP/UDP (mod_tp_src/mod_tp_dst).
|
||||
- VLAN Push/Pop (push_vlan/pop_vlan).
|
||||
- Modification of IPv6 (set_field:<ADDR>->ipv6_src/ipv6_dst/mod_nw_ttl).
|
||||
- Clone/output (tnl_push and output) for encapsulating over a tunnel.
|
||||
- Clone/output (tnl_push/push_vlan/output) for encapsulating over a tunnel.
|
||||
- Tunnel pop, for packets received on physical ports.
|
||||
|
||||
.. note::
|
||||
|
@@ -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(), "
|
||||
|
Reference in New Issue
Block a user