numam-dpdk/drivers/net
Zhe Tao 7eda588164 i40e: fix check of descriptor done flag
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: 4861cde461 ("i40e: new poll mode driver")
Fixes: 05999aab4c ("i40e: add or delete flow director")

Signed-off-by: Zhe Tao <zhe.tao@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
2015-07-10 18:55:31 +02:00
..
af_packet
bonding bonding: initialize backpointer from pci device to driver 2015-06-29 12:13:37 +02:00
cxgbe cxgbe: add more supported devices 2015-07-10 03:00:22 +02:00
e1000 e1000: add ieee1588 timestamping 2015-07-10 02:36:25 +02:00
enic drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
fm10k ethdev: add the hash key size per device 2015-07-09 01:14:51 +02:00
i40e i40e: fix check of descriptor done flag 2015-07-10 18:55:31 +02:00
ixgbe ixgbe: allow to disable flow control 2015-07-10 18:05:56 +02:00
mlx4 mlx4: disable multicast echo on PF device 2015-07-01 11:30:11 +02:00
null null: remove useless memset 2015-06-04 10:46:45 +02:00
pcap drivers: fix whitespace 2015-06-12 11:10:10 +02:00
ring ring: fix return of new port id on creation 2015-06-22 17:33:23 +02:00
virtio ethdev: fix check of threshold for Tx freeing 2015-07-07 16:31:48 +02:00
vmxnet3 vmxnet3: remove unnecessary inlining 2015-07-10 00:45:29 +02:00
xenvirt xenvirt: move drivers/net/ 2015-05-22 16:06:23 +02:00
Makefile cxgbe: add pmd skeleton 2015-06-30 22:46:42 +02:00