diff options
| author | Vlad Yasevich <[email protected]> | 2017-04-04 13:23:42 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-04-05 15:14:14 +0000 |
| commit | def12888c161e6fec0702e5ec9c3962846e3a21d (patch) | |
| tree | 30ec7b462b43d443fdb11712ee99ad953b5cf17c /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
| parent | rtnetlink: Convert rtnetlink_event to white list (diff) | |
| download | kernel-def12888c161e6fec0702e5ec9c3962846e3a21d.tar.gz kernel-def12888c161e6fec0702e5ec9c3962846e3a21d.zip | |
rtnl: Add support for netdev event to link messages
When netdev events happen, a rtnetlink_event() handler will send
messages for every event in it's white list. These messages contain
current information about a particular device, but they do not include
the iformation about which event just happened. The consumer of
the message has to try to infer this information. In some cases
(ex: NETDEV_NOTIFY_PEERS), that is not possible.
This patch adds a new extension to RTM_NEWLINK message called IFLA_EVENT
that would have an encoding of the which event triggered this
message. This would allow the the message consumer to easily determine
if it is interested in a particular event or not.
Signed-off-by: Vladislav Yasevich <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions
