net/bonding: fix Tx queue release
authorXueming Li <xuemingl@nvidia.com>
Fri, 15 Oct 2021 09:55:48 +0000 (17:55 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 15 Oct 2021 10:45:58 +0000 (12:45 +0200)
commit51c1b8f8a0f0ae6fca1692d6af4bdb1d7b65b3c8
tree8e3ac840d67ffd8d5e4ba6fdb0e41a8e50a9533e
parent771253ea8f27cdb84fe17bc2d6649488637337d6
net/bonding: fix Tx queue release

When release Tx queue, Rx queue data got freed because wrong Tx queue
data located.

This patch fixes the wrong Tx queue data location.

Fixes: 7483341ae553 ("ethdev: change queue release callback")

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/bonding/rte_eth_bond_pmd.c