7eda588164
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. Fixes: |
||
---|---|---|
.. | ||
af_packet | ||
bonding | ||
cxgbe | ||
e1000 | ||
enic | ||
fm10k | ||
i40e | ||
ixgbe | ||
mlx4 | ||
null | ||
pcap | ||
ring | ||
virtio | ||
vmxnet3 | ||
xenvirt | ||
Makefile |