[PATCH v2 0/2] IB:mad Use ID allocator routines to allocate agent number

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

 



v2:

Implement ida_get_simple_cyclic and use it when allocating ib_mad_client_ids.

Hans Westgaard Ry (2):
  idr: Add ida_simple_get_cyclic
  IB/mad: Use ID allocator routines to allocate agent number

 drivers/infiniband/core/mad.c | 24 +++++++++++++---
 include/linux/idr.h           |  8 ++++--
 lib/idr.c                     | 66 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 92 insertions(+), 6 deletions(-)

-- 
2.14.3

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