iproute2/rdma
Michael Guralnik 40fc8c2cec rdma: Add print of link CapabilityMask2 flags
CapabilityMask2 is defined in IBTA spec as a member of PortInfo.
Add translation to string of new CapabilityMask2 expansion of link caps.

The flags are concatenated to current caps print as seen in this example
printing EXT_INFO flag:

root@server-22 $ rdma -d link
1/1: mlx5_0/1: subnet_prefix fe80:0000:0000:0000 lid 2 sm_lid 2 lmc 0
	state ACTIVE physical_state LINK_UP
caps: <SM, TRAP, SL_MAP, SYS_IMAGE_GUID, CABLE_INFO, EXTENDED_SPEEDS,
	CAP_MASK2, CM, DEVICE_MGMT, VENDOR_CLASS, CAP_MASK_NOTICE,
	CLIENT_REG, OTHER_LOCAL_CHANGES, MULT_PKER_TRAP, EXT_INFO>

Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
2018-12-27 15:41:21 -08:00
..
include/uapi/rdma rdma: align uapi headers with 4.20-rc5 2018-12-07 09:25:59 -08:00
.gitignore rdma: Add basic infrastructure for RDMA tool 2017-08-21 17:07:44 -07:00
Makefile iproute2: Installation errors without libmnl 2018-12-04 14:27:08 -08:00
dev.c Merge branch 'iproute2-master' into iproute2-next 2018-12-19 12:02:17 -08:00
link.c rdma: Add print of link CapabilityMask2 flags 2018-12-27 15:41:21 -08:00
rdma.c rdma: print driver resource attributes 2018-05-18 09:17:16 -07:00
rdma.h Revert "rdma: make local functions static" 2018-11-24 07:06:17 -08:00
res.c rdma: Refresh help section of resource information 2018-11-05 08:36:36 -08:00
utils.c Revert "rdma: make local functions static" 2018-11-24 07:06:17 -08:00