diff options
author | Dmitry Bogdanov <dmitry.bogdanov@aquantia.com> | 2019-05-25 12:58:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-27 20:24:14 +0300 |
commit | eaeb3b7494ba9159323814a8ce8af06a9277d99b (patch) | |
tree | dbc97fe6fdd550cb9e34af16626bde386f00f772 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f38f1ee8aeb2c19f65fc29de49bed231a868198c (diff) | |
download | linux-eaeb3b7494ba9159323814a8ce8af06a9277d99b.tar.xz |
net: aquantia: fix LRO with FCS error
Driver stops producing skbs on ring if a packet with FCS error
was coalesced into LRO session. Ring gets hang forever.
Thats a logical error in driver processing descriptors:
When rx_stat indicates MAC Error, next pointer and eop flags
are not filled. This confuses driver so it waits for descriptor 0
to be filled by HW.
Solution is fill next pointer and eop flag even for packets with FCS error.
Fixes: bab6de8fd180b ("net: ethernet: aquantia: Atlantic A0 and B0 specific functions.")
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: Dmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions