blob: a1d2175a8b3614d237f0cfb0a57f2f680a57cff9 [file] [log] [blame]
Yuval Shaia4a5c9902018-12-21 16:40:24 +02001# -*- Mode: Python -*-
Andrea Bolognanif7160f32020-07-29 20:50:24 +02002# vim: filetype=python
Yuval Shaia4a5c9902018-12-21 16:40:24 +02003#
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' } }