RE: [Intel-wired-lan] [PATCH intel-next v6 6/8] i40e: introduce next_to_process to i40e_ring

[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 6/8] i40e: introduce
>next_to_process to i40e_ring
>
>Add a new field called next_to_process in the i40e_ring that is advanced for
>every buffer and change the semantics of next_to_clean to point to the first
>buffer of a packet. Driver will use next_to_process in the same way
>next_to_clean was used previously.
>
>For the non multi-buffer case, next_to_process and next_to_clean will always
>be the same since each packet consists of a single buffer.
>
>Signed-off-by: Tirthendu Sarkar <tirthendu.sarkar@xxxxxxxxx>
>---
> drivers/net/ethernet/intel/i40e/i40e_txrx.c | 26 ++++++++++++---------
>drivers/net/ethernet/intel/i40e/i40e_txrx.h |  4 ++++
> 2 files changed, 19 insertions(+), 11 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