On 9/11/2017 7:38 PM, Jason Gunthorpe wrote:
On Sun, Sep 10, 2017 at 12:45:49PM +0300, Yishai Hadas wrote:
+.\" -*- nroff -*-
+.\" Licensed under the OpenIB.org (MIT) - See COPYING.md
+.\"
+.TH MLX4DV_QUERY_DEVICE 3 2017-06-27 1.0.0
+.SH "NAME"
+mlx4dv_query_device \- Query device capabilities specific to mlx4
+.SH "SYNOPSIS"
+.nf
+.B #include <infiniband/mlx4dv.h>
+.sp
+.BI "int mlx4dv_query_device(struct ibv_context *ctx_in,
+.BI " struct mlx4dv_context *attrs_out);
+.fi
+.SH "DESCRIPTION"
+.B mlx4dv_query_device()
+Query HW device-specific information which is important for data-path, but isn't provided by
+\fBibv_query_device\fR(3).
Please adjust the man page grammer, something like:
Query mlx4 specific device information that is usable via the direct
verbs interface.
This function returns a version and compatibility mask. The version
represents the format of the internal hardware structures that
mlx4dv.h exposes. Future additions of new fields to the existing
structures are handled by the comp_mask field.
* Compatibility mask (comp_mask) is an in/out field.
Man page was updated in the PR as suggested above.
Merged.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html