Re: [Intel-wired-lan] [PATCH iwl-next v10 09/14] igc: set the RX packet buffer size for TSN mode

From: Mor Bar-Gabay
Date: Thu Mar 27 2025 - 09:06:03 EST


On 18/03/2025 5:07, Faizal Rahim wrote:
In preparation for supporting frame preemption, when entering TSN mode,
set the receive packet buffer to 15KB for the Express MAC, 15KB for
the Preemptible MAC and 2KB for the BMC.

References:
I225/I226 SW User Manual, Section 4.7.9, Section 7.1.3.2, Section 8.3.1

The newly introduced macros follow the naming from the i226 SW User Manual
for easy reference.

Co-developed-by: Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxx>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxx>
Signed-off-by: Faizal Rahim <faizal.abdul.rahim@xxxxxxxxxxxxxxx>
---
drivers/net/ethernet/intel/igc/igc_defines.h | 5 ++++
drivers/net/ethernet/intel/igc/igc_tsn.c | 25 ++++++++++++++++++++
2 files changed, 30 insertions(+)

Tested-by: Mor Bar-Gabay <morx.bar.gabay@xxxxxxxxx>