-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QoS: Use params to profile map, carry pointer
DPDK split the meter and profile config objects because in practice they found a small number of latter. So instead of repeating it for every entry we now only carry a pointer to the profile. The profile itself is stored in params to profile map. Whenever we get a commandAdd, we lookup if a profile was created using the same params. If found we use copy it's address, else we insert and do the same. Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
- Loading branch information
Showing
2 changed files
with
43 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters