| /Linux-v5.4/net/sched/ |
| 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()
|
| D | sch_dsmark.c | 220 skb->tc_index = ipv4_get_dsfield(ip_hdr(skb)) in dsmark_enqueue() 230 skb->tc_index = ipv6_get_dsfield(ipv6_hdr(skb)) in dsmark_enqueue() 234 skb->tc_index = 0; in dsmark_enqueue() 240 skb->tc_index = TC_H_MIN(skb->priority); in dsmark_enqueue() 260 skb->tc_index = TC_H_MIN(res.classid); in dsmark_enqueue() 265 skb->tc_index = p->default_index; in dsmark_enqueue() 303 index = skb->tc_index & (p->indices - 1); in dsmark_dequeue() 304 pr_debug("index %d->%d\n", skb->tc_index, index); in dsmark_dequeue()
|
| D | sch_gred.c | 124 return skb->tc_index & GRED_VQ_MASK; in tc_index_to_dp() 190 skb->tc_index = (skb->tc_index & ~GRED_VQ_MASK) | dp; in gred_enqueue()
|
| D | cls_tcindex.c | 88 int key = (skb->tc_index & p->mask) >> p->shift; in tcindex_classify()
|
| D | em_meta.c | 241 dst->value = skb->tc_index; in META_COLLECTOR()
|
| /Linux-v5.4/tools/testing/selftests/bpf/prog_tests/ |
| D | skb_ctx.c | 52 skb.tc_index = 1; in test_skb_ctx() 55 skb.tc_index = 0; in test_skb_ctx()
|
| /Linux-v5.4/drivers/scsi/aic94xx/ |
| 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()
|
| 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() 690 index = ascb->tc_index; in asd_query_task()
|
| D | aic94xx_hwi.c | 1052 ascb->tc_index = asd_tc_index_get(seq, ascb); in asd_ascb_alloc() 1054 if (ascb->tc_index == -1) in asd_ascb_alloc() 1057 ascb->scb->header.index = cpu_to_le16((u16)ascb->tc_index); in asd_ascb_alloc()
|
| D | aic94xx_scb.c | 445 if (a->tc_index != tc_abort) in escb_tasklet_complete() 473 a->tc_index != tc_abort) in escb_tasklet_complete()
|
| /Linux-v5.4/tools/testing/selftests/bpf/progs/ |
| D | test_verif_scale1.c | 24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
|
| D | test_verif_scale2.c | 24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
|
| D | test_verif_scale3.c | 24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
|
| /Linux-v5.4/tools/testing/selftests/bpf/verifier/ |
| 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)),
|
| D | cgroup_skb.c | 48 offsetof(struct __sk_buff, tc_index)),
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_buffers.c | 1111 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_tc_pool_bind_get() argument 1119 u8 pg_buff = tc_index; in mlxsw_sp_sb_tc_pool_bind_get() 1131 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_tc_pool_bind_set() argument 1141 u8 pg_buff = tc_index; in mlxsw_sp_sb_tc_pool_bind_set() 1157 cm = &mlxsw_sp->sb_vals->cms_ingress[tc_index]; in mlxsw_sp_sb_tc_pool_bind_set() 1159 cm = &mlxsw_sp->sb_vals->cms_egress[tc_index]; in mlxsw_sp_sb_tc_pool_bind_set() 1385 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_occ_tc_port_bind_get() argument 1393 u8 pg_buff = tc_index; in mlxsw_sp_sb_occ_tc_port_bind_get()
|
| D | core.h | 278 unsigned int sb_index, u16 tc_index, 282 unsigned int sb_index, u16 tc_index, 294 unsigned int sb_index, u16 tc_index,
|
| D | core.c | 855 unsigned int sb_index, u16 tc_index, in mlxsw_devlink_sb_tc_pool_bind_get() argument 867 tc_index, pool_type, in mlxsw_devlink_sb_tc_pool_bind_get() 873 unsigned int sb_index, u16 tc_index, in mlxsw_devlink_sb_tc_pool_bind_set() argument 886 tc_index, pool_type, in mlxsw_devlink_sb_tc_pool_bind_set() 930 unsigned int sb_index, u16 tc_index, in mlxsw_devlink_sb_occ_tc_port_bind_get() argument 942 sb_index, tc_index, in mlxsw_devlink_sb_occ_tc_port_bind_get()
|
| D | spectrum.h | 408 unsigned int sb_index, u16 tc_index, 412 unsigned int sb_index, u16 tc_index, 424 unsigned int sb_index, u16 tc_index,
|
| /Linux-v5.4/include/net/ |
| D | devlink.h | 672 u16 tc_index, 677 u16 tc_index, 690 u16 tc_index,
|
| /Linux-v5.4/net/core/ |
| D | devlink.c | 1302 struct devlink_sb *devlink_sb, u16 tc_index, in devlink_nl_sb_tc_pool_bind_fill() argument 1314 tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_fill() 1329 if (nla_put_u16(msg, DEVLINK_ATTR_SB_TC_INDEX, tc_index)) in devlink_nl_sb_tc_pool_bind_fill() 1344 tc_index, pool_type, in devlink_nl_sb_tc_pool_bind_fill() 1372 u16 tc_index; in devlink_nl_cmd_sb_tc_pool_bind_get_doit() local 1380 pool_type, &tc_index); in devlink_nl_cmd_sb_tc_pool_bind_get_doit() 1392 devlink_sb, tc_index, pool_type, in devlink_nl_cmd_sb_tc_pool_bind_get_doit() 1411 u16 tc_index; in __sb_tc_pool_bind_get_dumpit() local 1415 for (tc_index = 0; in __sb_tc_pool_bind_get_dumpit() 1416 tc_index < devlink_sb->ingress_tc_count; tc_index++) { in __sb_tc_pool_bind_get_dumpit() [all …]
|
| /Linux-v5.4/drivers/staging/octeon/ |
| D | ethernet-tx.c | 357 skb->tc_index = 0; in cvm_oct_xmit()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | bpf.h | 2984 __u32 tc_index; member
|
| /Linux-v5.4/tools/include/uapi/linux/ |
| D | bpf.h | 2984 __u32 tc_index; member
|
| /Linux-v5.4/net/ipv4/ |
| D | ip_output.c | 558 to->tc_index = from->tc_index; in ip_copy_metadata()
|