diff options
| author | Paolo Abeni <[email protected]> | 2024-10-09 08:09:49 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-10-10 15:30:22 +0000 |
| commit | 4b623f9f0f59652ea71fcb27d60b4c3b65126dbb (patch) | |
| tree | c2216e2f2cc52e7c561dacfbb40ca1cc3d304c06 /rust/helpers/mutex.c | |
| parent | netlink: spec: add shaper YAML spec (diff) | |
| download | kernel-4b623f9f0f59652ea71fcb27d60b4c3b65126dbb.tar.gz kernel-4b623f9f0f59652ea71fcb27d60b4c3b65126dbb.zip | |
net-shapers: implement NL get operation
Introduce the basic infrastructure to implement the net-shaper
core functionality. Each network devices carries a net-shaper cache,
the NL get() operation fetches the data from such cache.
The cache is initially empty, will be fill by the set()/group()
operation implemented later and is destroyed at device cleanup time.
The net_shaper_fill_handle(), net_shaper_ctx_init(), and
net_shaper_generic_pre() implementations handle generic index type
attributes, despite the current caller always pass a constant value
to avoid more noise in later patches using them with different
attributes.
Reviewed-by: Jakub Kicinski <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Link: https://patch.msgid.link/ddd10fd645a9367803ad02fca4a5664ea5ace170.1728460186.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
