Re: [PATCH net-next 7/9] net: openvswitch: add likely in flow_lookup

2019-10-07 Thread Tonghao Zhang
On Wed, Oct 2, 2019 at 10:07 AM Pravin Shelar wrote: > > On Sun, Sep 29, 2019 at 7:09 PM wrote: > > > > From: Tonghao Zhang > > > > The most case *index < ma->max, we add likely for performance. > > > > Signed-off-by: Tonghao Zhang > > --- > > net/openvswitch/flow_table.c | 2 +- > > 1 file ch

Re: [PATCH net-next 7/9] net: openvswitch: add likely in flow_lookup

2019-10-01 Thread Pravin Shelar
On Sun, Sep 29, 2019 at 7:09 PM wrote: > > From: Tonghao Zhang > > The most case *index < ma->max, we add likely for performance. > > Signed-off-by: Tonghao Zhang > --- > net/openvswitch/flow_table.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/openvswitch/flow_t

[PATCH net-next 7/9] net: openvswitch: add likely in flow_lookup

2019-09-29 Thread xiangxia . m . yue
From: Tonghao Zhang The most case *index < ma->max, we add likely for performance. Signed-off-by: Tonghao Zhang --- net/openvswitch/flow_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/openvswitch/flow_table.c b/net/openvswitch/flow_table.c index c8e79c1..c21fd5