net/mlx5: fix assert in Tx inline settings
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Tue, 19 Nov 2019 13:13:09 +0000 (13:13 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:06 +0000 (17:36 +0100)
commitc4d314a352d14af5e98e3391e38b92a1c16db7f7
tree158f901d6689a422ece9ecc192a781cd08e5188b
parent6cfe84fbe7b166d272797c859966e387ef078e44
net/mlx5: fix assert in Tx inline settings

Assert condition is fixed to not alert for the case
when multi-packet write is not supported/engaged at all.

Fixes: b53cd86965a1 ("net/mlx5: adjust inline setting for large Tx queue sizes")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_txq.c