mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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:
committed by
Jakub Kicinski
parent
4c00476d44
commit
e28988aef7
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user