Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gbkr local #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Gbkr local #18

wants to merge 3 commits into from

Conversation

bgooty
Copy link

@bgooty bgooty commented Jul 21, 2021

No description provided.

Add missing active ah and pd counters

Signed-off-by: Naresh Kumar PBS <[email protected]>
@bgooty bgooty closed this Jul 21, 2021
@bgooty
Copy link
Author

bgooty commented Jul 21, 2021

Requested for wrong branch

@bgooty bgooty reopened this Jul 21, 2021
@bgooty bgooty force-pushed the gbkr_local branch 2 times, most recently from deb0d8b to 7738ae5 Compare July 21, 2021 16:21
Gen P5 chip allow sending roce packets bigger than L2 MTU.
But at the responder the packets are dropped if mismatch is
detected in the incoming packet size and the interface MTU.
If this is attempted by a malicious or badly written code
the chip drops incoming packets and corresponding rx error
counter is incremented. Since there is no response from
the responder QP the requester QP moves to ACK-Timeout
state.

Fixing the QP mtu setting to trim the qp-mtu to the lower
bound of L2 MTU during modify-qp from init to rtr.

Temporarily driver would fail the modify-request with mis-
matching MTU due to unavilability of a method which would
tell user qp about trimmed MTU.

Moved the mtu initialization code to separate inline
functions for ease of flow.

Signed-off-by: Bharat Gooty <[email protected]>
Update HWRM ROCE to fix cmdq_query_func response to handle
var-size WQE and backward compatible modes.

Signed-off-by: Bharat Gooty <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants