Home
last modified time | relevance | path

Searched refs:shaper (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.15/net/shaper/
H A Dshaper.c153 ((shaper->bw_min || shaper->bw_max || shaper->burst) && in net_shaper_fill_one()
491 if (shaper->burst || shaper->bw_min || shaper->bw_max) { in net_shaper_validate_caps()
493 shaper->metric; in net_shaper_validate_caps()
538 *shaper = *old; in net_shaper_parse_info()
618 net_shaper_default_parent(&shaper->handle, &shaper->parent); in net_shaper_parse_leaf()
749 if (!shaper) { in net_shaper_nl_get_doit()
820 net_shaper_default_parent(&shaper.handle, &shaper.parent); in net_shaper_nl_set_doit()
876 if (shaper && !--shaper->leaves) { in __net_shaper_delete()
1093 if (!shaper) { in net_shaper_nl_delete_doit()
1412 if (!shaper) in net_shaper_set_real_num_tx_queues()
[all …]
H A DMakefile8 obj-y += shaper.o shaper_nl_gen.o
/linux-6.15/Documentation/netlink/specs/
H A Dnet_shaper.yaml2 name: net-shaper
73 name: net-shaper
110 given shaper.
148 subset-of: net-shaper
210 attribute-set: net-shaper
213 pre: net-shaper-nl-pre-doit
245 attribute-set: net-shaper
271 When deleting a @queue shaper or a @netdev shaper,
276 attribute-set: net-shaper
302 shaper.
[all …]
/linux-6.15/tools/testing/selftests/drivers/net/
H A Dshaper.py165 shaper = nl_shaper.get({'ifindex': cfg.ifindex,
167 ksft_eq(shaper, {'ifindex': cfg.ifindex,
219 shaper = nl_shaper.get({'ifindex': cfg.ifindex,
221 ksft_eq(shaper, {'ifindex': cfg.ifindex,
225 shaper = nl_shaper.get({'ifindex': cfg.ifindex,
227 ksft_eq(shaper, {'ifindex': cfg.ifindex,
257 shaper = nl_shaper.get({'ifindex': cfg.ifindex,
259 ksft_eq(shaper, {'ifindex': cfg.ifindex,
H A DMakefile19 shaper.py \
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.h88 struct dc_transfer_func **shaper);
94 struct dc_transfer_func **shaper);
H A Ddcn30_resource.c1433 struct dc_transfer_func **shaper) in dcn30_acquire_post_bldn_3dlut() argument
1439 ASSERT(*lut == NULL && *shaper == NULL); in dcn30_acquire_post_bldn_3dlut()
1441 *shaper = NULL; in dcn30_acquire_post_bldn_3dlut()
1446 *shaper = pool->mpc_shaper[i]; in dcn30_acquire_post_bldn_3dlut()
1468 struct dc_transfer_func **shaper) in dcn30_release_post_bldn_3dlut() argument
1474 if (pool->mpc_lut[i] == *lut && pool->mpc_shaper[i] == *shaper) { in dcn30_release_post_bldn_3dlut()
1478 *shaper = NULL; in dcn30_release_post_bldn_3dlut()
/linux-6.15/net/sched/
H A Dsch_mqprio.c26 u16 shaper; member
48 if (priv->shaper != TC_MQPRIO_SHAPER_DCB) in mqprio_enable_offload()
56 mqprio.shaper = priv->shaper; in mqprio_enable_offload()
274 priv->shaper = nla_get_u16(tb[TCA_MQPRIO_SHAPER]); in mqprio_parse_nlattr()
278 if (priv->shaper != TC_MQPRIO_SHAPER_BW_RATE) { in mqprio_parse_nlattr()
307 if (priv->shaper != TC_MQPRIO_SHAPER_BW_RATE) { in mqprio_parse_nlattr()
595 nla_put_u16(skb, TCA_MQPRIO_SHAPER, priv->shaper)) in mqprio_dump()
/linux-6.15/Documentation/networking/
H A Dnetdevices.rst214 lock if the driver implements queue management or shaper API.
219 lock if the driver implements queue management or shaper API.
232 lock if the driver implements queue management or shaper API.
240 lock if the driver implements queue management or shaper API.
248 lock if the driver implements queue management or shaper API.
256 lock if the driver implements queue management or shaper API.
297 implements queue management or shaper API.
301 the driver implements queue management or shaper API.
/linux-6.15/include/net/
H A Dnet_shaper.h97 const struct net_shaper *shaper,
H A Dpkt_sched.h175 u16 shaper; member
/linux-6.15/net/
H A DMakefile82 obj-$(CONFIG_NET_SHAPER) += shaper/
/linux-6.15/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h194 struct dc_transfer_func **shaper);
200 struct dc_transfer_func **shaper);
/linux-6.15/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c822 const struct drm_color_lut *shaper = NULL, *lut3d = NULL; in amdgpu_dm_verify_lut3d_size() local
828 shaper = __extract_blob_lut(dm_plane_state->shaper_lut, &size); in amdgpu_dm_verify_lut3d_size()
830 if (shaper && size != exp_size) { in amdgpu_dm_verify_lut3d_size()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1599 struct dc_transfer_func **shaper) in dcn32_acquire_post_bldn_3dlut() argument
1603 ASSERT(*lut == NULL && *shaper == NULL); in dcn32_acquire_post_bldn_3dlut()
1605 *shaper = NULL; in dcn32_acquire_post_bldn_3dlut()
1609 *shaper = pool->mpc_shaper[mpcc_id]; in dcn32_acquire_post_bldn_3dlut()
1620 struct dc_transfer_func **shaper) in dcn32_release_post_bldn_3dlut() argument
1626 if (pool->mpc_lut[i] == *lut && pool->mpc_shaper[i] == *shaper) { in dcn32_release_post_bldn_3dlut()
1630 *shaper = NULL; in dcn32_release_post_bldn_3dlut()
/linux-6.15/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c5204 const struct net_shaper *shaper, in iavf_verify_shaper() argument
5210 if (shaper->handle.scope == NET_SHAPER_SCOPE_QUEUE) { in iavf_verify_shaper()
5211 vf_max = adapter->qos_caps->cap[0].shaper.peak; in iavf_verify_shaper()
5212 if (vf_max && shaper->bw_max > vf_max) { in iavf_verify_shaper()
5214 shaper->bw_max, shaper->handle.id, in iavf_verify_shaper()
5224 const struct net_shaper *shaper, in iavf_shaper_set() argument
5228 const struct net_shaper_handle *handle = &shaper->handle; in iavf_shaper_set()
5236 ret = iavf_verify_shaper(binding, shaper, extack); in iavf_shaper_set()
5242 tx_ring->q_shaper.bw_min = div_u64(shaper->bw_min, 1000); in iavf_shaper_set()
5243 tx_ring->q_shaper.bw_max = div_u64(shaper->bw_max, 1000); in iavf_shaper_set()
/linux-6.15/Documentation/networking/device_drivers/ethernet/intel/
H A Diavf.rst156 The shaper bw_rlimit parameter is optional.
164 queues 16@0 16@16 hw 1 mode channel shaper bw_rlimit min_rate 1Gbit 2Gbit
178 shaper bw_rlimit: for each tc, sets minimum and maximum bandwidth rates.
H A Di40e.rst677 The shaper bw_rlimit parameter is optional.
685 queues 16@0 16@16 hw 1 mode channel shaper bw_rlimit min_rate 1Gbit 2Gbit
699 shaper bw_rlimit: for each tc, sets minimum and maximum bandwidth rates.
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl.c1113 cfg->shaper.committed = vsi_ctx->sched.bw_t_info[i].cir_bw.bw; in ice_vc_get_qos_caps()
1114 cfg->shaper.peak = vsi_ctx->sched.bw_t_info[i].eir_bw.bw; in ice_vc_get_qos_caps()
1867 if (qbw->cfg[i].shaper.peak != 0 && vf->max_tx_rate != 0 && in ice_vc_cfg_q_bw()
1868 qbw->cfg[i].shaper.peak > vf->max_tx_rate) { in ice_vc_cfg_q_bw()
1875 if (qbw->cfg[i].shaper.committed != 0 && vf->min_tx_rate != 0 && in ice_vc_cfg_q_bw()
1876 qbw->cfg[i].shaper.committed < vf->min_tx_rate) { in ice_vc_cfg_q_bw()
1899 vf->qs_bw[i].peak = qbw->cfg[i].shaper.peak; in ice_vc_cfg_q_bw()
1900 vf->qs_bw[i].committed = qbw->cfg[i].shaper.committed; in ice_vc_cfg_q_bw()
/linux-6.15/include/linux/avf/
H A Dvirtchnl.h1565 struct virtchnl_shaper_bw shaper; member
1586 struct virtchnl_shaper_bw shaper; member
/linux-6.15/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h1298 const struct dc_transfer_func *shaper; member
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c445 if (mcm_luts.shaper) { in dcn401_populate_mcm_luts()
447 if (mcm_luts.shaper->type == TF_TYPE_HWPWL) in dcn401_populate_mcm_luts()
448 m_lut_params.pwl = &mcm_luts.shaper->pwl; in dcn401_populate_mcm_luts()
449 else if (mcm_luts.shaper->type == TF_TYPE_DISTRIBUTED_POINTS) { in dcn401_populate_mcm_luts()
452 mcm_luts.shaper, in dcn401_populate_mcm_luts()
/linux-6.15/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_mqprio.c28 } else if (mqprio->shaper != TC_MQPRIO_SHAPER_BW_RATE) { in cxgb4_mqprio_validate()
/linux-6.15/Documentation/networking/device_drivers/ethernet/ti/
H A Dcpsw.rst77 - S - shaper configured
/linux-6.15/drivers/net/netdevsim/
H A Dnetdev.c514 const struct net_shaper *shaper, in nsim_shaper_set() argument

12