Home
last modified time | relevance | path

Searched refs:port_rate (Results 1 – 7 of 7) sorted by relevance

/NetX-Duo-v6.2.1/tsn/src/
Dnx_srp.c514 UINT nx_srp_cbs_config_get(UINT sr_class, INT port_rate, UINT interval, UINT frames_per_interval, U… in nx_srp_cbs_config_get() argument
519 if (cbs_param -> idle_slope >= port_rate) in nx_srp_cbs_config_get()
521 …eslope : %dMbps must be set less than port rate : %dMbps.\n", cbs_param -> idle_slope, port_rate); in nx_srp_cbs_config_get()
524 cbs_param -> send_slope = cbs_param -> idle_slope - port_rate; in nx_srp_cbs_config_get()
525 …cbs_param -> hi_credit = (INT)((long long)cbs_param -> idle_slope * non_sr_frame_size / port_rate); in nx_srp_cbs_config_get()
526 … cbs_param -> low_credit = (INT)((long long)cbs_param -> send_slope * max_frame_size / port_rate); in nx_srp_cbs_config_get()
533 if (cbs_param -> idle_slope >= port_rate) in nx_srp_cbs_config_get()
535 …eslope : %dMbps must be set less than port rate : %dMbps.\n", cbs_param -> idle_slope, port_rate); in nx_srp_cbs_config_get()
538 cbs_param -> send_slope = cbs_param -> idle_slope - port_rate; in nx_srp_cbs_config_get()
539 …_slope * non_sr_frame_size / (port_rate - idle_slope_a) + (long long)cbs_param -> idle_slope * max… in nx_srp_cbs_config_get()
[all …]
Dnx_shaper.c262 UINT port_rate, in nx_shaper_config() argument
270 interface_ptr -> shaper_container -> port_rate = port_rate; in nx_shaper_config()
840 UINT nx_shaper_port_rate_get(NX_INTERFACE *interface_ptr, UINT *port_rate) in nx_shaper_port_rate_get() argument
847 *port_rate = interface_ptr -> shaper_container -> port_rate; in nx_shaper_port_rate_get()
1447 if (interface_ptr -> shaper_container -> port_rate != 0) in nx_shaper_sdu_tx_time_get()
1449 tmp = tmp / interface_ptr -> shaper_container -> port_rate; in nx_shaper_sdu_tx_time_get()
/NetX-Duo-v6.2.1/tsn/inc/
Dnx_shaper.h131 UINT port_rate; /* Mbps */ member
207 UINT nx_shaper_config(NX_INTERFACE *interface_ptr, UINT port_rate, UCHAR shaper_capability,
225 UINT nx_shaper_port_rate_get(NX_INTERFACE *interface_ptr, UINT *port_rate);
Dnx_srp.h86 UINT nx_srp_cbs_config_get(UINT sr_class, INT port_rate, UINT interval, UINT frames_per_interval, U…
/NetX-Duo-v6.2.1/test/regression/tsn_test/
Dnetx_shaper_cbs_test.c194 UINT port_rate; in thread_0_entry() local
799 status = nx_shaper_port_rate_get(interface_ptr, &port_rate); in thread_0_entry()
801 cbs_param.send_slope = 30 - port_rate; in thread_0_entry()
Dnetx_shaper_tas_test.c196 UINT port_rate; in thread_0_entry() local
Dnetx_mrp_state_machine_test.c179 UINT port_rate; in thread_0_entry() local