[ovs-dev] [PATCH] ovs: datapath: hide clang frame-overflow warnings

2019-07-22 Thread Arnd Bergmann
e a lot of stack space. Fixes: 9cc9a5cb176c ("datapath: Avoid using stack larger than 1024.") Signed-off-by: Arnd Bergmann --- net/openvswitch/datapath.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/net/openvswitch/datapath.c b/net/openvswitch/dat

[ovs-dev] [PATCH] openvswitch: fix linking without CONFIG_NF_CONNTRACK_LABELS

2018-11-02 Thread Arnd Bergmann
ration, we can take a shortcut, and completely remove the contrack label code. This may also help the regular optimization. Signed-off-by: Arnd Bergmann --- net/openvswitch/conntrack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/openvswitch/conntrack.c b/net/o

Re: [ovs-dev] [PATCH 18/20] datapath: use ktime_get_ts64() instead of ktime_get_ts()

2018-02-05 Thread Arnd Bergmann
On Fri, Feb 2, 2018 at 10:27 PM, Gregory Rose wrote: > On 2/2/2018 12:13 PM, Arnd Bergmann wrote: >> >> On Fri, Feb 2, 2018 at 7:31 PM, Gregory Rose wrote: > > That's an interesting suggestion Arnd. I'm generally opposed to divide > operations when I can avoid

Re: [ovs-dev] [PATCH 18/20] datapath: use ktime_get_ts64() instead of ktime_get_ts()

2018-02-02 Thread Arnd Bergmann
On Fri, Feb 2, 2018 at 7:31 PM, Gregory Rose wrote: > On 2/2/2018 10:18 AM, Pravin Shelar wrote: >> >> On Tue, Jan 30, 2018 at 4:40 PM, Gregory Rose >> >> This is done in compat code, can you move it to respective header file? > > > Yes - my own preference is to keep these sorts of things close t

Re: [ovs-dev] [PATCH] openvswitch: use ktime_get_ts64() instead of ktime_get_ts()

2017-11-28 Thread Arnd Bergmann
On Tue, Nov 28, 2017 at 5:59 AM, Pravin Shelar wrote: > On Mon, Nov 27, 2017 at 5:11 PM, Arnd Bergmann wrote: >> timespec is deprecated because of the y2038 overflow, so let's convert >> this one to ktime_get_ts64(). The code is already safe even on 32-bit >> ar

[ovs-dev] [PATCH] openvswitch: use ktime_get_ts64() instead of ktime_get_ts()

2017-11-27 Thread Arnd Bergmann
rsion. Signed-off-by: Arnd Bergmann --- net/openvswitch/flow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/openvswitch/flow.c b/net/openvswitch/flow.c index dbe2379329c5..76d050aba7a4 100644 --- a/net/openvswitch/flow.c +++ b/net/openvswitch/flow.c @@ -56,12 +56,12 @@