Re: [Intel-wired-lan] [PATCH] igb: add more checks for disconnected adapter
From: Mark Rustad
Date: Tue Sep 22 2015 - 01:03:53 EST
On 9/21/15 9:14 PM, Jarod Wilson wrote:
> Just switching to adapter->io_addr everywhere seems to not work as
> noted above. :\ Note that I'm also chasing this from the other end
> with the author of the pci patches that seem to have triggered this,
> so the real bug might be over in pci-land, but hardening against
> explosions in igb still seems like a worthwhile effort here.
My understanding is that there can be problems if too many writes to a
removed device happen. That is why ixgbe avoids doing that by testing
for removal in some places. The io_addr does get used in the transmit
path simply to avoid adding a test to that hot path. That approach
seems to be working well for ixgbe.
Attachment:
signature.asc
Description: OpenPGP digital signature