You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When lib/net.c:check_port_offloads() is called, its parameter iface already has the needed number of queues for the NICs at fields iface->num_rx_queues and iface->num_tx_queues. And struct rte_eth_dev_info dev_info includes the fields max_rx_queues and max_tx_queues. Thus, the verification can be done in check_port_offloads() to log a more intelligible message to users.
The error log entry should suggest reducing the number of GK or GT instances to boot Gatekeeper with those NICs.
The text was updated successfully, but these errors were encountered:
While tuning the number of instances of the functional blocks,
the configuration may exceed the maximum number of queues that
the NICs support. When this happens, the error message in the log
is not informative. For example:
Ethdev port_id=0 nb_rx_queues=43 > 8
Main/0 2024-06-25 17:07:22 ERR init_iface(back): failed to configure interface (errno=22): Invalid argument
This commit identifies the problem is gives a helpful error message:
Main/0 2024-06-25 17:38:22 ERR check_if_queues(back): current configuration requires 43 RX queues, but the interface supports at most 8 RX queues. It may be possible to reduce the number of instances of the GK or GT functional block to reduce the number of queues. If not, more capable NICs are needed.
Main/0 2024-06-25 17:38:22 ERR init_iface(back): interface doesn't support a critical hardware capability (errno=28): No space left on device
This commit closes#620.
While tuning the number of instances of the functional blocks,
the configuration may exceed the maximum number of queues that
the NICs support. When this happens, the error message in the log
is not informative. For example:
Ethdev port_id=0 nb_rx_queues=43 > 8
Main/0 2024-06-25 17:07:22 ERR init_iface(back): failed to configure interface (errno=22): Invalid argument
This commit identifies the problem and gives a helpful error message:
Main/0 2024-06-25 17:38:22 ERR check_if_queues(back): the current configuration requires 43 RX queues, but the interface supports at most 8 RX queues. It may be possible to reduce the number of instances of the GK or GT functional block to reduce the number of queues. If not, more capable NICs are needed.
Main/0 2024-06-25 17:38:22 ERR init_iface(back): interface doesn't support a critical hardware capability (errno=28): No space left on device
This commit closes#620.
When
lib/net.c:check_port_offloads()
is called, its parameteriface
already has the needed number of queues for the NICs at fieldsiface->num_rx_queues
andiface->num_tx_queues
. Andstruct rte_eth_dev_info dev_info
includes the fieldsmax_rx_queues
andmax_tx_queues
. Thus, the verification can be done incheck_port_offloads()
to log a more intelligible message to users.The error log entry should suggest reducing the number of GK or GT instances to boot Gatekeeper with those NICs.
The text was updated successfully, but these errors were encountered: