summaryrefslogtreecommitdiff
path: root/lib/northbound_cli.c
diff options
context:
space:
mode:
authorWesley Coakley <wcoakley@nvidia.com>2021-05-14 22:53:56 -0400
committerWesley Coakley <wcoakley@nvidia.com>2021-05-16 17:33:03 -0400
commit389571aaf4666129c0f68a1d111b4db5d1f1650c (patch)
tree6433404b758a7db69de7cae7b26170bd2c71fc93 /lib/northbound_cli.c
parenta63273a5b48bcae375af39928bafafadc6a31e0c (diff)
pbrd: use sparse table for allocated NHG table IDs
Represent installed ("allocated") NHG tables with a hash keyed by table ID. Replaces a pre-allocated array of booleans that implemented this functionality before. + PBR table range > 65535 is fixed (was OOB access before :)) + Pre-compute next available ID to save time when only checking if all tables are allocated Signed-off-by: Wesley Coakley <wcoakley@nvidia.com>
Diffstat (limited to 'lib/northbound_cli.c')
0 files changed, 0 insertions, 0 deletions