Skip to content

Commit

Permalink
Add bulk APIs for ingress priority group and queue.
Browse files Browse the repository at this point in the history
Signed-off-by: zhichenr <zhichenr@mellanox.com>
  • Loading branch information
MELLANOX-zhichenr committed Sep 11, 2024
1 parent a0ae84d commit 4a012f0
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 @@ -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

0 comments on commit 4a012f0

Please sign in to comment.