ixgbe/base: fix Tx pending clearing
authorOuyang Changchun <changchun.ouyang@intel.com>
Thu, 12 Feb 2015 12:00:45 +0000 (20:00 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Apr 2015 08:05:58 +0000 (10:05 +0200)
commit4dc6059110be2369ae14e57e022daac1422c3fd5
tree7a8d619fc7c1e791f257bcd4fd62bae94ff03490
parent7b21cadfd6c374dbf33128887875f5025a5ee28a
ixgbe/base: fix Tx pending clearing

Wait for a last completion before clearing buffers,
and before proceeding, it needs make sure that the PCIe block does not have
transactions pending.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
lib/librte_pmd_ixgbe/ixgbe/ixgbe_common.c