Re: [PATCH net-next 1/1] sfc: replace spinlocks with bit ops for busy poll locking

2015-10-12 Thread David Miller
From: Shradha Shah Date: Fri, 9 Oct 2015 10:18:56 +0100 > static void efx_remove_port(struct efx_nic *efx); > -static void efx_init_napi_channel(struct efx_channel *channel); > +static int efx_init_napi_channel(struct efx_channel *channel); The changes to modify the call

[PATCH net-next 1/1] sfc: replace spinlocks with bit ops for busy poll locking

2015-10-09 Thread Shradha Shah
From: Bert Kenward This patch reduces the overhead of locking for busy poll. Previously the state was protected by a lock, whereas now it's manipulated solely with atomic operations. Signed-off-by: Shradha Shah --- drivers/net/ethernet/sfc/efx.c