[dpdk-dev] [PATCH v2] net/i40e: fix Tx fn selection when using new ethdev offloads

Bruce Richardson bruce.richardson at intel.com
Tue May 1 16:16:20 CEST 2018


On Tue, May 01, 2018 at 03:13:54PM +0100, Bruce Richardson wrote:
> The Tx function selection code in the driver only used the older txq
> flags values to check whether the scalar or vector functions should be
> used. This caused performance regressions with testpmd io-fwd as the
> scalar path rather than the vector one was being used in the default
> case. Fix this by changing the code to take account of new offloads and
> deleting the defines used for the old ones.
> 
> Fixes: 7497d3e2f777 ("net/i40e: convert to new Tx offloads API")
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
Apologies: forgot to add:

v2: eliminate mask for offload flags, and use vector path only if 
    offloads == 0


More information about the dev mailing list