s390/net: add pnetid support
authorUrsula Braun <ubraun@linux.ibm.com>
Tue, 22 May 2018 10:42:57 +0000 (12:42 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 30 May 2018 09:18:03 +0000 (11:18 +0200)
commitb6ef86e962247b9875aa243ba15f258399b67de6
treeb1361c5b880d8ee14d6ad09ad83b4a71087acab4
parent1bcdb5354aee2c0abcd13d912be35ae39a4144b6
s390/net: add pnetid support

s390 hardware supports the definition of a so-call Physical NETwork
IDentifier (short PNETID) per network device port. These PNETIDS
can be used to identify network devices that are attached to the same
physical network (broadcast domain).

This patch provides the interface to extract the PNETID of a port of
a device attached to the ccw-bus or pci-bus.

Parts of this patch are based on an initial implementation by
Thomas Richter.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Kconfig
arch/s390/include/asm/pnet.h [new file with mode: 0644]
arch/s390/net/Makefile
arch/s390/net/pnet.c [new file with mode: 0644]