netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2-next 0/2] display permanent hardware address
@ 2019-12-15 20:50 Michal Kubecek
  2019-12-15 21:06 ` [PATCH iproute2-next 1/2] Update kernel headers Michal Kubecek
  2019-12-15 21:06 ` [PATCH iproute2-next 2/2] ip link: show permanent hardware address Michal Kubecek
  0 siblings, 2 replies; 4+ messages in thread
From: Michal Kubecek @ 2019-12-15 20:50 UTC (permalink / raw)
  To: David Ahern; +Cc: Stephen Hemminger, netdev

Since kernel commit f74877a5457d ("rtnetlink: provide permanent hardware
address in RTM_NEWLINK"), in net-next tree at the moment, kernel provides
the permanent hardware address of a network device (if set). Patch 2 adds
this information to the output of "ip link show" and "ip address show",
patch 1 updates UAPI header copies to get IFLA_PERM_ADDRESS constant.

Michal Kubecek (2):
  Update kernel headers
  ip link: show permanent hardware address

 include/uapi/linux/if_bonding.h | 10 ++++++++++
 include/uapi/linux/if_bridge.h  | 10 ++++++++++
 include/uapi/linux/if_link.h    |  1 +
 ip/ipaddress.c                  | 18 ++++++++++++++++++
 4 files changed, 39 insertions(+)

-- 
2.24.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-17 16:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-15 20:50 [PATCH iproute2-next 0/2] display permanent hardware address Michal Kubecek
2019-12-15 21:06 ` [PATCH iproute2-next 1/2] Update kernel headers Michal Kubecek
2019-12-15 21:06 ` [PATCH iproute2-next 2/2] ip link: show permanent hardware address Michal Kubecek
2019-12-17 16:35   ` David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).