Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 1 | ============================= |
Eugene Crosser | b4d72c0 | 2014-01-14 15:54:11 +0100 | [diff] [blame] | 2 | IBM s390 QDIO Ethernet Driver |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 3 | ============================= |
Eugene Crosser | b4d72c0 | 2014-01-14 15:54:11 +0100 | [diff] [blame] | 4 | |
Eugene Crosser | 9c23f4da | 2015-05-18 14:27:56 +0200 | [diff] [blame] | 5 | OSA and HiperSockets Bridge Port Support |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 6 | ======================================== |
Eugene Crosser | b4d72c0 | 2014-01-14 15:54:11 +0100 | [diff] [blame] | 7 | |
| 8 | Uevents |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 9 | ------- |
Eugene Crosser | b4d72c0 | 2014-01-14 15:54:11 +0100 | [diff] [blame] | 10 | |
| 11 | To generate the events the device must be assigned a role of either |
| 12 | a primary or a secondary Bridge Port. For more information, see |
| 13 | "z/VM Connectivity, SC24-6174". |
| 14 | |
Eugene Crosser | 9c23f4da | 2015-05-18 14:27:56 +0200 | [diff] [blame] | 15 | When run on an OSA or HiperSockets Bridge Capable Port hardware, and the state |
Eugene Crosser | b4d72c0 | 2014-01-14 15:54:11 +0100 | [diff] [blame] | 16 | of some configured Bridge Port device on the channel changes, a udev |
| 17 | event with ACTION=CHANGE is emitted on behalf of the corresponding |
| 18 | ccwgroup device. The event has the following attributes: |
| 19 | |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 20 | BRIDGEPORT=statechange |
| 21 | indicates that the Bridge Port device changed |
Eugene Crosser | b4d72c0 | 2014-01-14 15:54:11 +0100 | [diff] [blame] | 22 | its state. |
| 23 | |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 24 | ROLE={primary|secondary|none} |
| 25 | the role assigned to the port. |
Eugene Crosser | b4d72c0 | 2014-01-14 15:54:11 +0100 | [diff] [blame] | 26 | |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 27 | STATE={active|standby|inactive} |
| 28 | the newly assumed state of the port. |
Eugene Crosser | 9f48b9d | 2014-01-14 15:54:13 +0100 | [diff] [blame] | 29 | |
| 30 | When run on HiperSockets Bridge Capable Port hardware with host address |
| 31 | notifications enabled, a udev event with ACTION=CHANGE is emitted. |
| 32 | It is emitted on behalf of the corresponding ccwgroup device when a host |
| 33 | or a VLAN is registered or unregistered on the network served by the device. |
| 34 | The event has the following attributes: |
| 35 | |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 36 | BRIDGEDHOST={reset|register|deregister|abort} |
| 37 | host address |
Eugene Crosser | 9f48b9d | 2014-01-14 15:54:13 +0100 | [diff] [blame] | 38 | 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 Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 42 | VLAN=numeric-vlan-id |
| 43 | VLAN ID on which the event occurred. Not included |
Eugene Crosser | 9f48b9d | 2014-01-14 15:54:13 +0100 | [diff] [blame] | 44 | if no VLAN is involved in the event. |
| 45 | |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 46 | MAC=xx:xx:xx:xx:xx:xx |
| 47 | MAC address of the host that is being registered |
Eugene Crosser | 9f48b9d | 2014-01-14 15:54:13 +0100 | [diff] [blame] | 48 | or deregistered from the HiperSockets channel. Not reported if the |
| 49 | event reports the creation or destruction of a VLAN. |
| 50 | |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 51 | NTOK_BUSID=x.y.zzzz |
| 52 | device bus ID (CSSID, SSID and device number). |
Eugene Crosser | 9f48b9d | 2014-01-14 15:54:13 +0100 | [diff] [blame] | 53 | |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 54 | NTOK_IID=xx |
| 55 | device IID. |
Eugene Crosser | 9f48b9d | 2014-01-14 15:54:13 +0100 | [diff] [blame] | 56 | |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 57 | NTOK_CHPID=xx |
| 58 | device CHPID. |
Eugene Crosser | 9f48b9d | 2014-01-14 15:54:13 +0100 | [diff] [blame] | 59 | |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 60 | NTOK_CHID=xxxx |
| 61 | device channel ID. |
Eugene Crosser | 9f48b9d | 2014-01-14 15:54:13 +0100 | [diff] [blame] | 62 | |
Mauro Carvalho Chehab | 8b4a503 | 2019-06-08 23:27:16 -0300 | [diff] [blame] | 63 | Note that the `NTOK_*` attributes refer to devices other than the one |
Eugene Crosser | 9f48b9d | 2014-01-14 15:54:13 +0100 | [diff] [blame] | 64 | connected to the system on which the OS is running. |