Re: [PATCH net] sfc: skip ptp allocations on secondary interfaces

2016-12-16 Thread Jarod Wilson
On 2016-12-15 3:31 PM, Jarod Wilson wrote: Rather than allocating efx_ptp_data, a buffer, a workqueue, etc., and then ultimately deciding not to call ptp_clock_register() for non-primary interfaces, just exit out of efx_ptp_prober() earlier. Saves a little memory and speeds up init and teardown s

[PATCH net] sfc: skip ptp allocations on secondary interfaces

2016-12-15 Thread Jarod Wilson
Rather than allocating efx_ptp_data, a buffer, a workqueue, etc., and then ultimately deciding not to call ptp_clock_register() for non-primary interfaces, just exit out of efx_ptp_prober() earlier. Saves a little memory and speeds up init and teardown slightly. CC: linux-net-driv...@solarflare.co