[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b24da4da-1bfa-a9ca-ae18-c9f4cb932c13@gmail.com>
Date: Thu, 27 Dec 2018 18:42:56 -0500
From: David Ahern <dsahern@...il.com>
To: Leon Romanovsky <leon@...nel.org>
Cc: Michael Guralnik <michaelgur@...lanox.com>,
netdev <netdev@...r.kernel.org>,
RDMA mailing list <linux-rdma@...r.kernel.org>,
Stephen Hemminger <stephen@...workplumber.org>,
Leon Romanovsky <leonro@...lanox.com>
Subject: Re: [PATCH iproute2-next] rdma: Add print of link CapabilityMask2
flags
On 12/23/18 6:24 AM, Leon Romanovsky wrote:
> From: Michael Guralnik <michaelgur@...lanox.com>
>
> 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@...ver-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@...lanox.com>
> Signed-off-by: Leon Romanovsky <leonro@...lanox.com>
> ---
> rdma/link.c | 36 +++++++++++++++++++++++++++++++-----
> 1 file changed, 31 insertions(+), 5 deletions(-)
>
applied to iproute2-next. Thanks
Powered by blists - more mailing lists