RE: [Intel-wired-lan] [PATCH intel-next v6 4/8] i40e: Change size to truesize when using i40e_rx_buffer_flip()

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

 




>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of
>Sarkar, Tirthendu
>Sent: 18 February 2023 00:45
>To: intel-wired-lan@xxxxxxxxxxxxxxxx
>Cc: Sarkar, Tirthendu <tirthendu.sarkar@xxxxxxxxx>; netdev@xxxxxxxxxxxxxxx;
>Brandeburg, Jesse <jesse.brandeburg@xxxxxxxxx>; Nguyen, Anthony L
><anthony.l.nguyen@xxxxxxxxx>; bpf@xxxxxxxxxxxxxxx; Karlsson, Magnus
><magnus.karlsson@xxxxxxxxx>
>Subject: [Intel-wired-lan] [PATCH intel-next v6 4/8] i40e: Change size to
>truesize when using i40e_rx_buffer_flip()
>
>Truesize is now passed directly to i40e_rx_buffer_flip() instead of size so that
>it does not need to recalculate truesize from size using
>i40e_rx_frame_truesize() before adjusting page offset.
>
>With these change the function can now be used during skb building and
>adding frags. In later patches it will also be easier for adjusting page offsets for
>multi-buffers.
>
>Signed-off-by: Tirthendu Sarkar <tirthendu.sarkar@xxxxxxxxx>
>---
> drivers/net/ethernet/intel/i40e/i40e_txrx.c | 54 ++++++++-------------
> 1 file changed, 19 insertions(+), 35 deletions(-)
>

Tested-by: Chandan Kumar Rout <chandanx.rout@xxxxxxxxx> (A Contingent Worker at Intel)




[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