Re: [PATCH net-next 2/3] indirect call wrappers: add helpers for 3 and 4 ways switch

2019-06-05 Thread Paolo Abeni
On Mon, 2019-06-03 at 22:27 +, Saeed Mahameed wrote: > On Mon, 2019-06-03 at 11:51 +0200, Paolo Abeni wrote: > > On Fri, 2019-05-31 at 18:30 +, Saeed Mahameed wrote: > > > On Fri, 2019-05-31 at 14:53 +0200, Paolo Abeni wrote: > > > > Experimental results[1] has shown that resorting to sever

Re: [PATCH net-next 2/3] indirect call wrappers: add helpers for 3 and 4 ways switch

2019-06-03 Thread Saeed Mahameed
On Mon, 2019-06-03 at 11:51 +0200, Paolo Abeni wrote: > On Fri, 2019-05-31 at 18:30 +, Saeed Mahameed wrote: > > On Fri, 2019-05-31 at 14:53 +0200, Paolo Abeni wrote: > > > Experimental results[1] has shown that resorting to several > > > branches > > > and a direct-call is faster than indirect

Re: [PATCH net-next 2/3] indirect call wrappers: add helpers for 3 and 4 ways switch

2019-06-03 Thread Paolo Abeni
On Fri, 2019-05-31 at 18:30 +, Saeed Mahameed wrote: > On Fri, 2019-05-31 at 14:53 +0200, Paolo Abeni wrote: > > Experimental results[1] has shown that resorting to several branches > > and a direct-call is faster than indirect call via retpoline, even > > when the number of added branches go u

Re: [PATCH net-next 2/3] indirect call wrappers: add helpers for 3 and 4 ways switch

2019-05-31 Thread Saeed Mahameed
On Fri, 2019-05-31 at 14:53 +0200, Paolo Abeni wrote: > Experimental results[1] has shown that resorting to several branches > and a direct-call is faster than indirect call via retpoline, even > when the number of added branches go up 5. > > This change adds two additional helpers, to cope with i

[PATCH net-next 2/3] indirect call wrappers: add helpers for 3 and 4 ways switch

2019-05-31 Thread Paolo Abeni
Experimental results[1] has shown that resorting to several branches and a direct-call is faster than indirect call via retpoline, even when the number of added branches go up 5. This change adds two additional helpers, to cope with indirect calls with up to 4 available direct call option. We will