diff options
| author | Christian Hopps <chopps@labn.net> | 2023-07-08 23:11:15 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-11-06 17:44:58 -0500 |
| commit | a65cda16b28bc84b052636118823082de9600cfc (patch) | |
| tree | 975a1abb64919cc9a9c201b8c50ef7602bd72483 /tools/checkpatch.pl | |
| parent | e1b2381f40132650f1c0a2285432c0d00aef7383 (diff) | |
mgmtd: simplify xpath registries
- move from client id indexed array of uints for register info
per client to a u64 bitmask.
- add bit walking FOREACH macro
Walk the client IDs whose bits are set in a mask.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tools/checkpatch.pl')
| -rwxr-xr-x | tools/checkpatch.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/checkpatch.pl b/tools/checkpatch.pl index d007c1d325..3e8a6b392a 100755 --- a/tools/checkpatch.pl +++ b/tools/checkpatch.pl @@ -563,6 +563,7 @@ our $Iterators = qr{ SUBGRP_FOREACH_PEER|SUBGRP_FOREACH_PEER_SAFE| SUBGRP_FOREACH_ADJ|SUBGRP_FOREACH_ADJ_SAFE| AF_FOREACH|FOREACH_AFI_SAFI|FOREACH_SAFI| + FOREACH_BE_CLIENT_BITS|FOREACH_MGMTD_BE_CLIENT_ID| LSDB_LOOP }x; |
