Re: [PATCH net-next 8/9] ipvlan: improve compiler hints

2017-04-27 Thread David Miller
Alexander H >> ; Grandhi, Sainath >> ; Mahesh Bandewar ; >> Chiappero, Marco >> Subject: [PATCH net-next 8/9] ipvlan: improve compiler hints >> >> Extend inlining and branch prediction hints. >> >> Signed-off-by: Marco Chiappero >>

RE: [PATCH net-next 8/9] ipvlan: improve compiler hints

2017-04-27 Thread David Laight
From: Duyck, Alexander H > Sent: 27 April 2017 16:21 ... > > -unsigned int ipvlan_mac_hash(const unsigned char *addr) > > +inline unsigned int ipvlan_mac_hash(const unsigned char *addr) > > { > > u32 hash = jhash_1word(__get_unaligned_cpu32(addr + 2), > >ipvlan_jhas

RE: [PATCH net-next 8/9] ipvlan: improve compiler hints

2017-04-27 Thread Duyck, Alexander H
> -Original Message- > From: Chiappero, Marco > Sent: Thursday, April 27, 2017 7:52 AM > To: netdev@vger.kernel.org > Cc: David S . Miller ; Kirsher, Jeffrey T > ; Duyck, Alexander H > ; Grandhi, Sainath > ; Mahesh Bandewar ; > Chiappero, Marco > Subjec

[PATCH net-next 8/9] ipvlan: improve compiler hints

2017-04-27 Thread Marco Chiappero
Extend inlining and branch prediction hints. Signed-off-by: Marco Chiappero --- drivers/net/ipvlan/ipvlan_core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ipvlan/ipvlan_core.c b/drivers/net/ipvlan/ipvlan_core.c index a9fc1b5..67e342d 100644 --- a/drive