> -----Original Message-----
> From: Intel-wired-lan [mailto:[email protected]] On
> Behalf Of Kevin Laatz
> Sent: Monday, July 15, 2019 8:06 PM
> To: [email protected]; [email protected]; [email protected]; Topel,
> Bjorn <[email protected]>; Karlsson, Magnus
> <[email protected]>; [email protected];
> [email protected]
> Cc: Richardson, Bruce <[email protected]>; Loftus, Ciara
> <[email protected]>; [email protected];
> [email protected]; Laatz, Kevin <[email protected]>
> Subject: [Intel-wired-lan] [PATCH v2 02/10] ixgbe: 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 'obi' values directly without
> having to mask and add the headroom.
> 
> Signed-off-by: Kevin Laatz <[email protected]>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 13 +++----------
>  1 file changed, 3 insertions(+), 10 deletions(-)

Tested-by: Andrew Bowers <[email protected]>


Reply via email to