commit | 11a14dc8d7a76d3117896b975c536f1372f2a7c4 | [log] [tgz] |
---|---|---|
author | Charles McLachlan <cmclachlan@solarflare.com> | Fri Dec 20 16:27:10 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 20 21:56:48 2019 -0800 |
tree | 54429d281b249240732e8cba3191d2f63e575df1 | |
parent | 8700aff089843399f95bc7701ae87b642b35a716 [diff] |
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>