lib/net: give an informative error when not enough queues#692
Merged
AltraMayor merged 1 commit intov1.2.0-devfrom Jun 26, 2024
Merged
lib/net: give an informative error when not enough queues#692AltraMayor merged 1 commit intov1.2.0-devfrom
AltraMayor merged 1 commit intov1.2.0-devfrom
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
This commit identifies the problem and gives a helpful error message:
This pull request closes #620.