Skip to content

[action] [PR:3334] Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled (#3334)#3408

Merged
mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/3334
Dec 3, 2024
Merged

[action] [PR:3334] Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled (#3334)#3408
mssonicbld merged 1 commit intosonic-net:202405from
mssonicbld:cherry/202405/3334

Conversation

@mssonicbld
Copy link
Collaborator

Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled
*There is a configuration to optimize the buffer performance DEVICE_METADATA|localhost.create_only_config_db_buffers. Using this configuration the buffer counters are created only for the queues and PGs with buffer configured for performance optimization.
However, to have counters for CPU tx queue, we have to configure it in BUFFER_QUEUE, mainly for data traffic, which is a bad coupling.
Using this PR the counter will be created for CPU tx queue without data buffer configuration.

…en create_only_config_db_buffers is enabled (sonic-net#3334)

Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled
*There is a configuration to optimize the buffer performance DEVICE_METADATA|localhost.create_only_config_db_buffers. Using this configuration the buffer counters are created only for the queues and PGs with buffer configured for performance optimization.
However, to have counters for CPU tx queue, we have to configure it in BUFFER_QUEUE, mainly for data traffic, which is a bad coupling.
Using this PR the counter will be created for CPU tx queue without data buffer configuration.
@mssonicbld
Copy link
Collaborator Author

Original PR: #3334

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants