diff options
author | Nelson Chang <nelson.chang@mediatek.com> | 2016-09-17 23:50:56 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-19 01:40:47 -0400 |
commit | 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd (patch) | |
tree | fd420782d9fb56203ec7292b973c1ce7e9b19e65 /Documentation | |
parent | ee40681037c0e5fa0058447d7603a4fb77308bce (diff) |
net: ethernet: mediatek: add ethtool functions to configure RX flows of HW LRO
The codes add ethtool functions to set RX flows for HW LRO. Because the
HW LRO hardware can only recognize the destination IP of TCP/IP RX flows,
the ethtool command to add HW LRO flow is as below:
ethtool -N [devname] flow-type tcp4 dst-ip [ip_addr] loc [0~1]
Otherwise, cause the hardware can set total four destination IPs, each
GMAC (GMAC1/GMAC2) can set two IPs separately at most.
Signed-off-by: Nelson Chang <nelson.chang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions