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

Rout, ChandanX chandanx.rout at intel.com
Fri Mar 3 17:22:44 UTC 2023



>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Sarkar, Tirthendu
>Sent: 18 February 2023 00:45
>To: intel-wired-lan at lists.osuosl.org
>Cc: Sarkar, Tirthendu <tirthendu.sarkar at intel.com>; netdev at vger.kernel.org;
>Brandeburg, Jesse <jesse.brandeburg at intel.com>; Nguyen, Anthony L
><anthony.l.nguyen at intel.com>; bpf at vger.kernel.org; Karlsson, Magnus
><magnus.karlsson at intel.com>
>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 at intel.com>
>---
> 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 at intel.com> (A Contingent Worker at Intel)


More information about the Intel-wired-lan mailing list