Lines Matching refs:block_index
923 u32 block_index; in tc_fill_qdisc() local
941 block_index = q->ops->ingress_block_get(q); in tc_fill_qdisc()
942 if (block_index && in tc_fill_qdisc()
943 nla_put_u32(skb, TCA_INGRESS_BLOCK, block_index)) in tc_fill_qdisc()
947 block_index = q->ops->egress_block_get(q); in tc_fill_qdisc()
948 if (block_index && in tc_fill_qdisc()
949 nla_put_u32(skb, TCA_EGRESS_BLOCK, block_index)) in tc_fill_qdisc()
1186 u32 block_index; in qdisc_block_indexes_set() local
1189 block_index = nla_get_u32(tca[TCA_INGRESS_BLOCK]); in qdisc_block_indexes_set()
1191 if (!block_index) { in qdisc_block_indexes_set()
1199 sch->ops->ingress_block_set(sch, block_index); in qdisc_block_indexes_set()
1202 block_index = nla_get_u32(tca[TCA_EGRESS_BLOCK]); in qdisc_block_indexes_set()
1204 if (!block_index) { in qdisc_block_indexes_set()
1212 sch->ops->egress_block_set(sch, block_index); in qdisc_block_indexes_set()