net/mlx5: fix Tx scheduling check
authorViacheslav Ovsiienko <viacheslavo@nvidia.com>
Wed, 10 Nov 2021 13:05:52 +0000 (15:05 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Sun, 14 Nov 2021 08:18:28 +0000 (09:18 +0100)
commit11cfe349b3f17b11b6dce109f5226e89bc0a5b85
tree85ac7d12d06b145bf44dd6144bbb920a0153c6c2
parentc1c99d34218522e6dc924567f594b4845051fb0d
net/mlx5: fix Tx scheduling check

There was a redundant check for the enabled E-Switch, this
resulted in device probing failure if the Tx scheduling was
requested and E-Switch was enabled.

Fixes: f17e4b4ffef9 ("net/mlx5: add Tx scheduling check on queue creation")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/linux/mlx5_os.c