diff options
| author | Sarita Patra <saritap@vmware.com> | 2022-07-12 06:00:57 -0700 |
|---|---|---|
| committer | Sarita Patra <saritap@vmware.com> | 2022-07-12 06:09:04 -0700 |
| commit | af9c8e7666f91b8837c027ac733b512fe6f3a37e (patch) | |
| tree | 3f33399d8eb945b605836170c8d959e60141456f /pimd/pim_cmd_common.h | |
| parent | 554350c87a1da915ff555ed91fab35be94ff4c07 (diff) | |
pimd: Avoid unnecessary vrf lookup
In several places, we are getting the vrf structure using
vrf_lookup_by_name(). Again we are passing vrf->vrf_id to
pim_get_pim_instance() to get the pim_instance.
The API pim_get_pim_instance() again get the VRF structure using
vrf_lookup_by_id(). This is avoided in this PR.
Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_cmd_common.h')
0 files changed, 0 insertions, 0 deletions
