Skip to content

peek/commit APIs: inconsistent return values in inline docs #1

@drossetti

Description

@drossetti

ibv_exp_peer_peek_cq is documented as returning -ENOSPC, while instead it can return ENOSYS & EINVAL & ENOSPC (all positive!)
ibv_exp_peer_commit_qp is documented as returning -ENOSPC, while it can return ENOSYS, -EINVAL and -ENOSPC
mlx5_exp_rollback_send return codes are not documented, while it can return ENOSYS, -ERANGE

browsing the sources, it seems consistent to return positive error codes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions