blob: f02fdaa68de0338bcfb805bb675d450fe88dce19 [file] [log] [blame]
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -03001=============================
Eugene Crosserb4d72c02014-01-14 15:54:11 +01002IBM s390 QDIO Ethernet Driver
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -03003=============================
Eugene Crosserb4d72c02014-01-14 15:54:11 +01004
Eugene Crosser9c23f4da2015-05-18 14:27:56 +02005OSA and HiperSockets Bridge Port Support
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -03006========================================
Eugene Crosserb4d72c02014-01-14 15:54:11 +01007
8Uevents
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -03009-------
Eugene Crosserb4d72c02014-01-14 15:54:11 +010010
11To generate the events the device must be assigned a role of either
12a primary or a secondary Bridge Port. For more information, see
13"z/VM Connectivity, SC24-6174".
14
Eugene Crosser9c23f4da2015-05-18 14:27:56 +020015When run on an OSA or HiperSockets Bridge Capable Port hardware, and the state
Eugene Crosserb4d72c02014-01-14 15:54:11 +010016of some configured Bridge Port device on the channel changes, a udev
17event with ACTION=CHANGE is emitted on behalf of the corresponding
18ccwgroup device. The event has the following attributes:
19
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -030020BRIDGEPORT=statechange
21 indicates that the Bridge Port device changed
Eugene Crosserb4d72c02014-01-14 15:54:11 +010022 its state.
23
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -030024ROLE={primary|secondary|none}
25 the role assigned to the port.
Eugene Crosserb4d72c02014-01-14 15:54:11 +010026
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -030027STATE={active|standby|inactive}
28 the newly assumed state of the port.
Eugene Crosser9f48b9d2014-01-14 15:54:13 +010029
30When run on HiperSockets Bridge Capable Port hardware with host address
31notifications enabled, a udev event with ACTION=CHANGE is emitted.
32It is emitted on behalf of the corresponding ccwgroup device when a host
33or a VLAN is registered or unregistered on the network served by the device.
34The event has the following attributes:
35
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -030036BRIDGEDHOST={reset|register|deregister|abort}
37 host address
Eugene Crosser9f48b9d2014-01-14 15:54:13 +010038 notifications are started afresh, a new host or VLAN is registered or
39 deregistered on the Bridge Port HiperSockets channel, or address
40 notifications are aborted.
41
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -030042VLAN=numeric-vlan-id
43 VLAN ID on which the event occurred. Not included
Eugene Crosser9f48b9d2014-01-14 15:54:13 +010044 if no VLAN is involved in the event.
45
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -030046MAC=xx:xx:xx:xx:xx:xx
47 MAC address of the host that is being registered
Eugene Crosser9f48b9d2014-01-14 15:54:13 +010048 or deregistered from the HiperSockets channel. Not reported if the
49 event reports the creation or destruction of a VLAN.
50
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -030051NTOK_BUSID=x.y.zzzz
52 device bus ID (CSSID, SSID and device number).
Eugene Crosser9f48b9d2014-01-14 15:54:13 +010053
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -030054NTOK_IID=xx
55 device IID.
Eugene Crosser9f48b9d2014-01-14 15:54:13 +010056
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -030057NTOK_CHPID=xx
58 device CHPID.
Eugene Crosser9f48b9d2014-01-14 15:54:13 +010059
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -030060NTOK_CHID=xxxx
61 device channel ID.
Eugene Crosser9f48b9d2014-01-14 15:54:13 +010062
Mauro Carvalho Chehab8b4a5032019-06-08 23:27:16 -030063Note that the `NTOK_*` attributes refer to devices other than the one
Eugene Crosser9f48b9d2014-01-14 15:54:13 +010064connected to the system on which the OS is running.