Adding support for multiple local and remote destinations.
Each non-last destination is embedded in a sample action with ratio=1.
for example:
set raw_encap 0 raw pattern is <RAW_HEADER>/ end_set;
set vxlan ip-version ipv4 vni 100 udp-src 0 udp-dst 4789 ip-src 172.168.1.1
ip-dst 172.168.1.2 eth-src 24:8a:07:ad:79:12 eth-dst 24:8a:07:ad:77:4a;
set sample_actions 1 port_id original 0 id 2 / end;
set sample_actions 2 raw_encap index 0 / port_id original 0 id 0 / end;
flow create 1 ingress priority 0 group 0 transfer pattern eth /
end actions count / sample ratio 1 index 1 / raw_encap index 0 /
sample ratio 1 index 2 / vxlan_encap / port_id original 0 id 0 / end
This patch is a rebased version of [1].
[1] https://patchwork.ozlabs.org/project/openvswitch/list/?series=246448
Noa Levy (5):
netdev-offload-dpdk: Introduce a dump_port_id helper function
netdev-offload-dpdk: Introduce a dump_raw_encap helper function
netdev-offload-dpdk: Support multiple local destinations
netdev-offload-dpdk: Extract raw_encap and output netdev by
parse_clone_actions
netdev-offload-dpdk: Support multiple remote destinations
NEWS | 2 +
lib/netdev-offload-dpdk.c | 214 +++++++++++++++++++++++++++++++-------
2 files changed, 180 insertions(+), 36 deletions(-)
--
2.21.0
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev