OSDN Git Service

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>
Fri, 25 May 2018 06:12:53 +0000 (08:12 +0200)
commit866f4c8e0e26293b5819fd61c241502c79023775
treea9c7cab723d85d0a83c174115e3a2df5a03a35e3
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]