linux-stable/drivers/net/ethernet/mediatek
Nelson Chang ee40681037 net: ethernet: mediatek: add HW LRO functions of PDMA RX rings
The codes add the large receive offload (LRO) functions by hardware as below:
1) PDMA has total four RX rings that one is the normal ring, and others can
   be configured as LRO rings.
2) Only TCP/IP RX flows can be offloaded. The hardware can set four IP
   addresses at most, if the destination IP of the RX flow matches one of
   them, it has the chance to be offloaded.
3) There three RX flows can be offloaded at most, and one flow is mapped to
   one RX ring.
4) If there are more than three candidate RX flows, the hardware can
   choose three of them by throughput comparison results.

Signed-off-by: Nelson Chang <nelson.chang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-19 01:40:47 -04:00
..
Kconfig
Makefile
mtk_eth_soc.c net: ethernet: mediatek: add HW LRO functions of PDMA RX rings 2016-09-19 01:40:47 -04:00
mtk_eth_soc.h net: ethernet: mediatek: add HW LRO functions of PDMA RX rings 2016-09-19 01:40:47 -04:00