Commit e28988ae authored by Rohan G Thomas's avatar Rohan G Thomas Committed by Jakub Kicinski
Browse files

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: default avatarRohan G Thomas <rohan.g.thomas@altera.com>
Link: https://patch.msgid.link/20251101-agilex5_ext-v2-3-a6b51b4dca4d@altera.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 4c00476d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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: