Home
last modified time | relevance | path

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

/Linux-v5.4/Documentation/networking/device_drivers/ti/
Dcpsw.txt180 $ tc qdisc replace dev eth0 handle 100: parent root mqprio num_tc 3 \
189 $ tc qdisc replace dev eth1 handle 100: parent root mqprio num_tc 1 \
195 +---(100:ffe2) mqprio
196 | +---(100:3) mqprio
197 | +---(100:4) mqprio
199 +---(100:ffe1) mqprio
200 | +---(100:2) mqprio
202 +---(100:ffe0) mqprio
203 +---(100:1) mqprio
206 +---(100:ffe0) mqprio
[all …]
/Linux-v5.4/net/sched/
Dsch_mqprio.c45 struct tc_mqprio_qopt_offload mqprio = { { 0 } }; in mqprio_destroy() local
52 &mqprio); in mqprio_destroy()
244 struct tc_mqprio_qopt_offload mqprio = {.qopt = *qopt}; in mqprio_init() local
252 mqprio.flags = priv->flags; in mqprio_init()
254 mqprio.mode = priv->mode; in mqprio_init()
256 mqprio.shaper = priv->shaper; in mqprio_init()
258 for (i = 0; i < mqprio.qopt.num_tc; i++) in mqprio_init()
259 mqprio.min_rate[i] = priv->min_rate[i]; in mqprio_init()
261 for (i = 0; i < mqprio.qopt.num_tc; i++) in mqprio_init()
262 mqprio.max_rate[i] = priv->max_rate[i]; in mqprio_init()
[all …]
Dsch_taprio.c1173 const struct tc_mqprio_qopt *mqprio, in taprio_sched_to_offload() argument
1196 struct tc_mqprio_qopt *mqprio, in taprio_enable_offload() argument
1218 taprio_sched_to_offload(q, sched, mqprio, offload); in taprio_enable_offload()
1351 const struct tc_mqprio_qopt *mqprio) in taprio_mqprio_cmp() argument
1355 if (!mqprio || mqprio->num_tc != dev->num_tc) in taprio_mqprio_cmp()
1358 for (i = 0; i < mqprio->num_tc; i++) in taprio_mqprio_cmp()
1359 if (dev->tc_to_txq[i].count != mqprio->count[i] || in taprio_mqprio_cmp()
1360 dev->tc_to_txq[i].offset != mqprio->offset[i]) in taprio_mqprio_cmp()
1364 if (dev->prio_tc_map[i] != mqprio->prio_tc_map[i]) in taprio_mqprio_cmp()
1377 struct tc_mqprio_qopt *mqprio = NULL; in taprio_change() local
[all …]
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Dtx.c429 struct tc_mqprio_qopt *mqprio = type_data; in ef4_setup_tc() local
438 num_tc = mqprio->num_tc; in ef4_setup_tc()
443 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in ef4_setup_tc()
/Linux-v5.4/Documentation/networking/device_drivers/intel/
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
Di40e.rst672 # tc qdisc add dev <interface> root mqprio num_tc 2 map 0 0 0 0 1 1 1 1
684 offload mode in mqprio that makes full use of the mqprio options, the
705 TCs are configured using mqprio.
/Linux-v5.4/drivers/net/ethernet/sfc/
Dtx.c686 struct tc_mqprio_qopt *mqprio = type_data; in efx_setup_tc() local
695 num_tc = mqprio->num_tc; in efx_setup_tc()
700 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in efx_setup_tc()
/Linux-v5.4/Documentation/admin-guide/cgroup-v1/
Dnet_prio.rst52 One usage for the net_prio cgroup is with mqprio qdisc allowing application
/Linux-v5.4/drivers/net/ethernet/ti/
Dcpsw.c2271 struct tc_mqprio_qopt_offload *mqprio = type_data; in cpsw_set_mqprio() local
2279 num_tc = mqprio->qopt.num_tc; in cpsw_set_mqprio()
2283 if (mqprio->mode != TC_MQPRIO_MODE_DCB) in cpsw_set_mqprio()
2294 tc = mqprio->qopt.prio_tc_map[i]; in cpsw_set_mqprio()
2301 count = mqprio->qopt.count[i]; in cpsw_set_mqprio()
2302 offset = mqprio->qopt.offset[i]; in cpsw_set_mqprio()
2307 if (!mqprio->qopt.hw) { in cpsw_set_mqprio()
2313 priv->mqprio_hw = mqprio->qopt.hw; in cpsw_set_mqprio()
Dnetcp_core.c1881 struct tc_mqprio_qopt *mqprio = type_data; in netcp_setup_tc() local
1891 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in netcp_setup_tc()
1892 num_tc = mqprio->num_tc; in netcp_setup_tc()
/Linux-v5.4/Documentation/networking/device_drivers/freescale/
Ddpaa.txt160 are used. Higher priority traffic classes can be enabled with the mqprio
171 mqprio num_tc 4 map 0 0 0 0 1 1 1 1 2 2 2 2 3 3 3 3 hw 1
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c1433 struct tc_mqprio_qopt *mqprio = type_data; in __fm10k_setup_tc() local
1438 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in __fm10k_setup_tc()
1440 return fm10k_setup_tc(dev, mqprio->num_tc); in __fm10k_setup_tc()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_main.c589 struct tc_mqprio_qopt *mqprio; in qede_setup_tc_offload() local
598 mqprio = type_data; in qede_setup_tc_offload()
600 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in qede_setup_tc_offload()
601 return qede_setup_tc(dev, mqprio->num_tc); in qede_setup_tc_offload()
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc.c1434 struct tc_mqprio_qopt *mqprio = type_data; in enetc_setup_tc() local
1442 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in enetc_setup_tc()
1443 num_tc = mqprio->num_tc; in enetc_setup_tc()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c144 struct tc_mqprio_qopt *mqprio = type_data; in __mlx4_en_setup_tc() local
149 if (mqprio->num_tc && mqprio->num_tc != MLX4_EN_NUM_UP_HIGH) in __mlx4_en_setup_tc()
152 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in __mlx4_en_setup_tc()
154 return mlx4_en_alloc_tx_queue_per_tc(dev, mqprio->num_tc); in __mlx4_en_setup_tc()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c353 struct tc_mqprio_qopt *mqprio = type_data; in dpaa_setup_tc() local
360 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in dpaa_setup_tc()
361 num_tc = mqprio->num_tc; in dpaa_setup_tc()
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c2252 struct tc_mqprio_qopt *mqprio = type_data; in xgbe_setup_tc() local
2258 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in xgbe_setup_tc()
2259 tc = mqprio->num_tc; in xgbe_setup_tc()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c1979 struct tc_mqprio_qopt *mqprio = type_data; in dpaa2_eth_setup_tc() local
1986 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in dpaa2_eth_setup_tc()
1988 num_tc = mqprio->num_tc; in dpaa2_eth_setup_tc()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c4302 struct tc_mqprio_qopt *mqprio = type_data; in __bnx2x_setup_tc() local
4307 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in __bnx2x_setup_tc()
4309 return bnx2x_setup_tc(dev, mqprio->num_tc); in __bnx2x_setup_tc()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c3434 struct tc_mqprio_qopt *mqprio) in mlx5e_setup_tc_mqprio() argument
3437 u8 tc = mqprio->num_tc; in mlx5e_setup_tc_mqprio()
3440 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in mlx5e_setup_tc_mqprio()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9617 struct tc_mqprio_qopt *mqprio) in ixgbe_setup_tc_mqprio() argument
9619 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in ixgbe_setup_tc_mqprio()
9620 return ixgbe_setup_tc(dev, mqprio->num_tc); in ixgbe_setup_tc_mqprio()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c10951 struct tc_mqprio_qopt *mqprio = type_data; in bnxt_setup_tc() local
10953 mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; in bnxt_setup_tc()
10955 return bnxt_setup_mq_tc(dev, mqprio->num_tc); in bnxt_setup_tc()