Re: [PATCH RESEND] igb: Reset TXPBSIZE to default value

From: Xander Huff
Date: Fri Jan 16 2015 - 15:10:17 EST


On 1/16/2015 1:41 PM, Vick, Matthew wrote:
On 1/16/15, 10:59 AM, "Xander Huff" <xander.huff@xxxxxx> wrote:

From: Jeff Westfahl <jeff.westfahl@xxxxxx>

The TXPBSIZE register of the i210 resets to its default value only
at power-on. It doesn't reset if you reboot the system, only if you
pull power. If something (another driver, another OS, etc.) modifies
this register from its default value, the igb driver doesn't function
correctly. It detects a hang of the transmitter and continuously resets
the adapter. Here we set this value to its default when resetting the
i210 to resolve this issue.

This should have already been resolved last May in commit
27dff8b2f680ce966b5d959be9d69dd0edd92e3b ("igb: add defaults for i210
TX/RX PBSIZE"). Are you running the latest upstream kernel?

Cheers,
Matthew

Looks like you're correct. Please disregard this patch.

--
Xander Huff
Staff Software Engineer
National Instruments
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/