mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
9c23f4dab1
OSA Ethernet hardware is introducing BRIDGEPORT functionality similar (but not identical) to HiperSockets BRIDGEPORT. This patch makes HiperSockets BRIDGEPORT related sysfs attributes and udev events work with OSA hardware too. Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com> Signed-off-by: Eugene Crosser <Eugene.Crosser@ru.ibm.com> Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
51 lines
1.9 KiB
Plaintext
51 lines
1.9 KiB
Plaintext
IBM s390 QDIO Ethernet Driver
|
|
|
|
OSA and HiperSockets Bridge Port Support
|
|
|
|
Uevents
|
|
|
|
To generate the events the device must be assigned a role of either
|
|
a primary or a secondary Bridge Port. For more information, see
|
|
"z/VM Connectivity, SC24-6174".
|
|
|
|
When run on an OSA or HiperSockets Bridge Capable Port hardware, and the state
|
|
of some configured Bridge Port device on the channel changes, a udev
|
|
event with ACTION=CHANGE is emitted on behalf of the corresponding
|
|
ccwgroup device. The event has the following attributes:
|
|
|
|
BRIDGEPORT=statechange - indicates that the Bridge Port device changed
|
|
its state.
|
|
|
|
ROLE={primary|secondary|none} - the role assigned to the port.
|
|
|
|
STATE={active|standby|inactive} - the newly assumed state of the port.
|
|
|
|
When run on HiperSockets Bridge Capable Port hardware with host address
|
|
notifications enabled, a udev event with ACTION=CHANGE is emitted.
|
|
It is emitted on behalf of the corresponding ccwgroup device when a host
|
|
or a VLAN is registered or unregistered on the network served by the device.
|
|
The event has the following attributes:
|
|
|
|
BRIDGEDHOST={reset|register|deregister|abort} - host address
|
|
notifications are started afresh, a new host or VLAN is registered or
|
|
deregistered on the Bridge Port HiperSockets channel, or address
|
|
notifications are aborted.
|
|
|
|
VLAN=numeric-vlan-id - VLAN ID on which the event occurred. Not included
|
|
if no VLAN is involved in the event.
|
|
|
|
MAC=xx:xx:xx:xx:xx:xx - MAC address of the host that is being registered
|
|
or deregistered from the HiperSockets channel. Not reported if the
|
|
event reports the creation or destruction of a VLAN.
|
|
|
|
NTOK_BUSID=x.y.zzzz - device bus ID (CSSID, SSID and device number).
|
|
|
|
NTOK_IID=xx - device IID.
|
|
|
|
NTOK_CHPID=xx - device CHPID.
|
|
|
|
NTOK_CHID=xxxx - device channel ID.
|
|
|
|
Note that the NTOK_* attributes refer to devices other than the one
|
|
connected to the system on which the OS is running.
|