Home
last modified time | relevance | path

Searched refs:tas_config (Results 1 – 3 of 3) sorted by relevance

/NetX-Duo-v6.4.1/test/regression/tsn_test/
Dnetx_shaper_tas_test.c201 NX_SHAPER_TAS_CONFIG tas_config; in thread_0_entry() local
209 memset(&tas_config, 0, sizeof(tas_config)); in thread_0_entry()
302 tas_config.base_time = 0; in thread_0_entry()
303 tas_config.cycle_time = 1000; in thread_0_entry()
304 tas_config.auto_fill_status = NX_SHAPER_TAS_IDLE_CYCLE_AUTO_FILL_WITH_CLOSE; in thread_0_entry()
305 tas_config.traffic_count = 2; in thread_0_entry()
307 tas_config.traffic[0].pcp = 3; in thread_0_entry()
308 tas_config.traffic[0].time_offset = 0; in thread_0_entry()
309 tas_config.traffic[0].duration = 200; in thread_0_entry()
310 tas_config.traffic[0].traffic_control = NX_SHAPER_TRAFFIC_OPEN; in thread_0_entry()
[all …]
/NetX-Duo-v6.4.1/tsn/src/
Dnx_shaper.c1143 UINT nx_shaper_tas_parameter_set(NX_INTERFACE *interface_ptr, NX_SHAPER_TAS_CONFIG *tas_config) in nx_shaper_tas_parameter_set() argument
1186 for (i = 0; i < tas_config -> traffic_count; i++) in nx_shaper_tas_parameter_set()
1188 … if (tas_config -> traffic[i].time_offset + tas_config -> traffic[i].duration > auto_fill_start) in nx_shaper_tas_parameter_set()
1190 … auto_fill_start = tas_config -> traffic[i].time_offset + tas_config -> traffic[i].duration; in nx_shaper_tas_parameter_set()
1196 if (tas_config -> auto_fill_status == NX_SHAPER_TAS_IDLE_CYCLE_AUTO_FILL_DISABLED) in nx_shaper_tas_parameter_set()
1202 end = tas_config -> cycle_time; in nx_shaper_tas_parameter_set()
1206 tas_parameter.base_time = tas_config -> base_time; in nx_shaper_tas_parameter_set()
1207 tas_parameter.cycle_time = tas_config -> cycle_time; in nx_shaper_tas_parameter_set()
1208 tas_parameter.cycle_time_extension = tas_config -> cycle_time / 2; in nx_shaper_tas_parameter_set()
1242 for (i = 0; i < tas_config -> traffic_count; i++) in nx_shaper_tas_parameter_set()
[all …]
/NetX-Duo-v6.4.1/tsn/inc/
Dnx_shaper.h220 UINT nx_shaper_tas_parameter_set(NX_INTERFACE *interface_ptr, NX_SHAPER_TAS_CONFIG *tas_config);