]> Git Repo - linux.git/commit
devlink: add port to line card relationship set
authorJiri Pirko <[email protected]>
Mon, 18 Apr 2022 06:42:28 +0000 (09:42 +0300)
committerDavid S. Miller <[email protected]>
Mon, 18 Apr 2022 10:00:18 +0000 (11:00 +0100)
commitb837585985386e05478cb17868d23a6fa87c4f8d
treec14d4eff80b0ebbda5da6cde9151081be478346b
parentfc9f50d5b366cd9f35bdee22fe3f8d77833cb1d8
devlink: add port to line card relationship set

In order to properly inform user about relationship between port and
line card, introduce a driver API to set line card for a port. Use this
information to extend port devlink netlink message by line card index
and also include the line card index into phys_port_name and by that
into a netdevice name.

Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/devlink.h
net/core/devlink.c
This page took 0.058856 seconds and 4 git commands to generate.