]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/tf_core/stack.c
net/ice/base: add inner VLAN protocol type for QinQ filter
[dpdk.git] / drivers / net / bnxt / tf_core / stack.c
index 9cfbd244fba73607182f4eda632d3e816895e344..db79461db9054a72ccce00d50aa409463d7cef9e 100644 (file)
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2020 Broadcom
+ * Copyright(c) 2019-2021 Broadcom
  * All rights reserved.
  */
 
@@ -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