diff options
author | Dean Nelson <dnelson@redhat.com> | 2019-03-26 11:53:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-27 22:52:28 -0700 |
commit | b3e208069477588c06f4d5d986164b435bb06e6d (patch) | |
tree | 990b9fb47a41c71e703c050dca65eca6da04f1bf /tools/perf/scripts/python/stackcollapse.py | |
parent | 7f07e5f1f778605e98cf2156d4db1ff3a3a1a74a (diff) |
thunderx: enable page recycling for non-XDP case
Commit 773225388dae15e72790 ("net: thunderx: Optimize page recycling for XDP")
added code to nicvf_alloc_page() that inadvertently disables receive buffer
page recycling for the non-XDP case by always NULL'ng the page pointer.
This patch corrects two if-conditionals to allow for the recycling of non-XDP
mode pages by only setting the page pointer to NULL when the page is not ready
for recycling.
Fixes: 773225388dae ("net: thunderx: Optimize page recycling for XDP")
Signed-off-by: Dean Nelson <dnelson@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions