| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_devlink.c | 676 unsigned int sb_index, u16 tc_index, in ocelot_sb_tc_pool_bind_get() argument 685 wm_index = BUF_Q_RSRV_I(port, tc_index); in ocelot_sb_tc_pool_bind_get() 687 wm_index = BUF_Q_RSRV_E(port, tc_index); in ocelot_sb_tc_pool_bind_get() 691 wm_index = REF_Q_RSRV_I(port, tc_index); in ocelot_sb_tc_pool_bind_get() 693 wm_index = REF_Q_RSRV_E(port, tc_index); in ocelot_sb_tc_pool_bind_get() 713 unsigned int sb_index, u16 tc_index, in ocelot_sb_tc_pool_bind_set() argument 732 wm_index = BUF_Q_RSRV_I(port, tc_index); in ocelot_sb_tc_pool_bind_set() 734 wm_index = BUF_Q_RSRV_E(port, tc_index); in ocelot_sb_tc_pool_bind_set() 738 wm_index = REF_Q_RSRV_I(port, tc_index); in ocelot_sb_tc_pool_bind_set() 740 wm_index = REF_Q_RSRV_E(port, tc_index); in ocelot_sb_tc_pool_bind_set() [all …]
|
| /linux/net/devlink/ |
| H A D | sb.c | 654 struct devlink_sb *devlink_sb, u16 tc_index, in devlink_nl_sb_tc_pool_bind_fill() argument 666 tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_fill() 681 if (nla_put_u16(msg, DEVLINK_ATTR_SB_TC_INDEX, tc_index)) in devlink_nl_sb_tc_pool_bind_fill() 696 tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_fill() 724 u16 tc_index; in devlink_nl_sb_tc_pool_bind_get_doit() local 736 pool_type, &tc_index); in devlink_nl_sb_tc_pool_bind_get_doit() 748 devlink_sb, tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_get_doit() 768 u16 tc_index; in __sb_tc_pool_bind_get_dumpit() local 772 for (tc_index = 0; in __sb_tc_pool_bind_get_dumpit() 773 tc_index < devlink_sb->ingress_tc_count; tc_index++) { in __sb_tc_pool_bind_get_dumpit() [all …]
|
| H A D | rate.c | 350 u8 tc_index; in devlink_nl_rate_tc_bw_parse() local 364 tc_index = nla_get_u8(tb[DEVLINK_RATE_TC_ATTR_INDEX]); in devlink_nl_rate_tc_bw_parse() 372 if (test_and_set_bit(tc_index, bitmap)) { in devlink_nl_rate_tc_bw_parse() 375 tc_index); in devlink_nl_rate_tc_bw_parse() 379 tc_bw[tc_index] = nla_get_u32(tb[DEVLINK_RATE_TC_ATTR_BW]); in devlink_nl_rate_tc_bw_parse()
|
| /linux/net/sched/ |
| H A D | act_meta_skbtcindex.c | 24 u32 ifetc_index = skb->tc_index; in skbtcindex_encode() 33 skb->tc_index = ntohs(ifetc_index); in skbtcindex_decode() 39 return ife_check_meta_u16(skb->tc_index, e); in skbtcindex_check()
|
| H A D | sch_gred.c | 125 return skb->tc_index & GRED_VQ_MASK; in tc_index_to_dp() 191 skb->tc_index = (skb->tc_index & ~GRED_VQ_MASK) | dp; in gred_enqueue()
|
| H A D | em_meta.c | 241 dst->value = skb->tc_index; in META_COLLECTOR()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | skb_ctx.c | 60 skb.tc_index = 1; in test_skb_ctx() 63 skb.tc_index = 0; in test_skb_ctx()
|
| H A D | ctx_rewrite.c | 109 N(SCHED_CLS, struct __sk_buff, tc_index),
|
| /linux/drivers/scsi/aic94xx/ |
| H A D | aic94xx_hwi.h | 133 int tc_index; member 277 ascb->tc_index = -1; in asd_init_ascb() 327 asd_tc_index_release(&ascb->ha->seq, ascb->tc_index); in asd_ascb_free()
|
| H A D | aic94xx_tmf.c | 239 scb->clear_nexus.index = cpu_to_le16(tascb->tc_index); in asd_clear_nexus_index() 452 scb->abort_task.index = cpu_to_le16((u16)tascb->tc_index); in asd_abort_task() 681 index = ascb->tc_index; in asd_query_task()
|
| H A D | aic94xx_hwi.c | 1050 ascb->tc_index = asd_tc_index_get(seq, ascb); in asd_ascb_alloc() 1052 if (ascb->tc_index == -1) in asd_ascb_alloc() 1055 ascb->scb->header.index = cpu_to_le16((u16)ascb->tc_index); in asd_ascb_alloc()
|
| H A D | aic94xx_scb.c | 447 if (a->tc_index != tc_abort) in escb_tasklet_complete() 475 a->tc_index != tc_abort) in escb_tasklet_complete()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_global_func7.c | 11 skb->tc_index = 0; in foo()
|
| H A D | test_verif_scale2.c | 24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
|
| H A D | test_verif_scale1.c | 24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
|
| H A D | test_verif_scale3.c | 24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
|
| H A D | core_kern.c | 89 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
|
| H A D | verifier_cgroup_skb.c | 62 __imm_const(__sk_buff_tc_index, offsetof(struct __sk_buff, tc_index)), in test_2_for_cgroup_skb()
|
| /linux/tools/testing/selftests/bpf/verifier/ |
| H A D | ctx_skb.c | 298 offsetof(struct __sk_buff, tc_index)), 384 offsetof(struct __sk_buff, tc_index)), 495 offsetof(struct __sk_buff, tc_index) + 3), 639 offsetof(struct __sk_buff, tc_index) + 2), 914 offsetof(struct __sk_buff, tc_index)), 934 offsetof(struct __sk_buff, tc_index)), 936 offsetof(struct __sk_buff, tc_index)),
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_buffers.c | 1484 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_tc_pool_bind_get() argument 1492 u8 pg_buff = tc_index; in mlxsw_sp_sb_tc_pool_bind_get() 1504 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_tc_pool_bind_set() argument 1514 u8 pg_buff = tc_index; in mlxsw_sp_sb_tc_pool_bind_set() 1530 cm = &mlxsw_sp->sb_vals->cms_ingress[tc_index]; in mlxsw_sp_sb_tc_pool_bind_set() 1532 cm = &mlxsw_sp->sb_vals->cms_egress[tc_index]; in mlxsw_sp_sb_tc_pool_bind_set() 1782 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_occ_tc_port_bind_get() argument 1790 u8 pg_buff = tc_index; in mlxsw_sp_sb_occ_tc_port_bind_get()
|
| /linux/include/net/ |
| H A D | tcx.h | 150 skb->tc_index = qdisc_skb_cb(skb)->tc_classid; in tcx_action_code()
|
| H A D | dsa.h | 1172 unsigned int sb_index, u16 tc_index, 1176 unsigned int sb_index, u16 tc_index, 1188 unsigned int sb_index, u16 tc_index,
|
| /linux/include/soc/mscc/ |
| H A D | ocelot.h | 1130 unsigned int sb_index, u16 tc_index, 1134 unsigned int sb_index, u16 tc_index, 1144 unsigned int sb_index, u16 tc_index,
|
| /linux/net/ipv4/ |
| H A D | ip_output.c | 566 to->tc_index = from->tc_index; in ip_copy_metadata()
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 6321 __u32 tc_index; 6316 __u32 tc_index; global() member
|