[PATCH v1] net/i40e: remove redundant number of packets check
Zhang, Qi Z
qi.z.zhang at intel.com
Thu Mar 3 03:28:54 CET 2022
> -----Original Message-----
> From: Feifei Wang <feifei.wang2 at arm.com>
> Sent: Thursday, March 3, 2022 9:54 AM
> To: Xing, Beilei <beilei.xing at intel.com>; David Christensen
> <drc at linux.vnet.ibm.com>; Richardson, Bruce <bruce.richardson at intel.com>;
> Ananyev, Konstantin <konstantin.ananyev at intel.com>; Ruifeng Wang
> <ruifeng.wang at arm.com>
> Cc: dev at dpdk.org; nd at arm.com; Feifei Wang <feifei.wang2 at arm.com>;
> Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Subject: [PATCH v1] net/i40e: remove redundant number of packets check
>
> For i40e_xmit_pkts_vec_xx function, it checks nb_pkts to ensure nb_pkts does
> not cross rs_thresh.
>
> However, in i40e_xmit_fixed_burst_vec_xx function, this check will be
> performed again. To improve code, delete this redundant check.
>
> Suggested-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Signed-off-by: Feifei Wang <feifei.wang2 at arm.com>
> Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
More information about the dev
mailing list