Home
last modified time | relevance | path

Searched full:qos (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/linux/drivers/interconnect/qcom/
H A Dmsm8996.c3 * Qualcomm MSM8996 Network-on-Chip (NoC) QoS driver
46 .qos.ap_owned = true,
47 .qos.qos_mode = NOC_QOS_MODE_FIXED,
48 .qos.areq_prio = 1,
49 .qos.prio_level = 1,
50 .qos.qos_port = 0,
61 .qos.ap_owned = true,
62 .qos.qos_mode = NOC_QOS_MODE_FIXED,
63 .qos.areq_prio = 1,
64 .qos.prio_level = 1,
[all …]
H A Dicc-rpm.c19 /* QNOC QoS */
26 /* BIMC QoS */
39 /* NoC QoS */
58 struct qcom_icc_qos *qos = &qn->qos; in qcom_icc_set_qnoc_qos() local
62 qp->qos_offset + QNOC_QOS_MCTL_LOWn_ADDR(qos->qos_port), in qcom_icc_set_qnoc_qos()
64 qos->areq_prio << QNOC_QOS_MCTL_DFLT_PRIO_SHIFT); in qcom_icc_set_qnoc_qos()
69 qp->qos_offset + QNOC_QOS_MCTL_LOWn_ADDR(qos->qos_port), in qcom_icc_set_qnoc_qos()
71 !!qos->urg_fwd_en << QNOC_QOS_MCTL_URGFWD_EN_SHIFT); in qcom_icc_set_qnoc_qos()
75 struct qcom_icc_qos *qos, in qcom_icc_bimc_set_qos_health() argument
81 val = qos->prio_level; in qcom_icc_bimc_set_qos_health()
[all …]
H A Dicc-rpmh.c20 /* QNOC QoS */
27 * qcom_icc_set_qos - initialize static QoS configurations
34 const struct qcom_icc_qosbox *qos = node->qosbox; in qcom_icc_set_qos() local
37 for (port = 0; port < qos->num_ports; port++) { in qcom_icc_set_qos()
38 regmap_update_bits(qp->regmap, QOSGEN_MAINCTL_LO(qos, port), in qcom_icc_set_qos()
40 FIELD_PREP(QOS_DISABLE_MASK, qos->prio_fwd_disable)); in qcom_icc_set_qos()
42 regmap_update_bits(qp->regmap, QOSGEN_MAINCTL_LO(qos, port), in qcom_icc_set_qos()
44 FIELD_PREP(QOS_DFLT_PRIO_MASK, qos->prio)); in qcom_icc_set_qos()
46 regmap_update_bits(qp->regmap, QOSGEN_MAINCTL_LO(qos, port), in qcom_icc_set_qos()
48 FIELD_PREP(QOS_SLV_URG_MSG_EN_MASK, qos->urg_fwd)); in qcom_icc_set_qos()
[all …]
H A Dicc-rpm.h45 * @regmap: regmap for QoS registers read/write access
46 * @qos_offset: offset to QoS registers
73 * struct qcom_icc_qos - Qualcomm specific interconnect QoS parameters
78 * @qos_mode: default qos mode for this node
79 * @qos_port: qos port number for finding qos registers of this node
105 * @qos: NoC QoS setting parameters
122 struct qcom_icc_qos qos; member
/linux/drivers/base/power/
H A Dqos.c3 * Devices PM QoS constraints management
8 * per-device PM QoS dependencies. It provides infrastructure for registration
11 * Dependents on a QoS value : register requests
12 * Watchers of QoS value : get notified when target QoS value changes
14 * This QoS design is best effort based. Dependents register their QoS needs.
15 * Watchers register to keep track of the current QoS needs of the system.
46 * __dev_pm_qos_flags - Check PM QoS flags for a given device.
47 * @dev: Device to check the PM QoS flags for.
54 struct dev_pm_qos *qos = dev->power.qos; in __dev_pm_qos_flags() local
60 if (IS_ERR_OR_NULL(qos)) in __dev_pm_qos_flags()
[all …]
H A Dqos-test.c11 struct freq_constraints qos; in freq_qos_test_min() local
15 freq_constraints_init(&qos); in freq_qos_test_min()
19 ret = freq_qos_add_request(&qos, &req1, FREQ_QOS_MIN, 1000); in freq_qos_test_min()
21 ret = freq_qos_add_request(&qos, &req2, FREQ_QOS_MIN, 2000); in freq_qos_test_min()
24 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MIN), 2000); in freq_qos_test_min()
28 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MIN), 1000); in freq_qos_test_min()
32 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MIN), in freq_qos_test_min()
39 struct freq_constraints qos; in freq_qos_test_maxdef() local
43 freq_constraints_init(&qos); in freq_qos_test_maxdef()
46 KUNIT_EXPECT_EQ(test, freq_qos_read_value(&qos, FREQ_QOS_MAX), in freq_qos_test_maxdef()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c6 #include "esw/qos.h"
16 /* Serializes access to all qos changes in the qos domain. */
24 mutex_lock(&esw->qos.domain->lock); in esw_qos_lock()
29 mutex_unlock(&esw->qos.domain->lock); in esw_qos_unlock()
34 lockdep_assert_held(&esw->qos.domain->lock); in esw_assert_qos_lock_held()
53 esw->qos.domain = esw_qos_domain_alloc(); in esw_qos_domain_init()
55 return esw->qos.domain ? 0 : -ENOMEM; in esw_qos_domain_init()
60 kfree(esw->qos.domain); in esw_qos_domain_release()
61 esw->qos.domain = NULL; in esw_qos_domain_release()
114 list_add_tail(&node->entry, &node->esw->qos.domain->nodes); in esw_qos_node_attach_to_parent()
[all …]
/linux/drivers/infiniband/hw/irdma/
H A Dws.c46 node->traffic_class = vsi->qos[user_pri].traffic_class; in irdma_alloc_node()
48 node->rel_bw = vsi->qos[user_pri].rel_bw; in irdma_alloc_node()
52 node->lan_qs_handle = vsi->qos[user_pri].lan_qos_handle; in irdma_alloc_node()
113 vsi->qos[node->user_pri].qs_handle = node_info.qs_handle; in irdma_ws_cqp_cmd()
160 mutex_lock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use()
161 if (!list_empty(&vsi->qos[user_pri].qplist)) { in irdma_tc_in_use()
162 mutex_unlock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use()
170 if (vsi->qos[i].traffic_class == vsi->qos[user_pri].traffic_class && in irdma_tc_in_use()
171 !list_empty(&vsi->qos[i].qplist)) { in irdma_tc_in_use()
172 mutex_unlock(&vsi->qos[user_pri].qos_mutex); in irdma_tc_in_use()
[all …]
/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-qos.c2 /* Texas Instruments K3 AM65 Ethernet QoS submodule
18 #include "am65-cpsw-qos.h"
54 struct am65_cpsw_mqprio *p_mqprio = &port->qos.mqprio; in am65_cpsw_tx_pn_shaper_apply()
63 if (p_mqprio->max_rate_total > port->qos.link_speed) in am65_cpsw_tx_pn_shaper_apply()
106 struct am65_cpsw_mqprio *p_mqprio = &port->qos.mqprio; in am65_cpsw_mqprio_verify_shaper()
189 struct am65_cpsw_mqprio *p_mqprio = &port->qos.mqprio; in am65_cpsw_reset_tc_mqprio()
206 struct am65_cpsw_mqprio *p_mqprio = &port->qos.mqprio; in am65_cpsw_setup_mqprio()
273 int verify_time_ms = port->qos.iet.verify_time_ms; in am65_cpsw_iet_set_verify_timeout_count()
287 if (port->qos.link_speed == SPEED_1000) in am65_cpsw_iet_set_verify_timeout_count()
289 else if (port->qos.link_speed == SPEED_100) in am65_cpsw_iet_set_verify_timeout_count()
[all …]
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_dcb.c52 struct lan966x_port_qos qos = {0}; in lan966x_dcb_app_update() local
58 for (int i = 0; i < ARRAY_SIZE(qos.pcp.map); i++) { in lan966x_dcb_app_update()
61 qos.pcp.map[i] = dcb_getapp(dev, &app_itr); in lan966x_dcb_app_update()
65 for (int i = 0; i < ARRAY_SIZE(qos.dscp.map); i++) { in lan966x_dcb_app_update()
68 qos.dscp.map[i] = dcb_getapp(dev, &app_itr); in lan966x_dcb_app_update()
72 qos.default_prio = dcb_ieee_getapp_default_prio_mask(dev); in lan966x_dcb_app_update()
73 if (qos.default_prio) in lan966x_dcb_app_update()
74 qos.default_prio = fls(qos.default_prio) - 1; in lan966x_dcb_app_update()
83 qos.pcp_rewr.map[i] = fls(pcp_rewr_map.map[i]) - 1; in lan966x_dcb_app_update()
93 qos.dscp_rewr.map[i] = fls64(dscp_rewr_map.map[i]) - 1; in lan966x_dcb_app_update()
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dsnps,dwc-qos-ethernet.txt1 * Synopsys DWC Ethernet QoS IP version 4.10 driver (GMAC)
6 This binding supports the Synopsys Designware Ethernet QoS (Quality Of Service)
14 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10"
16 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10"
18 - "snps,dwc-qos-ethernet-4.10"
20 "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10". It is supported to be
72 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10":
78 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10":
83 - "snps,dwc-qos-ethernet-4.10" (deprecated):
97 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10":
[all …]
/linux/Documentation/trace/
H A Devents-power.rst72 4. PM QoS events
74 The PM QoS events are used for QoS add/update/remove request and for
81 The first parameter gives the QoS action name (e.g. "ADD_REQ").
82 The second parameter is the previous QoS value.
83 The third parameter is the current QoS value to update.
85 There are also events used for device PM QoS add/update/remove request.
93 QoS requests.
97 And, there are events used for CPU latency QoS add/update/remove request.
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos.c14 #include "qos.h"
31 qos_txqs = bitmap_weight(pfvf->qos.qos_sq_bmap, in otx2_qos_update_tx_netdev_queues()
160 if (level == pfvf->qos.link_cfg_lvl) { in __otx2_qos_txschq_cfg()
174 if (level == pfvf->qos.link_cfg_lvl) { in __otx2_qos_txschq_cfg()
262 mutex_lock(&pfvf->qos.qos_lock); in otx2_qos_free_hw_cfg()
271 mutex_unlock(&pfvf->qos.qos_lock); in otx2_qos_free_hw_cfg()
280 __clear_bit(node->qid, pfvf->qos.qos_sq_bmap); in otx2_qos_sw_node_delete()
314 mutex_lock(&pfvf->qos.qos_lock); in otx2_qos_free_sw_node()
320 mutex_unlock(&pfvf->qos.qos_lock); in otx2_qos_free_sw_node()
360 mutex_lock(&pfvf->qos.qos_lock); in otx2_qos_prepare_txschq_cfg()
[all …]
/linux/tools/testing/selftests/drivers/net/ocelot/
H A Dbasic_qos.sh55 egress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7 \
56 ingress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
74 egress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7 \
75 ingress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
208 run_test "Port-default QoS classification" ${h1} 5 0
217 run_test "Trusted VLAN PCP QoS classification" ${h1}.100 3 0
228 run_test "Trusted DSCP QoS classification" ${h1} 4 ${tos}
232 run_test "Untrusted DSCP QoS classification follows VLAN PCP" \
236 run_test "Untrusted DSCP QoS classification follows port default" \
/linux/arch/powerpc/platforms/pseries/
H A Dvas.h42 * Co-processor feature - GZIP QoS windows or GZIP default windows
56 u8 win_type; /* Default or QoS type */
68 * Feature specific (QoS or default) capabilities.
72 u8 win_type; /* Default or QoS type */
78 u16 reserved; /* Used for QoS credit type */
88 * Feature (QoS or Default) specific to store capabilities and
124 u8 win_type; /* QoS or Default window */
/linux/arch/arm/boot/dts/rockchip/
H A Drk3xxx.dtsi129 qos_gpu: qos@1012d000 {
130 compatible = "rockchip,rk3066-qos", "syscon";
134 qos_vpu: qos@1012e000 {
135 compatible = "rockchip,rk3066-qos", "syscon";
139 qos_lcdc0: qos@1012f000 {
140 compatible = "rockchip,rk3066-qos", "syscon";
144 qos_cif0: qos@1012f080 {
145 compatible = "rockchip,rk3066-qos", "syscon";
149 qos_ipp: qos@1012f100 {
150 compatible = "rockchip,rk3066-qos", "syscon";
[all …]
H A Drv1126.dtsi121 qos_emmc: qos@fe860000 {
122 compatible = "rockchip,rv1126-qos", "syscon";
126 qos_nandc: qos@fe860080 {
127 compatible = "rockchip,rv1126-qos", "syscon";
131 qos_sfc: qos@fe860200 {
132 compatible = "rockchip,rv1126-qos", "syscon";
136 qos_sdio: qos@fe86c000 {
137 compatible = "rockchip,rv1126-qos", "syscon";
141 qos_iep: qos@fe8a0000 {
142 compatible = "rockchip,rv1126-qos", "syscon";
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_port.c1228 struct sparx5_port_qos *qos) in sparx5_port_qos_set() argument
1230 sparx5_port_qos_dscp_set(port, &qos->dscp); in sparx5_port_qos_set()
1231 sparx5_port_qos_pcp_set(port, &qos->pcp); in sparx5_port_qos_set()
1232 sparx5_port_qos_pcp_rewr_set(port, &qos->pcp_rewr); in sparx5_port_qos_set()
1233 sparx5_port_qos_dscp_rewr_set(port, &qos->dscp_rewr); in sparx5_port_qos_set()
1234 sparx5_port_qos_default_set(port, qos); in sparx5_port_qos_set()
1240 struct sparx5_port_qos_pcp_rewr *qos) in sparx5_port_qos_pcp_rewr_set() argument
1246 /* Use mapping table, with classified QoS as index, to map QoS and DP in sparx5_port_qos_pcp_rewr_set()
1250 if (qos->enable) in sparx5_port_qos_pcp_rewr_set()
1258 for (i = 0; i < ARRAY_SIZE(qos->map.map); i++) { in sparx5_port_qos_pcp_rewr_set()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dqos_conf.c185 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: qos rate limit offload not supported on higher le… in nfp_flower_install_rate_limiter()
194 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: qos rate limit offload not supported on shared bl… in nfp_flower_install_rate_limiter()
199 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: qos rate limit offload not supported on non-VF po… in nfp_flower_install_rate_limiter()
206 "unsupported offload: qos rate limit offload only support action number 1 or 2"); in nfp_flower_install_rate_limiter()
212 "unsupported offload: qos rate limit offload requires a single action"); in nfp_flower_install_rate_limiter()
218 …NL_SET_ERR_MSG_MOD(extack, "unsupported offload: qos rate limit offload requires highest priority"… in nfp_flower_install_rate_limiter()
226 "unsupported offload: qos rate limit offload requires police action"); in nfp_flower_install_rate_limiter()
237 "unsupported offload: qos rate limit offload only support one BPS action"); in nfp_flower_install_rate_limiter()
249 "unsupported offload: qos rate limit offload only support one PPS action"); in nfp_flower_install_rate_limiter()
256 /* Set QoS data for this interface */ in nfp_flower_install_rate_limiter()
[all …]
/linux/drivers/scsi/bfa/
H A Dbfa_defs_svc.h511 * QoS states
514 BFA_QOS_DISABLED = 0, /* QoS is disabled */
515 BFA_QOS_ONLINE = 1, /* QoS is online */
516 BFA_QOS_OFFLINE = 2, /* QoS is offline */
520 * QoS Priority levels.
524 BFA_QOS_HIGH = 1, /* QoS Priority Level High */
525 BFA_QOS_MED = 2, /* QoS Priority Level Medium */
526 BFA_QOS_LOW = 3, /* QoS Priority Level Low */
530 * QoS bandwidth allocation for each priority level
547 * QoS attribute returned in QoS Query
[all …]
/linux/net/mac80211/
H A Dwme.c152 bool qos; in ieee80211_select_queue() local
161 qos = true; in ieee80211_select_queue()
163 qos = sta->sta.wme; in ieee80211_select_queue()
165 qos = false; in ieee80211_select_queue()
167 if (!qos) { in ieee80211_select_queue()
188 * ieee80211_set_qos_hdr - Fill in the QoS header if there is one.
207 /* don't overwrite the QoS field of injected frames */ in ieee80211_set_qos_hdr()
/linux/drivers/net/wireless/intel/iwlwifi/mld/tests/
H A Drx.c68 .desc = "QoS null func frame",
79 .desc = "QoS data new sequence",
95 .desc = "QoS data same sequence, no retry",
111 .desc = "QoS data same sequence, has retry",
128 .desc = "QoS data invalid tid",
141 .desc = "non-QoS data, same sequence, same tid, no retry",
158 .desc = "non-QoS data, same sequence, same tid, has retry",
176 .desc = "non-QoS data, same sequence on different tid's",
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-wqe.h483 uint64_t qos:3; member
499 uint64_t qos:3;
519 uint64_t qos:3; member
538 uint64_t qos:3;
640 int qos; in cvmx_wqe_get_qos() local
643 qos = work->word1.cn68xx.qos; in cvmx_wqe_get_qos()
645 qos = work->word1.cn38xx.qos; in cvmx_wqe_get_qos()
647 return qos; in cvmx_wqe_get_qos()
650 static inline void cvmx_wqe_set_qos(struct cvmx_wqe *work, int qos) in cvmx_wqe_set_qos() argument
653 work->word1.cn68xx.qos = qos; in cvmx_wqe_set_qos()
[all …]
/linux/drivers/accel/amdxdna/
H A Daie2_solver.h21 * The QoS capabilities of a given AIE partition.
29 * QoS requirement of a resource allocation.
47 struct aie_qos_cap qos_cap; /* CDO QoS capabilities */
56 struct aie_qos rqos; /* Requested QoS */
92 * to meet the QOS requirements.
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dqos.h12 mlx5_core_err(mdev, "QoS: " fmt, ##__VA_ARGS__)
14 mlx5_core_warn(mdev, "QoS: " fmt, ##__VA_ARGS__)
16 mlx5_core_dbg_mask(mdev, MLX5_DEBUG_QOS_MASK, "QoS: " fmt, ##__VA_ARGS__)

12345678910>>...12