git: 0cfe15ba9f3c - stable/13 - igc: Increase rx_buffer_size local variable to 32b
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 May 2022 16:37:01 UTC
The branch stable/13 has been updated by kbowling (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=0cfe15ba9f3c7016d71c2ba370cbfbc75e8917cf commit 0cfe15ba9f3c7016d71c2ba370cbfbc75e8917cf Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2022-05-17 03:15:34 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2022-05-20 16:36:54 +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 Differential Revision: https://reviews.freebsd.org/D35217 (cherry picked from commit 9b88ecd674ac292cb6d7ab644595091edd6ec87b) --- 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 565f3df61d96..20dbd3f71d39 100644 --- a/sys/dev/igc/if_igc.c +++ b/sys/dev/igc/if_igc.c @@ -1610,7 +1610,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");