]> git.proxmox.com Git - mirror_iproute2.git/commit - rdma/utils.c
rdma: Add link object
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 20 Aug 2017 09:58:24 +0000 (12:58 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 22 Aug 2017 00:07:44 +0000 (17:07 -0700)
commitda990ab40a92ed0df5c79fa6a8fd65d0f2d40aab
tree167c81222fccb24b85811598d04582688c90453f
parent40df8263a0f047d35f0b24fd35eba1b22f0107ab
rdma: Add link object

Link (port) object represent struct ib_port to the user space.

Link properties:
 * Port capabilities
 * IB subnet prefix
 * LID, SM_LID and LMC
 * Port state
 * Physical state

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
rdma/Makefile
rdma/link.c [new file with mode: 0644]
rdma/rdma.c
rdma/utils.c