diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-12-16 15:30:00 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-12-19 17:31:40 +0300 |
commit | 13b127d2578432e1e521310b69944c5a1b30679c (patch) | |
tree | 53fcf26673d7240f79d6fd8df83a4038c0be7fa8 /io_uring/io_uring.c | |
parent | 971b4ad88293bef00160e1d38659077fe3a93af6 (diff) | |
download | linux-13b127d2578432e1e521310b69944c5a1b30679c.tar.xz |
devlink: add a command to set notification filter and use it for multicasts
Currently the user listening on a socket for devlink notifications
gets always all messages for all existing instances, even if he is
interested only in one of those. That may cause unnecessary overhead
on setups with thousands of instances present.
User is currently able to narrow down the devlink objects replies
to dump commands by specifying select attributes.
Allow similar approach for notifications. Introduce a new devlink
NOTIFY_FILTER_SET which the user passes the select attributes. Store
these per-socket and use them for filtering messages
during multicast send.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'io_uring/io_uring.c')
0 files changed, 0 insertions, 0 deletions