mbox series

[iproute2-next,RESEND,0/3] devlink show controller and external info

Message ID 20200918101649.60086-1-parav@nvidia.com
Headers show
Series devlink show controller and external info | expand

Message

Parav Pandit Sept. 18, 2020, 10:16 a.m. UTC
For certain devlink port flavours controller number and optionally external attributes are reported by the kernel.

(a) controller number indicates that a given port belong to which local or external controller.
(b) external port attribute indicates that if a given port is for external or local controller.

This short series shows this attributes to user.

Patch summary:
Patch-1 updates the kernel header
Patch-2 shows external attribute
Patch-3 show controller number

Parav Pandit (3):
  devlink: Update kernel headers
  devlink: Show external port attribute
  devlink: Show controller number of a devlink port

 devlink/devlink.c            | 9 +++++++++
 include/uapi/linux/devlink.h | 4 ++++
 2 files changed, 13 insertions(+)

Comments

David Ahern Sept. 23, 2020, 2:21 a.m. UTC | #1
On 9/18/20 4:16 AM, Parav Pandit wrote:
> For certain devlink port flavours controller number and optionally external attributes are reported by the kernel.
> 
> (a) controller number indicates that a given port belong to which local or external controller.
> (b) external port attribute indicates that if a given port is for external or local controller.
> 
> This short series shows this attributes to user.
> 
> Patch summary:
> Patch-1 updates the kernel header
> Patch-2 shows external attribute
> Patch-3 show controller number
> 
> Parav Pandit (3):
>   devlink: Update kernel headers
>   devlink: Show external port attribute
>   devlink: Show controller number of a devlink port
> 
>  devlink/devlink.c            | 9 +++++++++
>  include/uapi/linux/devlink.h | 4 ++++
>  2 files changed, 13 insertions(+)
> 

applied to iproute2-next