X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fbnxt%2Ftf_core%2Fstack.c;h=954806377e337ded55eca49f8a82bd94c59b174d;hb=7ecfe8521fbb6a845f08a6b178676d1d6c5a7802;hp=9cfbd244fba73607182f4eda632d3e816895e344;hpb=2ec9392ba1543a06bae7f155469bdc3c1bd9b8b6;p=dpdk.git diff --git a/drivers/net/bnxt/tf_core/stack.c b/drivers/net/bnxt/tf_core/stack.c index 9cfbd244fb..954806377e 100644 --- a/drivers/net/bnxt/tf_core/stack.c +++ b/drivers/net/bnxt/tf_core/stack.c @@ -27,6 +27,14 @@ stack_init(int num_entries, uint32_t *items, struct stack *st) return 0; } +/* + * Return the address of the items + */ +uint32_t *stack_items(struct stack *st) +{ + return st->items; +} + /* Return the size of the stack */ int32_t