On 14/04/2017 04:11, Joe Stringer wrote:
On 7 April 2017 at 06:12, Roi Dayan <r...@mellanox.com> wrote:
From: Paul Blakey <pa...@mellanox.com>
Signed-off-by: Paul Blakey <pa...@mellanox.com>
Reviewed-by: Roi Dayan <r...@mellanox.com>
Reviewed-by: Simon Horman <simon.hor...@netronome.com>
---
<snip>
diff --git a/lib/netdev.h b/lib/netdev.h
index d6c07c1..6d2db7d 100644
--- a/lib/netdev.h
+++ b/lib/netdev.h
@@ -156,6 +156,29 @@ int netdev_send(struct netdev *, int qid, struct
dp_packet_batch *,
bool may_steal, bool concurrent_txq);
void netdev_send_wait(struct netdev *, int qid);
+/* Flow offloading. */
+struct offload_info {
+ const void *port_hmap_obj; /* To query ports info from netdev port map */
+ ovs_be16 tp_dst_port; /* Destination port for tunnel in SET action */
Is this assuming there is only ever one tunnel destination port? What
about multiple output?
Yes. we currently only support single dst port output. if there is more
than 1 we fail with EOPNOTSUPP and fallback to OVS datapath.
the check is done in dpif-netlink.c parse_flow_put()
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev