Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bulk set and bulk get API for ingress priority group and queue #2075

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions inc/saibuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,8 @@ typedef struct _sai_buffer_api_t
sai_remove_buffer_profile_fn remove_buffer_profile;
sai_set_buffer_profile_attribute_fn set_buffer_profile_attribute;
sai_get_buffer_profile_attribute_fn get_buffer_profile_attribute;
sai_bulk_object_set_attribute_fn set_ingress_priority_groups_attribute;
sai_bulk_object_get_attribute_fn get_ingress_priority_groups_attribute;
} sai_buffer_api_t;

/**
Expand Down
17 changes: 9 additions & 8 deletions inc/saiqueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -561,14 +561,15 @@ typedef void (*sai_queue_pfc_deadlock_notification_fn)(
*/
typedef struct _sai_queue_api_t
{
sai_create_queue_fn create_queue;
sai_remove_queue_fn remove_queue;
sai_set_queue_attribute_fn set_queue_attribute;
sai_get_queue_attribute_fn get_queue_attribute;
sai_get_queue_stats_fn get_queue_stats;
sai_get_queue_stats_ext_fn get_queue_stats_ext;
sai_clear_queue_stats_fn clear_queue_stats;

sai_create_queue_fn create_queue;
sai_remove_queue_fn remove_queue;
sai_set_queue_attribute_fn set_queue_attribute;
sai_get_queue_attribute_fn get_queue_attribute;
sai_get_queue_stats_fn get_queue_stats;
sai_get_queue_stats_ext_fn get_queue_stats_ext;
sai_clear_queue_stats_fn clear_queue_stats;
sai_bulk_object_set_attribute_fn set_queues_attribute;
sai_bulk_object_get_attribute_fn get_queues_attribute;
} sai_queue_api_t;

/**
Expand Down
Loading