On Wed, Feb 08, 2017 at 05:29:22PM +0200, Roi Dayan wrote:
> From: Paul Blakey <[email protected]>
>
> While dumping flows, dump flows that were offloaded to
> netdev and parse them back to dpif flow.
>
> Signed-off-by: Paul Blakey <[email protected]>
> Reviewed-by: Roi Dayan <[email protected]>
> ---
> lib/dpif-netlink.c | 178
> +++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 178 insertions(+)
>
> diff --git a/lib/dpif-netlink.c b/lib/dpif-netlink.c
> index 0a2e429..5519c10 100644
> --- a/lib/dpif-netlink.c
> +++ b/lib/dpif-netlink.c
...
> @@ -1425,6 +1465,13 @@ struct dpif_netlink_flow_dump_thread {
> struct dpif_flow_stats stats;
> struct ofpbuf nl_flows; /* Always used to store flows. */
> struct ofpbuf *nl_actions; /* Used if kernel does not supply actions. */
> + int netdev_dump_idx; /* This thread current netdev dump index */
> + bool netdev_done; /* If we are finished dumping netdevs */
> +
> + /* (Key/Mask/Actions) Buffers for netdev dumpin */
s/dumpin/dumping/
...
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev