diff options
| author | Jiri Pirko <[email protected]> | 2023-08-11 15:57:04 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-08-14 18:47:24 +0000 |
| commit | ee6d78ac28c708c62fd83595e9366b0eb0deb014 (patch) | |
| tree | befdf8fd4f146763cfaec522f5337f27da59134b /tools/net/ynl/generated/devlink-user.h | |
| parent | devlink: parse rate attrs in doit() callbacks (diff) | |
| download | kernel-ee6d78ac28c708c62fd83595e9366b0eb0deb014.tar.gz kernel-ee6d78ac28c708c62fd83595e9366b0eb0deb014.zip | |
devlink: introduce devlink_nl_pre_doit_port*() helper functions
Define port handling helpers what don't rely on internal_flags.
Have __devlink_nl_pre_doit() to accept the flags as a function arg and
make devlink_nl_pre_doit() a wrapper helper function calling it.
Introduce new helpers devlink_nl_pre_doit_port() and
devlink_nl_pre_doit_port_optional() to be used by split ops in follow-up
patch.
Note that the function prototypes are temporary until the generated ones
will replace them in a follow-up patch.
Signed-off-by: Jiri Pirko <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.h')
0 files changed, 0 insertions, 0 deletions
