net: stmmac: socfpga: Enable TSO for Agilex5 platform

Agilex5 supports TCP Segmentation Offload(TSO). This commit enables
TSO for Agilex5 socfpga platforms.

Signed-off-by: Rohan G Thomas <rohan.g.thomas@altera.com>
Link: https://patch.msgid.link/20251101-agilex5_ext-v2-3-a6b51b4dca4d@altera.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Rohan G Thomas
2025-11-01 01:27:09 +08:00
committed by Jakub Kicinski
parent 4c00476d44
commit e28988aef7

View File

@@ -458,6 +458,9 @@ static void socfpga_agilex5_setup_plat_dat(struct socfpga_dwmac *dwmac)
plat_dat->core_type = DWMAC_CORE_XGMAC;
/* Enable TSO */
plat_dat->flags |= STMMAC_FLAG_TSO_EN;
/* Enable TBS */
switch (plat_dat->tx_queues_to_use) {
case 8: