| /f-stack/dpdk/examples/qos_sched/ |
| H A D | profile_ov.cfg | 63 tc 0 wred min = 48 40 32 64 tc 0 wred max = 64 64 64 66 tc 0 wred weight = 9 9 9 68 tc 1 wred min = 48 40 32 69 tc 1 wred max = 64 64 64 71 tc 1 wred weight = 9 9 9 73 tc 2 wred min = 48 40 32 74 tc 2 wred max = 64 64 64 76 tc 2 wred weight = 9 9 9 78 tc 3 wred min = 48 40 32 [all …]
|
| H A D | profile.cfg | 80 tc 0 wred min = 48 40 32 81 tc 0 wred max = 64 64 64 83 tc 0 wred weight = 9 9 9 85 tc 1 wred min = 48 40 32 86 tc 1 wred max = 64 64 64 88 tc 1 wred weight = 9 9 9 90 tc 2 wred min = 48 40 32 91 tc 2 wred max = 64 64 64 93 tc 2 wred weight = 9 9 9 95 tc 3 wred min = 48 40 32 [all …]
|
| /f-stack/dpdk/lib/librte_meter/ |
| H A D | rte_meter.h | 444 m->tc = tc; in rte_meter_srtcm_color_blind_check() 449 m->tc = tc; in rte_meter_srtcm_color_blind_check() 486 m->tc = tc; in rte_meter_srtcm_color_aware_check() 491 m->tc = tc; in rte_meter_srtcm_color_aware_check() 522 m->tc = tc; in rte_meter_trtcm_color_blind_check() 528 m->tc = tc; in rte_meter_trtcm_color_blind_check() 565 m->tc = tc; in rte_meter_trtcm_color_aware_check() 571 m->tc = tc; in rte_meter_trtcm_color_aware_check() 613 m->tc = tc; in rte_meter_trtcm_rfc4115_color_blind_check() 619 m->tc = tc; in rte_meter_trtcm_rfc4115_color_blind_check() [all …]
|
| /f-stack/freebsd/x86/include/ |
| H A D | bus_dma.h | 44 struct bus_dma_tag_common *tc; in bus_dma_id_mapped() local 57 struct bus_dma_tag_common *tc; in bus_dmamap_create() local 70 struct bus_dma_tag_common *tc; in bus_dmamap_destroy() local 85 struct bus_dma_tag_common *tc; in bus_dmamem_alloc() local 98 struct bus_dma_tag_common *tc; in bus_dmamem_free() local 110 struct bus_dma_tag_common *tc; in bus_dmamap_unload() local 121 struct bus_dma_tag_common *tc; in bus_dmamap_sync() local 137 struct bus_dma_tag_common *tc; in _bus_dmamap_load_phys() local 149 struct bus_dma_tag_common *tc; in _bus_dmamap_load_ma() local 165 struct bus_dma_tag_common *tc; in _bus_dmamap_load_buffer() local [all …]
|
| /f-stack/freebsd/arm64/include/ |
| H A D | bus_dma.h | 17 struct bus_dma_tag_common *tc; in bus_dma_id_mapped() local 30 struct bus_dma_tag_common *tc; in bus_dmamap_create() local 43 struct bus_dma_tag_common *tc; in bus_dmamap_destroy() local 58 struct bus_dma_tag_common *tc; in bus_dmamem_alloc() local 71 struct bus_dma_tag_common *tc; in bus_dmamem_free() local 83 struct bus_dma_tag_common *tc; in bus_dmamap_unload() local 92 struct bus_dma_tag_common *tc; in bus_dmamap_sync() local 102 struct bus_dma_tag_common *tc; in _bus_dmamap_load_phys() local 114 struct bus_dma_tag_common *tc; in _bus_dmamap_load_ma() local 126 struct bus_dma_tag_common *tc; in _bus_dmamap_load_buffer() local [all …]
|
| /f-stack/dpdk/drivers/net/mvpp2/ |
| H A D | mrvl_qos.c | 331 cfg->port[port].tc[tc].inq, in parse_tc_cfg() 346 cfg->port[port].tc[tc].pcp, in parse_tc_cfg() 361 cfg->port[port].tc[tc].dscp, in parse_tc_cfg() 760 for (tc = 0; tc < RTE_DIM(port_cfg->tc); ++tc) { in mrvl_configure_rxqs() 761 if (port_cfg->tc[tc].pcps > RTE_DIM(port_cfg->tc[0].pcp)) { in mrvl_configure_rxqs() 769 port_cfg->tc[tc].pcp[i]].tc = tc; in mrvl_configure_rxqs() 782 for (tc = 0; tc < RTE_DIM(port_cfg->tc); ++tc) { in mrvl_configure_rxqs() 791 port_cfg->tc[tc].dscp[i]].tc = tc; in mrvl_configure_rxqs() 804 for (tc = 0; tc < RTE_DIM(port_cfg->tc); ++tc) { in mrvl_configure_rxqs() 805 if (port_cfg->tc[tc].inqs > RTE_DIM(port_cfg->tc[0].inq)) { in mrvl_configure_rxqs() [all …]
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_table.c | 201 if (tc->limit == 0 || tc->count < tc->limit) in check_table_limit() 585 ts.tc = tc; in add_table_entry() 1235 ts.tc = tc; in flush_table() 2209 da.tc = tc; in dump_table_v1() 2274 da.tc = tc; in dump_table_v0() 2358 tc = da->tc; in dump_table_entry() 2405 da.tc = tc; in ipfw_dump_table_legacy() 2431 tc = da->tc; in dump_table_tentry() 2469 tc = da->tc; in dump_table_xentry() 2515 tc = da->tc; in prepare_table_tentry() [all …]
|
| /f-stack/dpdk/lib/librte_eal/include/ |
| H A D | rte_time.h | 41 ns = cycles + tc->nsec_frac; in rte_cyclecounter_cycles_to_ns() 42 tc->nsec_frac = ns & tc->nsec_mask; in rte_cyclecounter_cycles_to_ns() 45 return ns >> tc->cc_shift; in rte_cyclecounter_cycles_to_ns() 52 rte_timecounter_update(struct rte_timecounter *tc, uint64_t cycle_now) in rte_timecounter_update() argument 57 if (tc->cycle_last <= cycle_now) in rte_timecounter_update() 58 cycle_delta = (cycle_now - tc->cycle_last) & tc->cc_mask; in rte_timecounter_update() 61 cycle_delta = (~(tc->cycle_last - cycle_now) & tc->cc_mask) + 1; in rte_timecounter_update() 64 ns_offset = rte_cyclecounter_cycles_to_ns(tc, cycle_delta); in rte_timecounter_update() 67 tc->cycle_last = cycle_now; in rte_timecounter_update() 70 tc->nsec += ns_offset; in rte_timecounter_update() [all …]
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | qos_scheduler.rst | 203 tc 0 wred min = 48 40 32 204 tc 0 wred max = 64 64 64 206 tc 0 wred weight = 9 9 9 208 tc 1 wred min = 48 40 32 209 tc 1 wred max = 64 64 64 211 tc 1 wred weight = 9 9 9 213 tc 2 wred min = 48 40 32 214 tc 2 wred max = 64 64 64 216 tc 2 wred weight = 9 9 9 218 tc 3 wred min = 48 40 32 [all …]
|
| /f-stack/dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_dcb.c | 286 int tc; in txgbe_dcb_unpack_refill_cee() local 288 for (tc = 0; tc < TXGBE_DCB_TC_MAX; tc++) in txgbe_dcb_unpack_refill_cee() 295 int tc; in txgbe_dcb_unpack_max_cee() local 297 for (tc = 0; tc < TXGBE_DCB_TC_MAX; tc++) in txgbe_dcb_unpack_max_cee() 298 max[tc] = tc_config[tc].desc_credits_max; in txgbe_dcb_unpack_max_cee() 305 int tc; in txgbe_dcb_unpack_bwgid_cee() local 307 for (tc = 0; tc < TXGBE_DCB_TC_MAX; tc++) in txgbe_dcb_unpack_bwgid_cee() 315 int tc; in txgbe_dcb_unpack_tsa_cee() local 317 for (tc = 0; tc < TXGBE_DCB_TC_MAX; tc++) in txgbe_dcb_unpack_tsa_cee() 318 tsa[tc] = tc_config[tc].path[direction].tsa; in txgbe_dcb_unpack_tsa_cee() [all …]
|
| /f-stack/freebsd/x86/x86/ |
| H A D | busdma_machdep.c | 111 (paddr > tc->lowaddr && paddr <= tc->highaddr) || in bus_dma_run_filter() 113 (tc->filter == NULL || in bus_dma_run_filter() 114 (*tc->filter)(tc->filterarg, paddr) != 0)) in bus_dma_run_filter() 117 tc = tc->parent; in bus_dma_run_filter() 118 } while (retval == 0 && tc != NULL); in bus_dma_run_filter() 202 struct bus_dma_tag_common *tc; in bus_dma_tag_set_domain() local 207 if (domain == tc->domain) in bus_dma_tag_set_domain() 209 tc->domain = domain; in bus_dma_tag_set_domain() 223 struct bus_dma_tag_common *tc; in bus_dma_tag_create() local 265 struct bus_dma_tag_common *tc; in bus_dma_tag_destroy() local [all …]
|
| H A D | delay.c | 76 struct timecounter *tc; in delay_tc() local 91 tc = timecounter; in delay_tc() 92 if (tc->tc_quality <= 0) in delay_tc() 94 func = tc->tc_get_timecount; in delay_tc() 95 mask = tc->tc_counter_mask; in delay_tc() 96 freq = tc->tc_frequency; in delay_tc() 99 last = func(tc) & mask; in delay_tc() 102 u = func(tc) & mask; in delay_tc()
|
| H A D | tsc.c | 94 static u_int tsc_get_timecount(struct timecounter *tc); 104 struct timecounter *tc); 107 struct timecounter *tc); 801 tsc_get_timecount(struct timecounter *tc __unused) in tsc_get_timecount() 808 tscp_get_timecount(struct timecounter *tc __unused) in tscp_get_timecount() 815 tsc_get_timecount_low(struct timecounter *tc) in tsc_get_timecount_low() argument 825 tscp_get_timecount_low(struct timecounter *tc) in tscp_get_timecount_low() argument 843 tsc_get_timecount_low_lfence(struct timecounter *tc) in tsc_get_timecount_low_lfence() argument 847 return (tsc_get_timecount_low(tc)); in tsc_get_timecount_low_lfence() 863 return (tsc_get_timecount_low(tc)); in tsc_get_timecount_low_mfence() [all …]
|
| /f-stack/freebsd/netinet/libalias/ |
| H A D | alias_skinny.c | 219 tc->th_sum = 0; in alias_skinny_reg_msg() 221 tc->th_x2 = 1; in alias_skinny_reg_msg() 223 tc->th_sum = TcpChecksum(pip); in alias_skinny_reg_msg() 238 (void)tc; in alias_skinny_startmedia() 262 tc->th_sum = 0; in alias_skinny_port_msg() 264 tc->th_x2 = 1; in alias_skinny_port_msg() 266 tc->th_sum = TcpChecksum(pip); in alias_skinny_port_msg() 294 tc->th_sum = 0; in alias_skinny_opnrcvch_ack() 296 tc->th_x2 = 1; in alias_skinny_opnrcvch_ack() 298 tc->th_sum = TcpChecksum(pip); in alias_skinny_opnrcvch_ack() [all …]
|
| H A D | alias_smedia.c | 243 struct tcphdr *tc; in alias_rtsp_out() local 255 tc = (struct tcphdr *)ip_next(pip); in alias_rtsp_out() 409 tc->th_seq, tc->th_off); in alias_rtsp_out() 418 tc->th_sum = 0; in alias_rtsp_out() 420 tc->th_x2 = 1; in alias_rtsp_out() 422 tc->th_sum = TcpChecksum(pip); in alias_rtsp_out() 439 struct tcphdr *tc; in alias_pna_out() local 466 tc->th_sum = 0; in alias_pna_out() 468 tc->th_x2 = 1; in alias_pna_out() 470 tc->th_sum = TcpChecksum(pip); in alias_pna_out() [all …]
|
| /f-stack/dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_dcb_82599.c | 22 int tc; in ixgbe_dcb_get_tc_stats_82599() local 30 for (tc = 0; tc < tc_count; tc++) { in ixgbe_dcb_get_tc_stats_82599() 32 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc)); in ixgbe_dcb_get_tc_stats_82599() 34 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC_L(tc)); in ixgbe_dcb_get_tc_stats_82599() 38 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc)); in ixgbe_dcb_get_tc_stats_82599() 40 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC_L(tc)); in ixgbe_dcb_get_tc_stats_82599() 45 stats->qprdc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRDC(tc)); in ixgbe_dcb_get_tc_stats_82599() 63 int tc; in ixgbe_dcb_get_pfc_stats_82599() local 70 for (tc = 0; tc < tc_count; tc++) { in ixgbe_dcb_get_pfc_stats_82599() 72 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc)); in ixgbe_dcb_get_pfc_stats_82599() [all …]
|
| H A D | ixgbe_dcb_82598.c | 22 int tc; in ixgbe_dcb_get_tc_stats_82598() local 30 for (tc = 0; tc < tc_count; tc++) { in ixgbe_dcb_get_tc_stats_82598() 32 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc)); in ixgbe_dcb_get_tc_stats_82598() 34 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc)); in ixgbe_dcb_get_tc_stats_82598() 36 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc)); in ixgbe_dcb_get_tc_stats_82598() 38 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc)); in ixgbe_dcb_get_tc_stats_82598() 56 int tc; in ixgbe_dcb_get_pfc_stats_82598() local 63 for (tc = 0; tc < tc_count; tc++) { in ixgbe_dcb_get_pfc_stats_82598() 65 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc)); in ixgbe_dcb_get_pfc_stats_82598() 67 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRXC(tc)); in ixgbe_dcb_get_pfc_stats_82598()
|
| H A D | ixgbe_dcb.c | 198 int tc; in ixgbe_dcb_unpack_refill_cee() local 200 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_refill_cee() 207 int tc; in ixgbe_dcb_unpack_max_cee() local 209 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_max_cee() 210 max[tc] = tc_config[tc].desc_credits_max; in ixgbe_dcb_unpack_max_cee() 217 int tc; in ixgbe_dcb_unpack_bwgid_cee() local 219 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_bwgid_cee() 227 int tc; in ixgbe_dcb_unpack_tsa_cee() local 229 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_tsa_cee() 230 tsa[tc] = tc_config[tc].path[direction].tsa; in ixgbe_dcb_unpack_tsa_cee() [all …]
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | busdma_machdep.c | 103 while (tc != NULL) { in bus_dma_run_filter() 104 if ((paddr > tc->lowaddr && paddr <= tc->highaddr) && in bus_dma_run_filter() 105 (tc->filter == NULL || in bus_dma_run_filter() 106 (*tc->filter)(tc->filterarg, paddr) != 0)) in bus_dma_run_filter() 109 tc = tc->parent; in bus_dma_run_filter() 200 struct bus_dma_tag_common *tc; in bus_dma_tag_create() local 208 tc = (struct bus_dma_tag_common *)parent; in bus_dma_tag_create() 209 error = tc->impl->tag_create(parent, alignment, in bus_dma_tag_create() 242 struct bus_dma_tag_common *tc; in bus_dma_tag_destroy() local 244 tc = (struct bus_dma_tag_common *)dmat; in bus_dma_tag_destroy() [all …]
|
| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_sched.c | 2658 u8 tc; in ice_sched_cfg_agg() local 2824 u8 tc; in ice_sched_assoc_vsi_to_agg() local 2999 u8 tc; in ice_rm_agg_cfg() local 3674 u8 tc; in ice_cfg_vsi_bw_alloc() local 3729 u8 tc; in ice_cfg_agg_bw_alloc() local 4652 u8 tc; in ice_sched_set_agg_bw_dflt_lmt() local 4804 u8 tc; in ice_sched_validate_vsi_srl_node() local 4946 u8 tc; in ice_sched_set_vsi_bw_shared_lmt() local 4998 u8 tc; in ice_sched_validate_agg_srl_node() local 5176 u8 tc; in ice_sched_set_agg_bw_shared_lmt() local [all …]
|
| H A D | ice_sched.h | 132 ice_cfg_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 135 ice_cfg_q_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 138 ice_cfg_tc_node_bw_lmt(struct ice_port_info *pi, u8 tc, 141 ice_cfg_tc_node_bw_dflt_lmt(struct ice_port_info *pi, u8 tc, 144 ice_cfg_vsi_bw_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc, 150 ice_cfg_agg_bw_lmt_per_tc(struct ice_port_info *pi, u32 agg_id, u8 tc, 170 u8 tc); 180 u8 *node_prio, u8 tc); 191 enum ice_agg_type agg_type, u8 tc, 201 u8 tc, u32 min_bw, u32 max_bw, [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | subr_turnstile.c | 565 tc = TC_LOOKUP(lock); in turnstile_chain_lock() 575 tc = TC_LOOKUP(lock); in turnstile_trywait() 601 tc = TC_LOOKUP(lock); in turnstile_lock() 623 tc = TC_LOOKUP(lock); in turnstile_unlock() 645 tc = TC_LOOKUP(lock); in turnstile_cancel() 660 tc = TC_LOOKUP(lock); in turnstile_lookup() 761 tc->tc_depth++; in turnstile_wait() 762 if (tc->tc_depth > tc->tc_max_depth) { in turnstile_wait() 763 tc->tc_max_depth = tc->tc_depth; in turnstile_wait() 864 tc->tc_depth--; in turnstile_signal() [all …]
|
| H A D | kern_tc.c | 179 ncount = tc->tc_get_timecount(tc); in sysctl_kern_timecounter_get() 1161 u = tc->tc_frequency / tc->tc_counter_mask; in tc_init() 1169 tc->tc_name, (uintmax_t)tc->tc_frequency); in tc_init() 1174 tc->tc_name, (uintmax_t)tc->tc_frequency, in tc_init() 1216 (void)tc->tc_get_timecount(tc); in tc_init() 1509 for (tc = timecounters; tc != NULL; tc = tc->tc_next) { in sysctl_kern_timecounter_choice() 1998 u = tc->tc_get_timecount(tc) & tc->tc_counter_mask; in tc_cpu_ticks() 2196 val1 = tc->tc_get_timecount(tc); in DB_SHOW_COMMAND() 2198 val2 = tc->tc_get_timecount(tc); in DB_SHOW_COMMAND() 2202 tc->tc_counter_mask, (uintmax_t)tc->tc_frequency, tc->tc_quality, in DB_SHOW_COMMAND() [all …]
|
| /f-stack/dpdk/drivers/net/qede/base/ |
| H A D | ecore_init_fw_funcs.c | 291 for (tc = 0; tc < max_phys_tcs_per_port; tc++) in ecore_cmdq_lines_rt_init() 298 for (tc = 0; tc < max_phys_tcs_per_port; tc++) { in ecore_cmdq_lines_rt_init() 354 for (tc = 0; tc < NUM_OF_PHYS_TCS; tc++) in ecore_btb_blocks_rt_init() 369 for (tc = 0; tc < NUM_OF_PHYS_TCS; tc++) { in ecore_btb_blocks_rt_init() 672 for (tc = 0; tc < NUM_OF_TCS; tc++) { in ecore_vp_wfq_rt_init() 819 for (tc = 0; tc < NUM_OF_TCS; tc++) in ecore_qm_pf_rt_init() 908 for (tc = 0; tc < NUM_OF_TCS; tc++) { in ecore_init_vport_wfq() 1062 for (tc = 0; tc < num_tc; tc++) { in ecore_init_nig_ets() 1220 for (tc = 0; tc < NUM_OF_PHYS_TCS; tc++) { in ecore_init_nig_pri_tc_map() 1249 for (tc = 0; tc < NUM_OF_TCS; tc++) { in ecore_init_prs_ets() [all …]
|
| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_timer.c | 59 struct timecounter tc; member 82 jz4780_get_timecount(struct timecounter *tc) in jz4780_get_timecount() argument 85 (struct jz4780_timer_softc *)tc->tc_priv; in jz4780_get_timecount() 229 sc->tc.tc_get_timecount = jz4780_get_timecount; in jz4780_timer_attach() 230 sc->tc.tc_name = "JZ4780 OST"; in jz4780_timer_attach() 231 sc->tc.tc_frequency = counter_freq; in jz4780_timer_attach() 232 sc->tc.tc_counter_mask = ~0u; in jz4780_timer_attach() 233 sc->tc.tc_quality = 1000; in jz4780_timer_attach() 234 sc->tc.tc_priv = sc; in jz4780_timer_attach() 236 tc_init(&sc->tc); in jz4780_timer_attach() [all …]
|