Symptom
The size of the ing-sup TCAM region shown in the output of show hardware access-list tcam region is a sum of the configured ing-sup and ing-redirect region sizes:
hardware access-list tcam region ing-sup 512
hardware access-list tcam region ing-redirect 256
N9K# show hardware access-list tcam region | i ing-sup|ing-red
Ingress SUP [ing-sup] size = 768
Ingress Redirect [ing-redirect] size = 256
Further Problem Description
Problem :
ing-sup in "show hardware access-list tcam region" shows a sum of configured ing-sup + ing-redirect
hardware access-list tcam region ing-sup 512
hardware access-list tcam region ing-redirect 256
show hardware access-list tcam region | i ing-sup|ing-red
Ingress SUP [ing-sup] size = 768
Ingress Redirect [ing-redirect] size = 256
Desired :
hardware access-list tcam region ing-sup 512
hardware access-list tcam region ing-redirect 256
show hardware access-list tcam region | i ing-sup|ing-red
Ingress SUP [ing-sup] size = 512
Ingress Redirect [ing-redirect] size = 256
FIX:
in file - platform/dc3/pltfm_config/server/pltfm_config_cli_be.c
function - pc_show_hw_acl_tcam_region
changed
region_size = pc_ttc_card_cfg->ttc[template_index].ttc_region[PC_TCAM_REGION_TYPE_ING_SUP].size + pc_ttc_card_cfg->ttc[template_index].ttc_region[PC_TCAM_REGION_TYPE_ING_REDIRECT].size;
to
region_size = pc_ttc_card_cfg->ttc[template_index].ttc_region[PC_TCAM_REGION_TYPE_ING_SUP].size;