On 5/1/2018 3:16 PM, Bruce Richardson wrote:
> 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.richard...@intel.com>
>> ---
> Apologies: forgot to add:
> 
> v2: eliminate mask for offload flags, and use vector path only if 
>     offloads == 0
> 

Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com>

Reply via email to