Lines Matching +full:num +full:- +full:rings

2  * @file Header file describing the flow rings DHD interfaces.
4 * Flow rings are transmit traffic (=propagating towards antenna) related entities.
6 * Provides type definitions and function prototypes used to create, delete and manage flow rings at
11 * Copyright (C) 1999-2017, Broadcom Corporation
32 * <<Broadcom-WL-IPTag/Open:>>
34 * $Id: dhd_flowring.h 697690 2017-05-04 14:16:18Z $
47 /* Number of H2D common rings */
79 #define DHD_IF_ROLE(pub, idx) (((if_flow_lkup_t *)(pub)->if_flow_lkup)[idx].role)
101 (flow_ring_node_t *)&(((flow_ring_node_t *)((dhdp)->flow_ring_table))[flowid])
128 #define DHD_FLOW_QUEUE_LEN(queue) ((int)(queue)->len)
129 #define DHD_FLOW_QUEUE_MAX(queue) ((int)(queue)->max)
130 #define DHD_FLOW_QUEUE_THRESHOLD(queue) ((int)(queue)->threshold)
131 #define DHD_FLOW_QUEUE_L2THRESHOLD(queue) ((int)(queue)->l2threshold)
132 #define DHD_FLOW_QUEUE_EMPTY(queue) ((queue)->len == 0)
133 #define DHD_FLOW_QUEUE_FAILURES(queue) ((queue)->failures)
135 #define DHD_FLOW_QUEUE_AVAIL(queue) ((int)((queue)->max - (queue)->len))
136 #define DHD_FLOW_QUEUE_FULL(queue) ((queue)->len >= (queue)->max)
139 (((queue)->len) > budget)
142 ((queue)->max) = ((budget) - 1)
146 ((queue)->threshold) = ((cumm_threshold) - 1)
149 #define DHD_FLOW_QUEUE_CLEN_PTR(queue) ((queue)->clen_ptr)
153 ((queue)->clen_ptr) = (void *)(parent_clen_ptr)
157 ((queue)->l2threshold) = ((l2cumm_threshold) - 1)
160 #define DHD_FLOW_QUEUE_L2CLEN_PTR(queue) ((queue)->l2clen_ptr)
164 ((queue)->l2clen_ptr) = (void *)(grandparent_clen_ptr)
179 #define DHD_PKTTAG_SET_IFID(tag, idx) ((tag)->ifid = (uint16)(idx))
180 #define DHD_PKTTAG_SET_PA(tag, pa) ((tag)->physaddr = (pa))
181 #define DHD_PKTTAG_SET_PA_LEN(tag, palen) ((tag)->pa_len = (palen))
182 #define DHD_PKTTAG_IFID(tag) ((tag)->ifid)
183 #define DHD_PKTTAG_PA(tag) ((tag)->physaddr)
184 #define DHD_PKTTAG_PA_LEN(tag) ((tag)->pa_len)
197 /* num tx packets sent on this flowring */
210 * unicast flow rings, the flow id accelerates ARM 802.3->802.11 header translation.