Home
last modified time | relevance | path

Searched refs:mqprio (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_mqprio.c19 if (!mqprio->qopt.num_tc) in cxgb4_mqprio_validate()
49 qcount += mqprio->qopt.count[i]; in cxgb4_mqprio_validate()
51 start_a = mqprio->qopt.offset[i]; in cxgb4_mqprio_validate()
54 start_b = mqprio->qopt.offset[j]; in cxgb4_mqprio_validate()
62 if (!mqprio->qopt.count[i]) in cxgb4_mqprio_validate()
65 if (!mqprio->qopt.count[j]) in cxgb4_mqprio_validate()
446 qcount = mqprio->qopt.count[i]; in cxgb4_mqprio_enable_offload()
471 memcpy(&tc_port_mqprio->mqprio, mqprio, in cxgb4_mqprio_enable_offload()
486 qcount = mqprio->qopt.count[i]; in cxgb4_mqprio_enable_offload()
510 i = mqprio->qopt.num_tc; in cxgb4_mqprio_enable_offload()
[all …]
A Dcxgb4_tc_mqprio.h29 struct tc_mqprio_qopt_offload mqprio; /* MQPRIO offload params */ member
41 struct tc_mqprio_qopt_offload *mqprio);
/linux-6.3-rc2/Documentation/networking/device_drivers/ethernet/ti/
A Dcpsw.rst212 +---(100:ffe2) mqprio
216 +---(100:ffe1) mqprio
219 +---(100:ffe0) mqprio
220 +---(100:1) mqprio
223 +---(100:ffe0) mqprio
224 +---(100:5) mqprio
439 +---(100:ffe2) mqprio
443 +---(100:ffe1) mqprio
446 +---(100:ffe0) mqprio
498 +---(100:ffe2) mqprio
[all …]
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/
A Daq_main.c379 struct tc_mqprio_qopt_offload *mqprio, in aq_validate_mqprio_opt() argument
382 const bool has_min_rate = !!(mqprio->flags & TC_MQPRIO_F_MIN_RATE); in aq_validate_mqprio_opt()
408 struct tc_mqprio_qopt_offload *mqprio = type_data; in aq_ndo_setup_tc() local
418 has_min_rate = !!(mqprio->flags & TC_MQPRIO_F_MIN_RATE); in aq_ndo_setup_tc()
419 has_max_rate = !!(mqprio->flags & TC_MQPRIO_F_MAX_RATE); in aq_ndo_setup_tc()
421 err = aq_validate_mqprio_opt(aq_nic, mqprio, mqprio->qopt.num_tc); in aq_ndo_setup_tc()
425 for (i = 0; i < mqprio->qopt.num_tc; i++) { in aq_ndo_setup_tc()
427 u64 max_rate = mqprio->max_rate[i]; in aq_ndo_setup_tc()
434 u64 min_rate = mqprio->min_rate[i]; in aq_ndo_setup_tc()
441 return aq_nic_setup_tc_mqprio(aq_nic, mqprio->qopt.num_tc, in aq_ndo_setup_tc()
[all …]
/linux-6.3-rc2/net/sched/
A Dsch_mqprio.c47 mqprio.flags = priv->flags; in mqprio_enable_offload()
49 mqprio.mode = priv->mode; in mqprio_enable_offload()
51 mqprio.shaper = priv->shaper; in mqprio_enable_offload()
53 for (i = 0; i < mqprio.qopt.num_tc; i++) in mqprio_enable_offload()
54 mqprio.min_rate[i] = priv->min_rate[i]; in mqprio_enable_offload()
56 for (i = 0; i < mqprio.qopt.num_tc; i++) in mqprio_enable_offload()
57 mqprio.max_rate[i] = priv->max_rate[i]; in mqprio_enable_offload()
64 &mqprio); in mqprio_enable_offload()
68 priv->hw_offload = mqprio.qopt.hw; in mqprio_enable_offload()
75 struct tc_mqprio_qopt_offload mqprio = { { 0 } }; in mqprio_disable_offload() local
[all …]
A Dsch_taprio.c1746 if (!mqprio || mqprio->num_tc != dev->num_tc) in taprio_mqprio_cmp()
1749 for (i = 0; i < mqprio->num_tc; i++) in taprio_mqprio_cmp()
1796 struct tc_mqprio_qopt *mqprio = NULL; in taprio_change() local
1835 if (!taprio_mqprio_cmp(dev, mqprio)) in taprio_change()
1836 mqprio = NULL; in taprio_change()
1838 if (mqprio && (oper || admin)) { in taprio_change()
1844 if (mqprio) { in taprio_change()
1850 mqprio->count[i], in taprio_change()
1851 mqprio->offset[i]); in taprio_change()
1852 q->cur_txq[i] = mqprio->offset[i]; in taprio_change()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_tc.c11 struct tc_mqprio_qopt_offload *mqprio) in lan966x_tc_setup_qdisc_mqprio() argument
13 u8 num_tc = mqprio->qopt.num_tc; in lan966x_tc_setup_qdisc_mqprio()
15 mqprio->qopt.hw = TC_MQPRIO_HW_OFFLOAD_TCS; in lan966x_tc_setup_qdisc_mqprio()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_main.c3373 params->mqprio.num_tc = num_tc; in mlx5e_params_mqprio_dcb_set()
3399 params->mqprio.num_tc = mqprio->qopt.num_tc; in mlx5e_params_mqprio_channel_set()
3402 params->mqprio.channel.max_rate[tc] = mqprio->max_rate[tc]; in mlx5e_params_mqprio_channel_set()
3405 mlx5e_mqprio_build_tc_to_txq(params->mqprio.tc_to_txq, &mqprio->qopt); in mlx5e_params_mqprio_channel_set()
3417 u8 tc = mqprio->num_tc; in mlx5e_setup_tc_mqprio_dcb()
3457 if (mqprio->qopt.offset[0] != 0 || mqprio->qopt.num_tc < 1 || in mlx5e_mqprio_channel_validate()
3462 if (!mqprio->qopt.count[i]) { in mlx5e_mqprio_channel_validate()
3466 if (mqprio->min_rate[i]) { in mlx5e_mqprio_channel_validate()
3471 if (mqprio->max_rate[i]) { in mlx5e_mqprio_channel_validate()
3540 rl = mlx5e_mqprio_rl_create(priv->mdev, mqprio->qopt.num_tc, mqprio->max_rate); in mlx5e_setup_tc_mqprio_channel()
[all …]
A Den.h314 } mqprio; member
335 return params->mqprio.mode == TC_MQPRIO_MODE_DCB ? in mlx5e_get_dcb_num_tc()
336 params->mqprio.num_tc : 1; in mlx5e_get_dcb_num_tc()
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Dtx.c362 struct tc_mqprio_qopt *mqprio = type_data; in efx_siena_setup_tc() local
372 num_tc = mqprio->num_tc; in efx_siena_setup_tc()
377 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in efx_siena_setup_tc()
/linux-6.3-rc2/tools/testing/selftests/drivers/net/netdevsim/
A Dtc-mq-visibility.sh28 for root in mq mqprio; do
/linux-6.3-rc2/drivers/net/ethernet/ti/
A Dcpsw_priv.c994 struct tc_mqprio_qopt_offload *mqprio = type_data; in cpsw_set_mqprio() local
1002 num_tc = mqprio->qopt.num_tc; in cpsw_set_mqprio()
1006 if (mqprio->mode != TC_MQPRIO_MODE_DCB) in cpsw_set_mqprio()
1015 tc = mqprio->qopt.prio_tc_map[i]; in cpsw_set_mqprio()
1022 count = mqprio->qopt.count[i]; in cpsw_set_mqprio()
1023 offset = mqprio->qopt.offset[i]; in cpsw_set_mqprio()
1028 if (!mqprio->qopt.hw) { in cpsw_set_mqprio()
1034 priv->mqprio_hw = mqprio->qopt.hw; in cpsw_set_mqprio()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Dtx.c615 struct tc_mqprio_qopt *mqprio = type_data; in efx_setup_tc() local
625 num_tc = mqprio->num_tc; in efx_setup_tc()
630 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in efx_setup_tc()
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/
A Dtx.c430 struct tc_mqprio_qopt *mqprio = type_data; in ef4_setup_tc() local
439 num_tc = mqprio->num_tc; in ef4_setup_tc()
444 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in ef4_setup_tc()
/linux-6.3-rc2/Documentation/networking/device_drivers/ethernet/intel/
A Diavf.rst163 tc qdisc add dev <interface> root mqprio num_tc 2 map 0 0 0 0 1 1 1 1
175 offload mode in mqprio that makes full use of the mqprio options, the
186 TCs are configured using mqprio.
200 are configured using mqprio
/linux-6.3-rc2/Documentation/networking/
A Dtc-queue-filters.rst15 the queue-sets are configured using mqprio.
/linux-6.3-rc2/drivers/net/ethernet/marvell/
A Dmvneta.c5152 num_tc = mqprio->qopt.num_tc; in mvneta_setup_mqprio()
5165 netdev_set_num_tc(dev, mqprio->qopt.num_tc); in mvneta_setup_mqprio()
5167 for (tc = 0; tc < mqprio->qopt.num_tc; tc++) { in mvneta_setup_mqprio()
5169 mqprio->qopt.offset[tc]); in mvneta_setup_mqprio()
5171 for (rxq = mqprio->qopt.offset[tc]; in mvneta_setup_mqprio()
5172 rxq < mqprio->qopt.count[tc] + mqprio->qopt.offset[tc]; in mvneta_setup_mqprio()
5186 if (mqprio->qopt.num_tc > txq_number) in mvneta_setup_mqprio()
5194 for (txq = mqprio->qopt.offset[tc]; in mvneta_setup_mqprio()
5195 txq < mqprio->qopt.count[tc] + mqprio->qopt.offset[tc]; in mvneta_setup_mqprio()
5201 mqprio->min_rate[tc], in mvneta_setup_mqprio()
[all …]
/linux-6.3-rc2/include/net/
A Dpkt_sched.h196 struct tc_mqprio_qopt_offload mqprio; member
/linux-6.3-rc2/Documentation/admin-guide/cgroup-v1/
A Dnet_prio.rst52 One usage for the net_prio cgroup is with mqprio qdisc allowing application
/linux-6.3-rc2/tools/testing/selftests/drivers/net/ocelot/
A Dpsfp.sh155 tc qdisc add dev ${if_name} handle 100: parent root mqprio num_tc 8 \
/linux-6.3-rc2/Documentation/networking/device_drivers/ethernet/freescale/
A Ddpaa.rst166 are used. Higher priority traffic classes can be enabled with the mqprio
179 mqprio num_tc 4 map 0 0 0 0 1 1 1 1 2 2 2 2 3 3 3 3 hw 1
/linux-6.3-rc2/drivers/net/ethernet/intel/fm10k/
A Dfm10k_netdev.c1320 struct tc_mqprio_qopt *mqprio = type_data; in __fm10k_setup_tc() local
1325 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in __fm10k_setup_tc()
1327 return fm10k_setup_tc(dev, mqprio->num_tc); in __fm10k_setup_tc()
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/
A Denetc_qos.c146 err = enetc_setup_tc_mqprio(ndev, &taprio->mqprio); in enetc_setup_tc_taprio()
152 taprio->mqprio.qopt.num_tc = 0; in enetc_setup_tc_taprio()
153 enetc_setup_tc_mqprio(ndev, &taprio->mqprio); in enetc_setup_tc_taprio()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dptp.c531 params->mqprio = orig->mqprio; in mlx5e_ptp_build_params()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qede/
A Dqede_main.c677 struct tc_mqprio_qopt *mqprio; in qede_setup_tc_offload() local
686 mqprio = type_data; in qede_setup_tc_offload()
688 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in qede_setup_tc_offload()
689 return qede_setup_tc(dev, mqprio->num_tc); in qede_setup_tc_offload()

Completed in 85 milliseconds

12