[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160311013552.GA25270@penelope.isobedori.kobe.vergenet.net>
Date: Fri, 11 Mar 2016 10:35:55 +0900
From: Simon Horman <simon.horman@...ronome.com>
To: Samuel Gauthier <samuel.gauthier@...nd.com>
Cc: Pravin Shelar <pshelar@...ira.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
dev@...nvswitch.org
Subject: Re: [PATCH v2 net-next] ovs: allow nl 'flow set' to use ufid without
flow key
On Thu, Mar 10, 2016 at 05:14:59PM +0100, Samuel Gauthier wrote:
> When we want to change a flow using netlink, we have to identify it to
> be able to perform a lookup. Both the flow key and unique flow ID
> (ufid) are valid identifiers, but we always have to specify the flow
> key in the netlink message. When both attributes are there, the ufid
> is used. The flow key is used to validate the actions provided by
> the userland.
>
> This commit allows to use the ufid without having to provide the flow
> key, as it is already done in the netlink 'flow get' and 'flow del'
> path. The flow key remains mandatory when an action is provided.
>
> Signed-off-by: Samuel Gauthier <samuel.gauthier@...nd.com>
Reviewed-by: Simon Horman <simon.horman@...ronome.com>
Powered by blists - more mailing lists