Re: [EXT] [PATCH V3] bnx2x: Prevent ptp_task to be rescheduled indefinitely

2019-06-27 Thread Guilherme G. Piccoli
Thanks again Sudarsana for the good review and advice. I'll send V4 soon. Discussions about your points are in-line below: On 27/06/2019 07:09, Sudarsana Reddy Kalluru wrote: > >> [...] >> if (unlikely(skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP)) { >> if (!(bp->flags & TX_TIME

RE: [EXT] [PATCH V3] bnx2x: Prevent ptp_task to be rescheduled indefinitely

2019-06-27 Thread Sudarsana Reddy Kalluru
PATCH V3] bnx2x: Prevent ptp_task to be rescheduled > indefinitely > > External Email > > -- > Currently bnx2x ptp worker tries to read a register with timestamp > information in case of TX packet time

[PATCH V3] bnx2x: Prevent ptp_task to be rescheduled indefinitely

2019-06-26 Thread Guilherme G. Piccoli
Currently bnx2x ptp worker tries to read a register with timestamp information in case of TX packet timestamping and in case it fails, the routine reschedules itself indefinitely. This was reported as a kworker always at 100% of CPU usage, which was narrowed down to be bnx2x ptp_task. By following