Home
last modified time | relevance | path

Searched refs:hw_queue (Results 1 – 4 of 4) sorted by relevance

/NetX-Duo-v6.4.1/test/regression/tsn_test/
Dnetx_shaper_cbs_test.c200 NX_SHAPER_HW_QUEUE hw_queue[8]; in thread_0_entry() local
235 hw_queue[index].hw_queue_id = 0; in thread_0_entry()
236 hw_queue[index].priority = 1; in thread_0_entry()
237 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_NORMAL; in thread_0_entry()
239 hw_queue[index].hw_queue_id = 1; in thread_0_entry()
240 hw_queue[index].priority = 2; in thread_0_entry()
241 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_CBS; in thread_0_entry()
243 hw_queue[index].hw_queue_id = 2; in thread_0_entry()
244 hw_queue[index].priority = 3; in thread_0_entry()
245 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_CBS; in thread_0_entry()
[all …]
Dnetx_shaper_tas_test.c205 NX_SHAPER_HW_QUEUE hw_queue[8]; in thread_0_entry() local
250 hw_queue[index].hw_queue_id = 0; in thread_0_entry()
251 hw_queue[index].priority = 1; in thread_0_entry()
252 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_NORMAL; in thread_0_entry()
254 hw_queue[index].hw_queue_id = 1; in thread_0_entry()
255 hw_queue[index].priority = 2; in thread_0_entry()
256 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_CBS; in thread_0_entry()
258 hw_queue[index].hw_queue_id = 2; in thread_0_entry()
259 hw_queue[index].priority = 3; in thread_0_entry()
260 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_CBS; in thread_0_entry()
[all …]
/NetX-Duo-v6.4.1/tsn/src/
Dnx_shaper.c265 NX_SHAPER_HW_QUEUE *hw_queue) in nx_shaper_config() argument
275 …status = nx_shaper_hw_queue_set(interface_ptr, hw_queue[i].hw_queue_id, hw_queue[i].priority, hw_q… in nx_shaper_config()
338 if ((interface_ptr -> shaper_container -> hw_queue[i].hw_queue_id == hw_queue_id) && in nx_shaper_hw_queue_set()
339 (interface_ptr -> shaper_container -> hw_queue[i].type != NX_SHAPER_HW_QUEUE_NONE)) in nx_shaper_hw_queue_set()
341 if (interface_ptr -> shaper_container -> hw_queue[i].priority != priority) in nx_shaper_hw_queue_set()
347 interface_ptr -> shaper_container -> hw_queue[i].type |= type; in nx_shaper_hw_queue_set()
356 if (interface_ptr -> shaper_container -> hw_queue[i].type == NX_SHAPER_HW_QUEUE_NONE) in nx_shaper_hw_queue_set()
362 if (interface_ptr -> shaper_container -> hw_queue[i].priority > priority) in nx_shaper_hw_queue_set()
377 …memcpy(&interface_ptr -> shaper_container -> hw_queue[i], &interface_ptr -> shaper_container -> hw… in nx_shaper_hw_queue_set()
381 interface_ptr -> shaper_container -> hw_queue[insert_id].hw_queue_id = hw_queue_id; in nx_shaper_hw_queue_set()
[all …]
/NetX-Duo-v6.4.1/tsn/inc/
Dnx_shaper.h136 NX_SHAPER_HW_QUEUE hw_queue[NX_SHAPER_MAX_SPA_QUEUE_NUM]; member
208 UCHAR hw_queue_number, NX_SHAPER_HW_QUEUE *hw_queue);