net/ice: fix Tx hang with TSO
authorHaiyue Wang <haiyue.wang@intel.com>
Fri, 31 Jul 2020 04:27:13 +0000 (12:27 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Aug 2020 17:23:31 +0000 (19:23 +0200)
commit8a72edd9cb232b868c38373e041b03db1220e779
treea872ac1e5c893d78e742488d75eca662d773a3fa
parent8716f9942a408a79a114ac0496e4e7d55bc9944c
net/ice: fix Tx hang with TSO

The variables 'td_offset' and 'td_tag' should be reset to 0 for every
burst packet, otherwise the fields of Tx Descriptor will be set wrong,
this will cause the MDD event error, and Tx will hang.

Fixes: 17c7d0f9d6a4 ("net/ice: support basic Rx/Tx")
Cc: stable@dpdk.org
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_rxtx.c