X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fbnxt%2Ftf_core%2Fstack.h;h=358233279c363149a36f9918589a5b031bf43a46;hb=91f7a2d437b9370bc2932125e0c17384cd9aac44;hp=ebd05559278b9b80f4b26abbc1108b87e3d0d32c;hpb=69c410b8448d216239e95fce46bfe2c3ae81ff64;p=dpdk.git diff --git a/drivers/net/bnxt/tf_core/stack.h b/drivers/net/bnxt/tf_core/stack.h index ebd0555927..358233279c 100644 --- a/drivers/net/bnxt/tf_core/stack.h +++ b/drivers/net/bnxt/tf_core/stack.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2019-2020 Broadcom + * Copyright(c) 2019-2021 Broadcom * All rights reserved. */ #ifndef _STACK_H_ @@ -36,6 +36,16 @@ int stack_init(int num_entries, uint32_t *items, struct stack *st); +/** Return the address of the stack contents + * + * [in] st + * pointer to the stack + * + * return + * pointer to the stack contents + */ +uint32_t *stack_items(struct stack *st); + /** Return the size of the stack * * [in] st