aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorFaizal Rahim <[email protected]>2025-03-18 03:07:35 +0000
committerTony Nguyen <[email protected]>2025-04-18 15:43:10 +0000
commit0d58cdc902dace2298406b3972def04f55e3d775 (patch)
treec0e59897762808ecaa999ec0ca8f87ab301aee94 /drivers/net/ethernet/intel/igc/igc_main.c
parentigc: use FIELD_PREP and GENMASK for existing TX packet buffer size (diff)
downloadkernel-0d58cdc902dace2298406b3972def04f55e3d775.tar.gz
kernel-0d58cdc902dace2298406b3972def04f55e3d775.zip
igc: optimize TX packet buffer utilization for TSN mode
In preparation for upcoming frame preemption patches, optimize the TX packet buffer size. The total packet buffer size (RX + TX) is 64KB, with a maximum of 34KB for either RX or TX. Split the buffer evenly, allocating 32KB to each. For TX, assign 7KB to each of the four TX packet buffers (total 28KB) and reserve 4KB for BMC. References: I225/I226 SW User Manual Section 4.7.9, Section 8.3.2 Co-developed-by: Vinicius Costa Gomes <[email protected]> Signed-off-by: Vinicius Costa Gomes <[email protected]> Signed-off-by: Faizal Rahim <[email protected]> Tested-by: Mor Bar-Gabay <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions