[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221104102327.770260-1-jiri@resnulli.us>
Date: Fri, 4 Nov 2022 11:23:24 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: sthemmin@...rosoft.com, dsahern@...il.com, kuba@...nel.org,
moshe@...dia.com, aeedm@...dia.com
Subject: [patch iproute2-next 0/3] devlink: make ifname-port relationship behaviour better
From: Jiri Pirko <jiri@...dia.com>
This patchset consists of 2 items:
1) patch #1 is fixing output of "devlink mon port" by considering
possible ifname change during run.
2) patch #3 is benefiting of newly added IFLA_DEVLINK_PORT attribute
exposing netdev link to devlink port directly. Patch #2 is just
dependency for patch #3
Jiri Pirko (3):
devlink: query ifname for devlink port instead of map lookup
devlink: add ifname_map_add/del() helpers
devlink: get devlink port for ifname using RTNL get link command
devlink/devlink.c | 164 +++++++++++++++++++++++++++++++++++++++-------
1 file changed, 140 insertions(+), 24 deletions(-)
--
2.37.3
Powered by blists - more mailing lists