[PATCH] net/iavf: remove extra check in iavf vector Tx

Zhang, Qi Z qi.z.zhang at intel.com
Tue Mar 1 12:51:57 CET 2022



> -----Original Message-----
> From: Kathleen Capella <kathleen.capella at arm.com>
> Sent: Wednesday, February 23, 2022 6:48 AM
> To: Richardson, Bruce <bruce.richardson at intel.com>; Ananyev, Konstantin
> <konstantin.ananyev at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>;
> Xing, Beilei <beilei.xing at intel.com>
> Cc: dev at dpdk.org; nd at arm.com; honnappa.nagarahalli at arm.com; Kathleen
> Capella <kathleen.capella at arm.com>
> Subject: [PATCH] net/iavf: remove extra check in iavf vector Tx
> 

remove "iavf" in the title.

> In the vector Tx path, the function iavf_xmit_pkts_vec_xxx compares nb_pkts
> and the txq->rs_thresh and passes the minimum of these as an argument to
> iavf_xmit_fixed_burst_vec_xxx. Inside iavf_xmit_fixed_burst_vec_xxx, the
> same check is performed again. This patch removes the redundant check
> from the iavf_xmit_fixed_burst_vec_xxx function.
> 
> Signed-off-by: Kathleen Capella <kathleen.capella at arm.com>
> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the dev mailing list