diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-13 05:12:47 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-19 18:13:39 +0100 |
commit | ea1075edcbab7d92f4e4ccf5490043f796bf78be (patch) | |
tree | 618fb95aa42e446d18020d6851bab321be2c3b4b /block/kyber-iosched.c | |
parent | RDMA/nldev: Don't expose number of not-visible entries (diff) | |
download | linux-ea1075edcbab7d92f4e4ccf5490043f796bf78be.tar.xz linux-ea1075edcbab7d92f4e4ccf5490043f796bf78be.zip |
RDMA: Add and use rdma_for_each_port
We have many loops iterating over all of the end port numbers on a struct
ib_device, simplify them with a for_each helper.
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'block/kyber-iosched.c')
0 files changed, 0 insertions, 0 deletions