Fixes:
b43802b4bdfe ("net/mlx5: support 16 hardware priorities")
Cc: stable@dpdk.org
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
if (verb_priorities < MLX5_VERBS_FLOW_PRIO_8) {
DRV_LOG(ERR, "port %u wrong Verbs flow priorities: %u",
eth_dev->data->port_id, verb_priorities);
if (verb_priorities < MLX5_VERBS_FLOW_PRIO_8) {
DRV_LOG(ERR, "port %u wrong Verbs flow priorities: %u",
eth_dev->data->port_id, verb_priorities);
goto port_error;
}
priv->config.max_verbs_prio = verb_priorities;
goto port_error;
}
priv->config.max_verbs_prio = verb_priorities;