RE: [PATCH v2 4/5] ib/mad: add new ioctl to user space to support new registration options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Registrations options are specified through flags.  Definitions of flags
> will
> be in subsequent patches.
> 
> Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx>

Reviewed-by: Sean Hefty <sean.hefty@xxxxxxxxx>

with two minor comments below

> 
> Changes since V1:
> 	1) convert oui to 32 bits and host byte order
> 	2) pad struct to 64bits for easier 32/64bit compatibility
> 	3) convert pr_notice to dev_notice

This needs to come after the "---" in order to remove it from the patch description.

> ---
>  Documentation/infiniband/user_mad.txt   |  13 ++--
>  drivers/infiniband/core/agent.c         |   4 +-
>  drivers/infiniband/core/cm.c            |   5 +-
>  drivers/infiniband/core/mad.c           |   4 +-
>  drivers/infiniband/core/sa_query.c      |   2 +-
>  drivers/infiniband/core/user_mad.c      | 120
> +++++++++++++++++++++++++++++++-
>  drivers/infiniband/hw/mlx4/mad.c        |   2 +-
>  drivers/infiniband/hw/mthca/mthca_mad.c |   2 +-
>  drivers/infiniband/hw/qib/qib_mad.c     |   2 +-
>  drivers/infiniband/ulp/srpt/ib_srpt.c   |   2 +-
>  include/rdma/ib_mad.h                   |   7 +-
>  include/uapi/rdma/ib_user_mad.h         |  39 +++++++++++
>  12 files changed, 186 insertions(+), 16 deletions(-)
> 
> diff --git a/Documentation/infiniband/user_mad.txt
> b/Documentation/infiniband/user_mad.txt
> index 8a36695..bf24958 100644
> --- a/Documentation/infiniband/user_mad.txt
> +++ b/Documentation/infiniband/user_mad.txt
> @@ -26,6 +26,11 @@ Creating MAD agents
>    ioctl.  Also, all agents registered through a file descriptor will
>    be unregistered when the descriptor is closed.
> 
> +  2013 -- a new registration ioctl is now provided which allows additional

year typo

--
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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux