Skip to contentSkip to conversation

igb: Clear TSICR interrupts together with ICR

PATCH New Joanna Yurdal 2 participants 2 messages May 16, 2018 – May 26, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 igb: Clear TSICR interrupts together with ICR

I have been working with the PTP using IGB i210 and the linux driver
can end up in a state where it stops receiving E1000_ICR_TS interrupt.
The ethernet driver works fine but PPS stops and no tx ptp timestamp
can be retrieved. This is caused by not clearing the TS interrupt before enabling igb interrupts in the igb_up function.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-igb-Clear-TSICR-interrupts-together-with-ICR.patch
Type: text/x-patch
Size: 1745 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20180516/f2af8b68/attachment-0001.bin>

#1 lore raw

PATCH 1/1 igb: Clear TSICR interrupts together with ICR

Quoted 7 lines

From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of Joanna Yurdal
Sent: Wednesday, May 16, 2018 4:14 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH] igb: Clear TSICR interrupts together with ICR

Quoted 5 lines

I have been working with the PTP using IGB i210 and the linux driver can end up in a state where it stops receiving E1000_ICR_TS interrupt. The ethernet driver works fine but PPS stops and no tx ptp timestamp can be retrieved. This is caused by not clearing the TS interrupt before enabling igb interrupts in the igb_up function.