1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2016 Cavium, Inc
5 #ifndef __THUNDERX_NICVF_BSVF_H__
6 #define __THUNDERX_NICVF_BSVF_H__
13 * The base queue structure to hold secondary qsets.
16 STAILQ_ENTRY(svf_entry) next; /**< Next element's pointer */
17 struct nicvf *vf; /**< Holder of a secondary qset */
21 * Enqueue new entry to secondary qsets.
24 * Entry to be enqueued.
27 nicvf_bsvf_push(struct svf_entry *entry);
30 * Dequeue an entry from secondary qsets.
39 * Check if the queue of secondary qsets is empty.
46 nicvf_bsvf_empty(void);
48 #endif /* __THUNDERX_NICVF_BSVF_H__ */