[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1373908027-25800-1-git-send-email-jiri@resnulli.us>
Date: Mon, 15 Jul 2013 19:07:04 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: Narendra_K@...l.com, bhutchings@...arflare.com,
john.r.fastabend@...el.com
Subject: [patch net-next RFC 0/3] export device physical port id to userspace
This patchset is based on patch by Narendra_K@...l.com
Once device which can change phys port id during its lifetime adopts this,
NETDEV_CHANGEPHYSPORTID event will be added and driver will call
call_netdevice_notifiers(NETDEV_NETDEV_CHANGEPHYSPORTID, dev) to propagete
the change to userspace.
Jiri Pirko (3):
net: add ndo to get id of physical port of the device
rtnl: export physical port id via RT netlink
net: export physical port id via sysfs
include/linux/netdevice.h | 18 ++++++++++++++++++
include/uapi/linux/if_link.h | 1 +
net/core/net-sysfs.c | 41 +++++++++++++++++++++++++++++++++++++++++
net/core/rtnetlink.c | 25 ++++++++++++++++++++++++-
4 files changed, 84 insertions(+), 1 deletion(-)
--
1.8.1.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists