Skip to content

Commit

Permalink
Add bulk APIs for ingress priority group and queue. (#2076)
Browse files Browse the repository at this point in the history
Signed-off-by: zhichenr <[email protected]>
  • Loading branch information
MELLANOX-zhichenr authored Oct 8, 2024
1 parent 41089b0 commit 5302cbc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions inc/saibuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,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 @@ -583,14 +583,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

0 comments on commit 5302cbc

Please sign in to comment.