Lines Matching refs:parent
33 nfp_abm_stats_propagate(struct nfp_alink_stats *parent, in nfp_abm_stats_propagate() argument
36 parent->tx_pkts += child->tx_pkts; in nfp_abm_stats_propagate()
37 parent->tx_bytes += child->tx_bytes; in nfp_abm_stats_propagate()
38 parent->backlog_pkts += child->backlog_pkts; in nfp_abm_stats_propagate()
39 parent->backlog_bytes += child->backlog_bytes; in nfp_abm_stats_propagate()
40 parent->overlimits += child->overlimits; in nfp_abm_stats_propagate()
41 parent->drops += child->drops; in nfp_abm_stats_propagate()
433 struct nfp_qdisc *parent, *child; in nfp_abm_qdisc_graft() local
435 parent = nfp_abm_qdisc_find(alink, handle); in nfp_abm_qdisc_graft()
436 if (!parent) in nfp_abm_qdisc_graft()
439 if (WARN(id >= parent->num_children, in nfp_abm_qdisc_graft()
441 id, parent->num_children)) in nfp_abm_qdisc_graft()
444 nfp_abm_qdisc_unlink_children(parent, id, id + 1); in nfp_abm_qdisc_graft()
451 parent->children[id] = child; in nfp_abm_qdisc_graft()
525 opt->parent, opt->handle); in nfp_abm_gred_check_params()
530 alink->def_band, opt->parent, opt->handle); in nfp_abm_gred_check_params()
535 abm->num_bands, opt->parent, opt->handle); in nfp_abm_gred_check_params()
546 opt->parent, opt->handle, i); in nfp_abm_gred_check_params()
551 opt->parent, opt->handle, i); in nfp_abm_gred_check_params()
556 opt->parent, opt->handle, i); in nfp_abm_gred_check_params()
561 opt->parent, opt->handle, i); in nfp_abm_gred_check_params()
566 band->min, S32_MAX, opt->parent, opt->handle, in nfp_abm_gred_check_params()
583 ret = nfp_abm_qdisc_replace(netdev, alink, NFP_QDISC_GRED, opt->parent, in nfp_abm_gred_replace()
669 opt->parent, opt->handle); in nfp_abm_red_check_params()
674 opt->parent, opt->handle); in nfp_abm_red_check_params()
679 opt->parent, opt->handle); in nfp_abm_red_check_params()
684 opt->parent, opt->handle); in nfp_abm_red_check_params()
689 opt->set.min, NFP_ABM_LVL_INFINITY, opt->parent, in nfp_abm_red_check_params()
704 ret = nfp_abm_qdisc_replace(netdev, alink, NFP_QDISC_RED, opt->parent, in nfp_abm_red_replace()