[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140919134449.GA8257@casper.infradead.org>
Date: Fri, 19 Sep 2014 14:44:49 +0100
From: Thomas Graf <tgraf@...g.ch>
To: Simon Horman <simon.horman@...ronome.com>
Cc: dev@...nvswitch.org, netdev@...r.kernel.org,
Pravin Shelar <pshelar@...ira.com>,
Jesse Gross <jesse@...ira.com>
Subject: Re: [PATCH/RFC repost 3/8] odp-util: formatting of datapath select
group action
On 09/18/14 at 10:55am, Simon Horman wrote:
> Allow formatting of select group action. This is used
> when pretty-printing datapath flows. Subsequent patches
> will add support for the select group action to the datapath
> and ovs-vswtichd.
>
> Signed-off-by: Simon Horman <simon.horman@...ronome.com>
> ---
> lib/odp-util.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 67 insertions(+)
>
> diff --git a/lib/odp-util.c b/lib/odp-util.c
> index 77b456f..4c8dd39 100644
> --- a/lib/odp-util.c
> +++ b/lib/odp-util.c
> @@ -182,6 +182,71 @@ format_odp_sample_action(struct ds *ds, const struct nlattr *attr)
> ds_put_format(ds, "))");
> }
>
> +static bool
> +format_odp_bucket(struct ds *ds, const struct nlattr *attr)
> +{
> + static const struct nl_policy ovs_sample_policy[] = {
Not that it would matter much but you might want to rename that to
ovs_bucket_policy[]. Same below.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists