net/mlx5: fix log level of transfer proxy stop failure

This patch increases log level for error reporting when stopping
the transfer proxy port failed. Stopping can fail with EBUSY when
related representor ports are still running.

Fixes: 483181f7b6 ("net/mlx5: support device control of representor matching")

Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
This commit is contained in:
Dariusz Sosnowski 2022-11-14 18:19:54 +00:00 committed by Thomas Monjalon
parent 44ceeefc08
commit f359b71525

View File

@ -1377,9 +1377,9 @@ mlx5_hw_proxy_port_allowed_stop(struct rte_eth_dev *dev)
representor_started = true;
}
if (representor_started) {
DRV_LOG(INFO, "Failed to stop port %u: attached representor ports"
" must be stopped before stopping transfer proxy port",
dev->data->port_id);
DRV_LOG(ERR, "Failed to stop port %u: attached representor ports"
" must be stopped before stopping transfer proxy port",
dev->data->port_id);
rte_errno = EBUSY;
return -rte_errno;
}