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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces@xxxxxxxxxx] On
> Behalf Of Kevin Laatz
> Sent: Monday, July 15, 2019 8:06 PM
> To: netdev@xxxxxxxxxxxxxxx; ast@xxxxxxxxxx; daniel@xxxxxxxxxxxxx; Topel,
> Bjorn <bjorn.topel@xxxxxxxxx>; Karlsson, Magnus
> <magnus.karlsson@xxxxxxxxx>; jakub.kicinski@xxxxxxxxxxxxx;
> jonathan.lemon@xxxxxxxxx
> Cc: Richardson, Bruce <bruce.richardson@xxxxxxxxx>; Loftus, Ciara
> <ciara.loftus@xxxxxxxxx>; intel-wired-lan@xxxxxxxxxxxxxxxx;
> bpf@xxxxxxxxxxxxxxx; Laatz, Kevin <kevin.laatz@xxxxxxxxx>
> 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 <kevin.laatz@xxxxxxxxx>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_xsk.c | 13 +++----------
>  1 file changed, 3 insertions(+), 10 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers@xxxxxxxxx>





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux