mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
netdev-dpdk: Remove 'error' from non error log.
Presently, if OVS tries to setup more queues than are allowed by a specific NIC, OVS will handle this case by retrying with a lower amount of queues. Rather than reporting initial failed queue setups in the logs as ERROR, they are reported as INFO but contain the word 'error'. Unless a user has detailed knowledge of OVS-DPDK workings, this is confusing. Let's remove 'error' from the INFO log. Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Signed-off-by: Ian Stokes <ian.stokes@intel.com>
This commit is contained in:
committed by
Ian Stokes
parent
fa9f4eebd3
commit
1dfebee971
@@ -731,7 +731,7 @@ dpdk_eth_dev_queue_setup(struct netdev_dpdk *dev, int n_rxq, int n_txq)
|
||||
diag = rte_eth_tx_queue_setup(dev->port_id, i, dev->txq_size,
|
||||
dev->socket_id, NULL);
|
||||
if (diag) {
|
||||
VLOG_INFO("Interface %s txq(%d) setup error: %s",
|
||||
VLOG_INFO("Interface %s unable to setup txq(%d): %s",
|
||||
dev->up.name, i, rte_strerror(-diag));
|
||||
break;
|
||||
}
|
||||
@@ -747,7 +747,7 @@ dpdk_eth_dev_queue_setup(struct netdev_dpdk *dev, int n_rxq, int n_txq)
|
||||
diag = rte_eth_rx_queue_setup(dev->port_id, i, dev->rxq_size,
|
||||
dev->socket_id, NULL, dev->mp);
|
||||
if (diag) {
|
||||
VLOG_INFO("Interface %s rxq(%d) setup error: %s",
|
||||
VLOG_INFO("Interface %s unable to setup rxq(%d): %s",
|
||||
dev->up.name, i, rte_strerror(-diag));
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user