net/iavf: fix driver crash when enable TSO
authorTing Xu <ting.xu@intel.com>
Tue, 16 Jul 2019 16:12:25 +0000 (16:12 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commite3258d02c21dd9c62797846db568806bf2a57f88
tree5b63b9f208ef7d5d553bfce9f939e8cf7fb66628
parentdb87e1e3c11a1576326756318859c75c0d645ed2
net/iavf: fix driver crash when enable TSO

The iavf driver crashes when forwarding packets with TSO
enabled. The reason is that the tx context descriptor
configuration is not transferred to tx-ring. This step is
added in this patch.

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