| /linux/net/shaper/ |
| H A D | shaper.c | 163 const struct net_shaper *shaper, in net_shaper_fill_one() argument 174 net_shaper_copy(&cur, shaper); in net_shaper_fill_one() 329 /* Allocate on demand the per device shaper's hierarchy container. 356 /* Prepare the hierarchy container to actually insert the given shaper, doing 389 NL_SET_ERR_MSG(extack, "Can't allocate new id for NODE shaper"); in net_shaper_pre_insert() 408 NL_SET_ERR_MSG(extack, "Can't insert shaper into device store"); in net_shaper_pre_insert() 486 * NODE shaper creation (ID_UNSPEC) and reuse of existing in net_shaper_parse_handle() 487 * shaper (any other value). in net_shaper_parse_handle() 513 struct net_shaper *shaper) 519 ops->capabilities(binding, shaper in net_shaper_validate_caps() 517 net_shaper_validate_caps(struct net_shaper_binding * binding,struct nlattr ** tb,const struct genl_info * info,struct net_shaper * shaper) net_shaper_validate_caps() argument 585 net_shaper_parse_info(struct net_shaper_binding * binding,struct nlattr ** tb,const struct genl_info * info,struct net_shaper * shaper,bool * exists) net_shaper_parse_info() argument 639 net_shaper_validate_nesting(struct net_shaper_binding * binding,const struct net_shaper * shaper,struct netlink_ext_ack * extack) net_shaper_validate_nesting() argument 662 net_shaper_parse_leaf(struct net_shaper_binding * binding,const struct nlattr * attr,const struct genl_info * info,const struct net_shaper * node,struct net_shaper * shaper) net_shaper_parse_leaf() argument 700 net_shaper_parse_node(struct net_shaper_binding * binding,struct nlattr ** tb,const struct genl_info * info,struct net_shaper * shaper) net_shaper_parse_node() argument 818 struct net_shaper *shaper; net_shaper_nl_get_doit() local 864 struct net_shaper *shaper; net_shaper_nl_get_dumpit() local 898 struct net_shaper shaper = {}; net_shaper_nl_set_doit() local 939 __net_shaper_delete(struct net_shaper_binding * binding,struct net_shaper * shaper,struct netlink_ext_ack * extack) __net_shaper_delete() argument 1150 net_shaper_pre_del_node(struct net_shaper_binding * binding,const struct net_shaper * shaper,struct netlink_ext_ack * extack) net_shaper_pre_del_node() argument 1211 struct net_shaper *shaper; net_shaper_nl_delete_doit() local 1516 struct net_shaper *shaper; net_shaper_set_real_num_tx_queues() local [all...] |
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | shaper.py | 222 shaper = nl_shaper.get({'ifindex': cfg.ifindex, 224 ksft_eq(shaper, expected) 230 shaper = nl_shaper.get({'ifindex': cfg.ifindex, 232 ksft_eq(shaper, expected) 261 shaper = nl_shaper.get({'ifindex': cfg.ifindex, 263 ksft_eq(shaper, initial) 270 shaper = nl_shaper.get({'ifindex': cfg.ifindex, 272 ksft_eq(shaper, initial) 462 shaper = nl_shaper.get({'ifindex': cfg.ifindex, 464 ksft_eq(shaper, {'ifindex': cfg.ifindex, [all …]
|
| H A D | Makefile | 24 shaper.py \
|
| /linux/net/sched/ |
| H A D | sch_mqprio.c | 26 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() 607 nla_put_u16(skb, TCA_MQPRIO_SHAPER, priv->shaper)) in mqprio_dump()
|
| /linux/Documentation/networking/ |
| H A D | netdevices.rst | 216 lock if the driver implements queue management or shaper API. 221 lock if the driver implements queue management or shaper API. 234 lock if the driver implements queue management or shaper API. 242 lock if the driver implements queue management or shaper API. 250 lock if the driver implements queue management or shaper API. 258 lock if the driver implements queue management or shaper API. 296 lock if the driver implements queue management or shaper API. 303 lock if the driver implements queue management or shaper API. 308 implements queue management or shaper API. 317 the driver implements queue management or shaper API. [all …]
|
| /linux/drivers/net/ethernet/intel/ice/virt/ |
| H A D | queues.c | 643 if (qbw->cfg[i].shaper.peak != 0 && vf->max_tx_rate != 0 && in ice_vc_cfg_q_bw() 644 qbw->cfg[i].shaper.peak > vf->max_tx_rate) { in ice_vc_cfg_q_bw() 651 if (qbw->cfg[i].shaper.committed != 0 && vf->min_tx_rate != 0 && in ice_vc_cfg_q_bw() 652 qbw->cfg[i].shaper.committed < vf->min_tx_rate) { in ice_vc_cfg_q_bw() 675 vf->qs_bw[i].peak = qbw->cfg[i].shaper.peak; in ice_vc_cfg_q_bw() 676 vf->qs_bw[i].committed = qbw->cfg[i].shaper.committed; in ice_vc_cfg_q_bw()
|
| H A D | virtchnl.c | 459 cfg->shaper.committed = vsi_ctx->sched.bw_t_info[i].cir_bw.bw; in ice_vc_get_qos_caps() 460 cfg->shaper.peak = vsi_ctx->sched.bw_t_info[i].eir_bw.bw; in ice_vc_get_qos_caps()
|
| /linux/include/net/ |
| H A D | net_shaper.h | 129 const struct net_shaper *shaper,
|
| /linux/Documentation/networking/device_drivers/ethernet/intel/ |
| H A D | iavf.rst | 156 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.
|
| /linux/include/linux/net/intel/ |
| H A D | virtchnl.h | 1616 struct virtchnl_shaper_bw shaper; member 1637 struct virtchnl_shaper_bw shaper; member
|
| /linux/drivers/net/ethernet/microsoft/mana/ |
| H A D | mana_en.c | 939 const struct net_shaper *shaper, in mana_shaper_set() argument 946 if (shaper->handle.scope != NET_SHAPER_SCOPE_NETDEV) { in mana_shaper_set() 951 if (apc->handle.id && shaper->handle.id != apc->handle.id) { in mana_shaper_set() 956 if (!shaper->bw_max || (shaper->bw_max % 100000000)) { in mana_shaper_set() 961 rate = div_u64(shaper->bw_max, 1000); /* Convert bps to Kbps */ in mana_shaper_set() 971 apc->handle = (err) ? apc->handle : shaper->handle; in mana_shaper_set()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_tc_mqprio.c | 28 } else if (mqprio->shaper != TC_MQPRIO_SHAPER_BW_RATE) { in cxgb4_mqprio_validate()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | am65-cpsw-qos.c | 116 if (mqprio->shaper != TC_MQPRIO_SHAPER_BW_RATE) in am65_cpsw_mqprio_verify_shaper()
|
| /linux/drivers/net/netdevsim/ |
| H A D | netdev.c | 591 const struct net_shaper *shaper, in nsim_shaper_set() argument
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_common.c | 3041 u8 shaper) in ksz_setup_tc_mode() argument 3045 FIELD_PREP(MTI_SHAPING_M, shaper)); in ksz_setup_tc_mode()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc.c | 2641 struct dc_transfer_func **shaper) in dc_acquire_release_mpc_3dlut() argument 2665 ret = pool->funcs->acquire_post_bldn_3dlut(res_ctx, pool, mpcc_id, lut, shaper); in dc_acquire_release_mpc_3dlut() 2667 ret = pool->funcs->release_post_bldn_3dlut(res_ctx, pool, lut, shaper); in dc_acquire_release_mpc_3dlut()
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | mvneta.c | 5279 if (mqprio->shaper != TC_MQPRIO_SHAPER_BW_RATE) { in mvneta_setup_mqprio()
|