diff options
author | Charles McLachlan <cmclachlan@solarflare.com> | 2019-12-20 17:27:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-21 06:56:48 +0100 |
commit | 11a14dc8d7a76d3117896b975c536f1372f2a7c4 (patch) | |
tree | 54429d281b249240732e8cba3191d2f63e575df1 /tools | |
parent | sfc: fix channel allocation with brute force (diff) | |
download | linux-11a14dc8d7a76d3117896b975c536f1372f2a7c4.tar.xz linux-11a14dc8d7a76d3117896b975c536f1372f2a7c4.zip |
sfc: Include XDP packet headroom in buffer step size.
Correct a mismatch between rx_page_buf_step and the actual step size
used when filling buffer pages.
This patch fixes the page overrun that occured when the MTU was set to
anything bigger than 1692.
Fixes: 3990a8fffbda ("sfc: allocate channels for XDP tx queues")
Signed-off-by: Charles McLachlan <cmclachlan@solarflare.com>
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions