mirror_iproute2/rdma
Leon Romanovsky d090fbf33b rdma: Fix representation of PortInfo CapabilityMask
The port capability mask represents IBTA PortInfo specification,
but as it is written in description of kernel commit 2f944c0fbf58
("RDMA: Fix storage of PortInfo CapabilityMask in the kernel"),
the bit 26 was mistakenly overwritten.

The rdmatool followed it too and mislead users by presenting wrong
value. Since it never showed proper value, we update the whole
port_cap_mask to comply with IBTA and show real HW values.

Fixes: da990ab40a ("rdma: Add link object")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2018-09-17 08:59:13 -07:00
..
include/uapi/rdma uapi: update ib_verbs 2018-08-31 15:03:49 -07:00
.gitignore rdma: Add basic infrastructure for RDMA tool 2017-08-21 17:07:44 -07:00
dev.c rdma: Update device capabilities flags 2018-03-08 09:15:28 -08:00
link.c rdma: Fix representation of PortInfo CapabilityMask 2018-09-17 08:59:13 -07:00
Makefile rdma: Move RDMA UAPI header file to be under RDMA responsibility 2018-03-26 07:02:19 -07:00
rdma.c rdma: print driver resource attributes 2018-05-18 09:17:16 -07:00
rdma.h rdma: sync some IP headers with glibc 2018-06-15 11:11:51 -07:00
res.c rdma: print driver resource attributes 2018-05-18 09:17:16 -07:00
utils.c rdma: print driver resource attributes 2018-05-18 09:17:16 -07:00