Thread (136 messages) 136 messages, 11 authors, 2019-08-30

RE: [Intel-wired-lan] [PATCH v2 01/10] i40e: simplify Rx buffer recycle

From: Bowers, AndrewX <hidden>
Date: 2019-07-19 17:19:14
Also in: bpf, intel-wired-lan

-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On
Behalf Of Kevin Laatz
Sent: Monday, July 15, 2019 8:06 PM
To: netdev@vger.kernel.org; ast@kernel.org; daniel@iogearbox.net; Topel,
Bjorn [off-list ref]; Karlsson, Magnus
[off-list ref]; jakub.kicinski@netronome.com;
jonathan.lemon@gmail.com
Cc: Richardson, Bruce <redacted>; Loftus, Ciara
[off-list ref]; intel-wired-lan@lists.osuosl.org;
bpf@vger.kernel.org; Laatz, Kevin [off-list ref]
Subject: [Intel-wired-lan] [PATCH v2 01/10] i40e: simplify Rx buffer recycle

Currently, the dma, addr and handle are modified when we reuse Rx buffers
in zero-copy mode. However, this is not required as the inputs to the
function are copies, not the original values themselves. As we use the copies
within the function, we can use the original 'old_bi' values directly without
having to mask and add the headroom.

Signed-off-by: Kevin Laatz <redacted>
---
 drivers/net/ethernet/intel/i40e/i40e_xsk.c | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)
Tested-by: Andrew Bowers <redacted>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help