[dpdk-dev] [PATCH v2 04/20] i40e: remove the use of PKT_TX_UDP_TUNNEL_PKT flag

Olivier MATZ olivier.matz at 6wind.com
Tue Feb 10 18:08:35 CET 2015


Hi Helin,

On 02/10/2015 07:40 AM, Zhang, Helin wrote:
>> diff --git a/lib/librte_pmd_i40e/i40e_rxtx.c b/lib/librte_pmd_i40e/i40e_rxtx.c
>> index 9acdeee..0786255 100644
>> --- a/lib/librte_pmd_i40e/i40e_rxtx.c
>> +++ b/lib/librte_pmd_i40e/i40e_rxtx.c
>> @@ -482,7 +482,7 @@ i40e_txd_enable_checksum(uint64_t ol_flags,
>>   	}
>>
>>   	/* UDP tunneling packet TX checksum offload */
>> -	if (unlikely(ol_flags & PKT_TX_UDP_TUNNEL_PKT)) {
>> +	if (unlikely(ol_flags & PKT_TX_OUTER_IP_CKSUM)) {
> Unlikely might not be suitable anymore.

Right, I'll remove it.

Thanks




More information about the dev mailing list