linux_dsm_epyc7002/drivers/net/ethernet/apm/xgene
Iyappan Subramanian e3978673f5 drivers: net: xgene: Fix MSS programming
Current driver programs static value of MSS in hardware register for TSO
offload engine to segment the TCP payload regardless the MSS value
provided by network stack.

This patch fixes this by programming hardware registers with the
stack provided MSS value.

Since the hardware has the limitation of having only 4 MSS registers,
this patch uses reference count of mss values being used.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: Toan Le <toanle@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-23 08:38:38 -04:00
..
Kconfig drivers: net: xgene: Poll link status via GPIO 2016-08-13 11:48:53 -07:00
Makefile drivers: net: xgene: Add support for Classifier engine 2016-02-17 22:08:34 -05:00
xgene_enet_cle.c drivers: net: xgene: Fix RSS indirection table fields 2016-08-13 11:48:52 -07:00
xgene_enet_cle.h drivers: net: xgene: Fix RSS indirection table fields 2016-08-13 11:48:52 -07:00
xgene_enet_ethtool.c net: ethernet: apm: xgene: use new api ethtool_{get|set}_link_ksettings 2016-09-13 11:45:19 -04:00
xgene_enet_hw.c net: ethernet: apm: xgene: use phydev from struct net_device 2016-09-13 11:45:19 -04:00
xgene_enet_hw.h drivers: net: xgene: Fix MSS programming 2016-09-23 08:38:38 -04:00
xgene_enet_main.c drivers: net: xgene: Fix MSS programming 2016-09-23 08:38:38 -04:00
xgene_enet_main.h drivers: net: xgene: Fix MSS programming 2016-09-23 08:38:38 -04:00
xgene_enet_ring2.c drivers: net: xgene: Add support for multiple queues 2016-02-17 22:08:34 -05:00
xgene_enet_ring2.h drivers: net: xgene: Add ring manager v2 functions 2015-04-30 16:03:13 -04:00
xgene_enet_sgmac.c drivers: net: xgene: Add backward compatibility 2016-07-25 21:51:43 -07:00
xgene_enet_sgmac.h drivers: net: xgene: Fix module unload crash - clkrst sequence 2016-07-25 21:51:43 -07:00
xgene_enet_xgmac.c drivers: net: xgene: Fix MSS programming 2016-09-23 08:38:38 -04:00
xgene_enet_xgmac.h drivers: net: xgene: XFI PCS reset when link is down 2016-08-13 11:48:53 -07:00