Re: [PATCH] net/txgbe: fix a mass of interrupts

2024-11-24 Thread Stephen Hemminger
On Tue, 19 Nov 2024 10:02:23 +0800 Jiawen Wu wrote: > On Tue, Nov 19, 2024 3:59 AM, Ferruh Yigit wrote: > > On 11/15/2024 8:33 AM, Jiawen Wu wrote: > > > Since firmware version 0x20010, GPIO interrupt enable is set to 0xd by > > > default, which means enable bit 0 'tx_fault'. And GPIO interrupt

RE: [PATCH] net/txgbe: fix a mass of interrupts

2024-11-18 Thread Jiawen Wu
On Tue, Nov 19, 2024 3:59 AM, Ferruh Yigit wrote: > On 11/15/2024 8:33 AM, Jiawen Wu wrote: > > Since firmware version 0x20010, GPIO interrupt enable is set to 0xd by > > default, which means enable bit 0 'tx_fault'. And GPIO interrupt polarity > > is set to 0xd by default too, which means these in

Re: [PATCH] net/txgbe: fix a mass of interrupts

2024-11-18 Thread Ferruh Yigit
On 11/15/2024 8:33 AM, Jiawen Wu wrote: > Since firmware version 0x20010, GPIO interrupt enable is set to 0xd by > default, which means enable bit 0 'tx_fault'. And GPIO interrupt polarity > is set to 0xd by default too, which means these interrupts are rising-edge > sensitive. > > So when unplug

[PATCH] net/txgbe: fix a mass of interrupts

2024-11-15 Thread Jiawen Wu
Since firmware version 0x20010, GPIO interrupt enable is set to 0xd by default, which means enable bit 0 'tx_fault'. And GPIO interrupt polarity is set to 0xd by default too, which means these interrupts are rising-edge sensitive. So when unplug the SFP module, GPIO line 0 'tx_fault' is 0 -> 1 tri