Skip to content
This repository was archived by the owner on Dec 20, 2022. It is now read-only.

Use default numCompletionVectors if disni returns negative.#32

Open
petro-rudenko wants to merge 1 commit intoMellanox:masterfrom
petro-rudenko:default_numcompletions_vector
Open

Use default numCompletionVectors if disni returns negative.#32
petro-rudenko wants to merge 1 commit intoMellanox:masterfrom
petro-rudenko:default_numcompletions_vector

Conversation

@petro-rudenko
Copy link
Member

Fixes #31
For some reason on the user's system ibv_context->num_comp_vectors returns negative number (probably not initialized). To prevent DivisionByZeroException we can use the default value of 1, to assign CQ processing at least to 1 CPU.

Change-Id: I130eda52d995d8903e5b2602c046bad5e5667319
@petro-rudenko petro-rudenko requested a review from yosefe May 13, 2019 08:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in accept call on a passive RdmaChannel

1 participant