Re: [ovs-dev] [PATCH/RFC repost 5/8] datapath: Move last_action() helper to datapath.h

2014-09-24 Thread Simon Horman
On Fri, Sep 19, 2014 at 03:06:38PM +0100, Thomas Graf wrote: On 09/18/14 at 10:55am, Simon Horman wrote: diff --git a/datapath/datapath.h b/datapath/datapath.h index c5d3c86..74a15e6 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -209,4 +209,9 @@ do {

Re: [ovs-dev] [PATCH/RFC repost 5/8] datapath: Move last_action() helper to datapath.h

2014-09-24 Thread Thomas Graf
On 09/24/14 at 03:00pm, Simon Horman wrote: On Fri, Sep 19, 2014 at 03:06:38PM +0100, Thomas Graf wrote: Can we rename move this to net/netlink.h instead? Sure, how about nla_is_last()? Sounds great ___ dev mailing list dev@openvswitch.org

Re: [ovs-dev] [PATCH/RFC repost 5/8] datapath: Move last_action() helper to datapath.h

2014-09-24 Thread Simon Horman
On Wed, Sep 24, 2014 at 09:20:15AM +0100, Thomas Graf wrote: On 09/24/14 at 03:00pm, Simon Horman wrote: On Fri, Sep 19, 2014 at 03:06:38PM +0100, Thomas Graf wrote: Can we rename move this to net/netlink.h instead? Sure, how about nla_is_last()? Sounds great Done. I have posted

Re: [ovs-dev] [PATCH/RFC repost 5/8] datapath: Move last_action() helper to datapath.h

2014-09-19 Thread Thomas Graf
On 09/18/14 at 10:55am, Simon Horman wrote: diff --git a/datapath/datapath.h b/datapath/datapath.h index c5d3c86..74a15e6 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -209,4 +209,9 @@ do { \ if

[ovs-dev] [PATCH/RFC repost 5/8] datapath: Move last_action() helper to datapath.h

2014-09-17 Thread Simon Horman
This is in preparation for using last_action() from more than one C file as part of supporting an odp select group action. Signed-off-by: Simon Horman simon.hor...@netronome.com --- datapath/actions.c | 6 -- datapath/datapath.h | 5 + 2 files changed, 5 insertions(+), 6 deletions(-)