Skip to content

Commit

Permalink
linux-gen: tm: add node stats API stub
Browse files Browse the repository at this point in the history
Add node stats API stub.

Signed-off-by: Nithin Dabilpuram <[email protected]>
  • Loading branch information
nithind1988 committed Jun 29, 2021
1 parent e8fa21e commit 4c538be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions platform/linux-generic/odp_traffic_mngr.c
Original file line number Diff line number Diff line change
Expand Up @@ -4553,6 +4553,14 @@ int odp_tm_node_fanin_info(odp_tm_node_t tm_node,
return 0;
}

int odp_tm_node_stats(odp_tm_node_t tm_node, odp_tm_node_stats_t *node_stats)
{
(void)tm_node;
(void)node_stats;

return -1;
}

int odp_tm_queue_info(odp_tm_queue_t tm_queue, odp_tm_queue_info_t *info)
{
tm_queue_thresholds_t *threshold_params;
Expand Down

0 comments on commit 4c538be

Please sign in to comment.