diff options
| author | Peng Li <lipeng321@huawei.com> | 2018-12-20 11:52:05 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-12-19 23:47:59 -0800 |
| commit | 31a16f99e02c2e0b40a5fb05d66f5e56721027e2 (patch) | |
| tree | 9137713e33a8ba7c136705d1116e9252ec53701f /tools/perf/scripts/python | |
| parent | net: hns3: don't restore rules when flow director is disabled (diff) | |
| download | linux-31a16f99e02c2e0b40a5fb05d66f5e56721027e2.tar.gz linux-31a16f99e02c2e0b40a5fb05d66f5e56721027e2.zip | |
net: hns3: fix the descriptor index when get rss type
Driver gets rss information from the last descriptor of the packet.
When driver handle the rss type, ring->next_to_clean indicates the
first descriptor of next packet.
This patch fix the descriptor index with "ring->next_to_clean - 1".
Fixes: 232fc64b6e62 ("net: hns3: Add HW RSS hash information to RX skb")
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
