> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zhe Tao
> Sent: Friday, July 3, 2015 10:12 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] i40e: Fix the clean up function for i40e, the DD
> bits
> are multiplex with descriptor type field. so cannot use "not zero" as the
> rule for
> the completion of Tx descriptor
>
> If the descriptor in the position desc_to_clean_to is the context descriptor
> its
> type will be 0x1, so using the not expression, the device driver will
> consider the
> descriptor has been complete for transmission even its DTYPE field is still
> 0x1
> which means NIC has't finished the operation on this descriptor.
>
> Signed-off-by: Zhe Tao <zhe.tao at intel.com>
Acked-by: Helin Zhang <helin.zhang at intel.com>