In preparation for supporting frame preemption, when entering TSN mode,Tested-by: Mor Bar-Gabay <morx.bar.gabay@xxxxxxxxx>
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(+)