Re: [PATCH 3/3] net: lantiq: Use napi_complete_done()

2020-08-17 Thread Eric Dumazet
On 8/17/20 5:33 PM, Eric Dumazet wrote: > > > On 8/17/20 2:17 PM, Hauke Mehrtens wrote: >> On 8/16/20 8:07 PM, Eric Dumazet wrote: >>> >>> >>> On 8/15/20 11:33 AM, Hauke Mehrtens wrote: Use napi_complete_done() and activate the interrupts when this function returns true. This way the

Re: [PATCH 3/3] net: lantiq: Use napi_complete_done()

2020-08-17 Thread Eric Dumazet
On 8/17/20 2:17 PM, Hauke Mehrtens wrote: > On 8/16/20 8:07 PM, Eric Dumazet wrote: >> >> >> On 8/15/20 11:33 AM, Hauke Mehrtens wrote: >>> Use napi_complete_done() and activate the interrupts when this function >>> returns true. This way the generic NAPI code can take care of activating >>> the

Re: [PATCH 3/3] net: lantiq: Use napi_complete_done()

2020-08-17 Thread Hauke Mehrtens
On 8/16/20 8:07 PM, Eric Dumazet wrote: > > > On 8/15/20 11:33 AM, Hauke Mehrtens wrote: >> Use napi_complete_done() and activate the interrupts when this function >> returns true. This way the generic NAPI code can take care of activating >> the interrupts. >> >> Signed-off-by: Hauke Mehrtens >

Re: [PATCH 3/3] net: lantiq: Use napi_complete_done()

2020-08-16 Thread Eric Dumazet
On 8/15/20 11:33 AM, Hauke Mehrtens wrote: > Use napi_complete_done() and activate the interrupts when this function > returns true. This way the generic NAPI code can take care of activating > the interrupts. > > Signed-off-by: Hauke Mehrtens > --- > drivers/net/ethernet/lantiq_xrx200.c | 8

[PATCH 3/3] net: lantiq: Use napi_complete_done()

2020-08-15 Thread Hauke Mehrtens
Use napi_complete_done() and activate the interrupts when this function returns true. This way the generic NAPI code can take care of activating the interrupts. Signed-off-by: Hauke Mehrtens --- drivers/net/ethernet/lantiq_xrx200.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) d