Home
last modified time | relevance | path

Searched full:shaper (Results 1 – 25 of 51) sorted by relevance

123

/linux/Documentation/netlink/specs/
H A Dnet_shaper.yaml3 name: net-shaper
13 Each @shaper is identified within the given device, by a @handle,
22 operation, to create and update a single "attached" shaper, and
39 doc: Defines the shaper @id interpretation.
46 doc: The main shaper for the given network device.
50 The shaper is attached to the given device queue,
55 The shaper allows grouping of queues or other
63 doc: Different metric supported by the shaper.
67 doc: Shaper operates on a bits per second basis.
70 doc: Shaper operates on a packets per second basis.
[all …]
/linux/net/shaper/
H A Dshaper.c136 const struct net_shaper *shaper, in net_shaper_fill_one() argument
146 net_shaper_fill_handle(msg, &shaper->parent, in net_shaper_fill_one()
148 net_shaper_fill_handle(msg, &shaper->handle, in net_shaper_fill_one()
150 ((shaper->bw_min || shaper->bw_max || shaper->burst) && in net_shaper_fill_one()
151 nla_put_u32(msg, NET_SHAPER_A_METRIC, shaper->metric)) || in net_shaper_fill_one()
152 (shaper->bw_min && in net_shaper_fill_one()
153 nla_put_uint(msg, NET_SHAPER_A_BW_MIN, shaper->bw_min)) || in net_shaper_fill_one()
154 (shaper->bw_max && in net_shaper_fill_one()
155 nla_put_uint(msg, NET_SHAPER_A_BW_MAX, shaper->bw_max)) || in net_shaper_fill_one()
156 (shaper->burst && in net_shaper_fill_one()
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_top.h15 * struct traffic_shaper_cfg: traffic shaper configuration
16 * @en : enable/disable traffic shaper
93 * @setup_traffic_shaper : programs traffic shaper control.
95 * @cfg : traffic shaper configuration
H A Ddpu_hw_sspp.h157 * struct dpu_hw_pipe_ts_cfg - traffic shaper configuration
/linux/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()
280 "min_rate accepted only when shaper is in bw_rlimit mode"); in mqprio_parse_nlattr()
307 if (priv->shaper != TC_MQPRIO_SHAPER_BW_RATE) { in mqprio_parse_nlattr()
309 "max_rate accepted only when shaper is in bw_rlimit mode"); in mqprio_parse_nlattr()
594 nla_put_u16(skb, TCA_MQPRIO_SHAPER, priv->shaper)) in mqprio_dump()
[all...]
H A Dsch_cake.c18 * - An overall bandwidth shaper, to move the bottleneck away from dumb CPE
44 * a bandwidth tracker which reuses the shaper logic to detect which side of the
1541 * and to the global shaper. in cake_advance_shaper()
1783 /* ensure shaper state isn't stale */ in cake_enqueue()
2059 /* global hard shaper */ in cake_dequeue()
2072 /* In unlimited mode, can't rely on shaper timings, just balance in cake_dequeue()
3393 MODULE_DESCRIPTION("The CAKE shaper.");
H A DKconfig146 tristate "Credit Based Shaper (CBS)"
148 Say Y here if you want to use the Credit Based Shaper (CBS) packet
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c195 * degamma TF, shaper TF (before 3D LUT), and blend(dpp.ogam) TF and
1047 * If user shaper LUT is set, we assume a linear color space in amdgpu_dm_atomic_shaper_lut()
1094 * shaper and 3D LUTs match the hw supported size
1099 * newer) and if the user shaper and 3D LUTs match the supported size.
1108 const struct drm_color_lut *shaper = NULL, *lut3d = NULL; in amdgpu_dm_verify_lut3d_size() local
1112 /* shaper LUT is only available if 3D LUT color caps */ in amdgpu_dm_verify_lut3d_size()
1114 shaper = __extract_blob_lut(dm_plane_state->shaper_lut, &size); in amdgpu_dm_verify_lut3d_size()
1116 if (shaper && size != exp_size) { in amdgpu_dm_verify_lut3d_size()
1118 "Invalid Shaper LUT size. Should be %u but got %u.\n", in amdgpu_dm_verify_lut3d_size()
1608 /* 1D Curve - SHAPER TF */ in __set_dm_plane_colorop_shaper()
[all …]
H A Damdgpu_dm_colorop.c124 /* 1D curve - SHAPER TF */ in amdgpu_dm_initialize_default_pipeline()
141 /* 1D LUT - SHAPER LUT */ in amdgpu_dm_initialize_default_pipeline()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.h201 u8 ir_b; /* IR_B parameter of IR shaper */
202 u8 ir_u; /* IR_U parameter of IR shaper */
203 u8 ir_s; /* IR_S parameter of IR shaper */
H A Dhclge_tm.c26 /* hclge_shaper_para_calc: calculate ir parameter for the shaper
28 * @shaper_level: the shaper level. eg: port, pg, priority, queueset
29 * @ir_para: parameters of IR shaper
899 /* Calc shaper para */ in hclge_tm_pg_shaper_cfg()
1150 /* Need config vport shaper */ in hclge_tm_pri_vnet_base_shaper_cfg()
1477 /* Cfg tm shaper */ in hclge_tm_schd_setup_hw()
1848 "failed to get qset %u shaper, ret = %d\n", qset_id, in hclge_tm_get_qset_shaper()
1923 "failed to get priority shaper(%#x), ret = %d\n", in hclge_tm_get_pri_shaper()
2077 "failed to get pg shaper(%#x), ret = %d\n", in hclge_tm_get_pg_shaper()
2105 "failed to get port shaper, ret = %d\n", ret); in hclge_tm_get_port_shaper()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_mode.h373 * shaper LUT that converts color content before 3D LUT.
381 * pre-blending shaper LUT as supported by the driver (read-only).
386 * transfer function for pre-blending shaper (before applying 3D LUT)
387 * with or without LUT. There is no shaper ROM, but we can use AMD
413 * conversion. It works as a post-3DLUT 1D LUT. With shaper LUT, they
/linux/tools/testing/selftests/drivers/net/
H A DMakefile23 shaper.py \
/linux/drivers/net/ethernet/mscc/
H A Docelot_police.h14 MSCC_QOS_RATE_MODE_DISABLED, /* Policer/shaper disabled */
/linux/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 Digb.rst181 Credit Based Shaper (Qav Mode)
/linux/Documentation/devicetree/bindings/net/dsa/
H A Dhirschmann,hellcreek.yaml21 Shaper.
/linux/net/
H A DMakefile78 obj-$(CONFIG_NET_SHAPER) += shaper/
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1467 struct dc_transfer_func **shaper) in dcn30_acquire_post_bldn_3dlut() argument
1473 ASSERT(*lut == NULL && *shaper == NULL); in dcn30_acquire_post_bldn_3dlut()
1475 *shaper = NULL; in dcn30_acquire_post_bldn_3dlut()
1480 *shaper = pool->mpc_shaper[i]; in dcn30_acquire_post_bldn_3dlut()
1502 struct dc_transfer_func **shaper) in dcn30_release_post_bldn_3dlut() argument
1508 if (pool->mpc_lut[i] == *lut && pool->mpc_shaper[i] == *shaper) { in dcn30_release_post_bldn_3dlut()
1512 *shaper = NULL; in dcn30_release_post_bldn_3dlut()
/linux/drivers/net/ethernet/ti/
H A DKconfig143 Time Aware Shaper (TAS) / Enhanced Scheduled Traffic (EST),
/linux/include/uapi/linux/
H A Ddcbnl.h38 * @cbs: credit based shaper ets algorithm supported
53 * 1 credit-based shaper
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_mqprio.c28 } else if (mqprio->shaper != TC_MQPRIO_SHAPER_BW_RATE) { in cxgb4_mqprio_validate()
29 netdev_err(dev, "Only bandwidth rate shaper supported\n"); in cxgb4_mqprio_validate()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1635 struct dc_transfer_func **shaper) in dcn32_acquire_post_bldn_3dlut() argument
1639 ASSERT(*lut == NULL && *shaper == NULL); in dcn32_acquire_post_bldn_3dlut()
1641 *shaper = NULL; in dcn32_acquire_post_bldn_3dlut()
1645 *shaper = pool->mpc_shaper[mpcc_id]; in dcn32_acquire_post_bldn_3dlut()
1656 struct dc_transfer_func **shaper) in dcn32_release_post_bldn_3dlut() argument
1662 if (pool->mpc_lut[i] == *lut && pool->mpc_shaper[i] == *shaper) { in dcn32_release_post_bldn_3dlut()
1666 *shaper = NULL; in dcn32_release_post_bldn_3dlut()
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c896 const struct net_shaper *shaper, in mana_shaper_set() argument
903 if (shaper->handle.scope != NET_SHAPER_SCOPE_NETDEV) { in mana_shaper_set()
904 NL_SET_ERR_MSG_MOD(extack, "net shaper scope should be netdev"); in mana_shaper_set()
908 if (apc->handle.id && shaper->handle.id != apc->handle.id) { in mana_shaper_set()
913 if (!shaper->bw_max || (shaper->bw_max % 100000000)) { in mana_shaper_set()
918 rate = div_u64(shaper->bw_max, 1000); /* Convert bps to Kbps */ in mana_shaper_set()
928 apc->handle = (err) ? apc->handle : shaper->handle; in mana_shaper_set()
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn401/
H A Ddcn401_dpp.c241 ….dpp_program_shaper_lut = NULL, // CM SHAPER block is removed in DCN3.2 DPP, (it is in MPCC, prog…

123