git: 9b88ecd674ac - main - igc: Increase rx_buffer_size local variable to 32b
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 May 2022 03:17:07 UTC
The branch main has been updated by kbowling (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=9b88ecd674ac292cb6d7ab644595091edd6ec87b commit 9b88ecd674ac292cb6d7ab644595091edd6ec87b Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2022-05-17 03:15:34 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2022-05-17 03:15:34 +0000 igc: Increase rx_buffer_size local variable to 32b Apply 6987c47569b377f4b6eba9966afdedfb1b39fca8 to igc. This is not expected to have any benefit on current parts with current observed PBA sizes but will avoid surprises if they are increased in future chips. Approved by: grehan MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D35217 --- sys/dev/igc/if_igc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/igc/if_igc.c b/sys/dev/igc/if_igc.c index bce3d16b5352..2430101283a2 100644 --- a/sys/dev/igc/if_igc.c +++ b/sys/dev/igc/if_igc.c @@ -1609,7 +1609,7 @@ igc_reset(if_ctx_t ctx) device_t dev = iflib_get_dev(ctx); struct igc_adapter *adapter = iflib_get_softc(ctx); struct igc_hw *hw = &adapter->hw; - u16 rx_buffer_size; + u32 rx_buffer_size; u32 pba; INIT_DEBUGOUT("igc_reset: begin");