diff options
author | Jiri Pirko <[email protected]> | 2018-01-19 09:24:48 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-01-21 18:21:30 -0500 |
commit | c18c1e186ba872da73e944d9c54f027ea3899d39 (patch) | |
tree | bcf3bc571ae4c491f434b7bfe52c7e6c21fd4a4b /net/unix/af_unix.c | |
parent | 140ce421217e99f68a0108382e0789c1b1a15547 (diff) |
mlxsw: core: Make counter index allocated inside the action append
So far, the caller of mlxsw_afa_block_append_counter needed to allocate
counter index by hand. Benefit from the previously introduced resource
infra and counter_index_get/put callbacks, and allocate the counter
index in place where it is needed, inside the action append function.
Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions