Yuval Shaia | 4a5c990 | 2018-12-21 16:40:24 +0200 | [diff] [blame] | 1 | # -*- Mode: Python -*- |
Andrea Bolognani | f7160f3 | 2020-07-29 20:50:24 +0200 | [diff] [blame] | 2 | # vim: filetype=python |
Yuval Shaia | 4a5c990 | 2018-12-21 16:40:24 +0200 | [diff] [blame] | 3 | # |
| 4 | |
| 5 | ## |
| 6 | # = RDMA device |
| 7 | ## |
| 8 | |
| 9 | ## |
| 10 | # @RDMA_GID_STATUS_CHANGED: |
| 11 | # |
| 12 | # Emitted when guest driver adds/deletes GID to/from device |
| 13 | # |
| 14 | # @netdev: RoCE Network Device name |
| 15 | # |
| 16 | # @gid-status: Add or delete indication |
| 17 | # |
| 18 | # @subnet-prefix: Subnet Prefix |
| 19 | # |
| 20 | # @interface-id : Interface ID |
| 21 | # |
| 22 | # Since: 4.0 |
| 23 | # |
| 24 | # Example: |
| 25 | # |
| 26 | # <- {"timestamp": {"seconds": 1541579657, "microseconds": 986760}, |
| 27 | # "event": "RDMA_GID_STATUS_CHANGED", |
| 28 | # "data": |
| 29 | # {"netdev": "bridge0", |
| 30 | # "interface-id": 15880512517475447892, |
| 31 | # "gid-status": true, |
| 32 | # "subnet-prefix": 33022}} |
| 33 | # |
| 34 | ## |
| 35 | { 'event': 'RDMA_GID_STATUS_CHANGED', |
| 36 | 'data': { 'netdev' : 'str', |
| 37 | 'gid-status' : 'bool', |
| 38 | 'subnet-prefix' : 'uint64', |
| 39 | 'interface-id' : 'uint64' } } |