aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2022-05-17 03:15:34 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2022-05-17 03:15:34 +0000
commit9b88ecd674ac292cb6d7ab644595091edd6ec87b (patch)
treef7a59f2d4fe08a137dc6f2ed2f49ad66fa345fdd
parentaa9f97af93fc9df5596654fc11f2720878c81e1a (diff)
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
-rw-r--r--sys/dev/igc/if_igc.c2
1 files changed, 1 insertions, 1 deletions
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");