> -----Original Message-----
> From: Kathleen Capella <[email protected]>
> Sent: Friday, March 25, 2022 6:12 AM
> To: Wu, Jingjing <[email protected]>; Xing, Beilei <[email protected]>
> Cc: [email protected]; [email protected]; [email protected];
> [email protected]; Kathleen Capella <[email protected]>
> Subject: [PATCH] net/iavf: remove extra copy step in Rx bulk path
> 
> In the Rx bulk path, packets which are taken from the HW ring, are first
> copied to the stage data structure and then later copied from the stage to the
> rx_pkts array. For the number of packets requested immediately by the
> receiving function, this two-step process adds extra overhead that is not
> necessary.
> 
> Instead, put requested number of packets directly into the rx_pkts array and
> only stage excess packets. On N1SDP with 1 core/port, l3fwd saw up to 4%
> performance improvement. On x86, no difference in performance was
> observed.
> 
> Signed-off-by: Kathleen Capella <[email protected]>
> Suggested-by: Dharmik Thakkar <[email protected]>

Acked-by: Qi Zhang <[email protected]>

Applied to dpdk-next-net-intel.

Thanks
Qi

Reply via email to