net/iavf: fix Tx context descriptor
authorBeilei Xing <beilei.xing@intel.com>
Wed, 12 May 2021 08:10:14 +0000 (16:10 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 12 May 2021 08:52:54 +0000 (10:52 +0200)
commit2444d35dc14621c185a8c5042adfb636e5056d2b
tree74508384ac082416346d26df7e068fa8d5ffcbcc
parent752ab161bdb7cffef1e026847428ddafc1bad6c6
net/iavf: fix Tx context descriptor

The QW0 of Tx context descriptor should be reset to 0, otherwise the
previous hardware writeback value may pollute the next context descriptor
write.

Fixes: a2b29a7733ef ("net/avf: enable basic Rx Tx")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_rxtx.c