> > 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