[dpdk-dev] [PATCH v3] i40e:Fix the Descriptor Done check mechanism for i40e

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jul 10 18:56:33 CEST 2015


> > If a descriptor the device drive is handling is the context descriptor, its type
> > value will be 0x1.
> > When using the not operator ! to do the conditional check, if the expression
> > value is zero, the device driver will consider the transaction for this descriptor
> > has been completed, even its DD field is still 0x1 which means NIC has not
> > finished the operation on this descriptor.
> > Use the 0xF to check the DD status to avoid the above issue happens.
> > 
> > Signed-off-by: Zhe Tao <zhe.tao at intel.com>
> Acked-by: Jingjing Wu <jingjing.wu at intel.com>

Applied, thanks


More information about the dev mailing list