[PATCH net] net: stmmac: use __napi_schedule() for PREEMPT_RT

2021-01-12 Thread Sebastien Laveze
From: Seb Laveze Use of __napi_schedule_irqoff() is not safe with PREEMPT_RT in which hard interrupts are not disabled while running the threaded interrupt. Using __napi_schedule() works for both PREEMPT_RT and mainline Linux, just at the cost of an additional check if interrupts are disabled fo

[PATCH v1 net] dt-bindings: net: dwmac: fix queue priority documentation

2021-01-11 Thread Sebastien Laveze
From: Seb Laveze The priority field is not the queue priority (queue priority is fixed) but a bitmask of priorities assigned to this queue. In receive, priorities relate to tagged frames priorities. In transmit, priorities relate to PFC frames. Signed-off-by: Seb Laveze --- Documentation/dev

Re: [PATCH net] dt-bindings: net: dwmac: fix queue priority documentation

2021-01-11 Thread Sebastien Laveze
On Sat, 2021-01-09 at 19:16 -0800, Jakub Kicinski wrote: > Hi Sebastien, looks like this no longer applies to net could you > rebase? Hi Jakub, Sure, no problem.

[PATCH net] dt-bindings: net: dwmac: fix queue priority documentation

2021-01-05 Thread Sebastien Laveze (OSS)
From: Seb Laveze The priority field is not the queue priority (queue priority is fixed) but a bitmask of priorities assigned to this queue. In receive, priorities relate to tagged frames priorities. In transmit, priorities relate to PFC frames. Signed-off-by: Seb Laveze --- Documentation/dev