Home
last modified time | relevance | path

Searched refs:tc_index (Results 1 – 25 of 39) sorted by relevance

12

/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_devlink.c685 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()
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()
851 unsigned int sb_index, u16 tc_index, in ocelot_sb_occ_tc_port_bind_get() argument
860 wm_index = BUF_Q_RSRV_I(port, tc_index); in ocelot_sb_occ_tc_port_bind_get()
[all …]
H A Docelot_net.c89 unsigned int sb_index, u16 tc_index, in ocelot_devlink_sb_tc_pool_bind_get() argument
96 return ocelot_sb_tc_pool_bind_get(ocelot, port, sb_index, tc_index, in ocelot_devlink_sb_tc_pool_bind_get()
103 unsigned int sb_index, u16 tc_index, in ocelot_devlink_sb_tc_pool_bind_set() argument
111 return ocelot_sb_tc_pool_bind_set(ocelot, port, sb_index, tc_index, in ocelot_devlink_sb_tc_pool_bind_set()
146 unsigned int sb_index, u16 tc_index, in ocelot_devlink_sb_occ_tc_port_bind_get() argument
154 tc_index, pool_type, in ocelot_devlink_sb_occ_tc_port_bind_get()
/openbmc/linux/net/devlink/
H A Dsb.c724 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()
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()
781 tc_index, in __sb_tc_pool_bind_get_dumpit()
790 for (tc_index = 0; in __sb_tc_pool_bind_get_dumpit()
791 tc_index < devlink_sb->egress_tc_count; tc_index++) { in __sb_tc_pool_bind_get_dumpit()
799 tc_index, in __sb_tc_pool_bind_get_dumpit()
859 tc_index, pool_type, in devlink_sb_tc_pool_bind_set()
[all …]
/openbmc/linux/net/sched/
H A Dact_meta_skbtcindex.c24 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 Dsch_gred.c125 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()
/openbmc/linux/net/dsa/
H A Ddevlink.c81 unsigned int sb_index, u16 tc_index, in dsa_devlink_sb_tc_pool_bind_get() argument
92 tc_index, pool_type, in dsa_devlink_sb_tc_pool_bind_get()
98 unsigned int sb_index, u16 tc_index, in dsa_devlink_sb_tc_pool_bind_set() argument
110 tc_index, pool_type, in dsa_devlink_sb_tc_pool_bind_set()
154 unsigned int sb_index, u16 tc_index, in dsa_devlink_sb_occ_tc_port_bind_get() argument
165 sb_index, tc_index, in dsa_devlink_sb_occ_tc_port_bind_get()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dskb_ctx.c60 skb.tc_index = 1; in test_skb_ctx()
63 skb.tc_index = 0; in test_skb_ctx()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_global_func7.c11 skb->tc_index = 0; in foo()
H A Dtest_verif_scale2.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
H A Dtest_verif_scale3.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
H A Dtest_verif_scale1.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
H A Dcore_kern.c89 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ in balancer_ingress()
H A Dverifier_cgroup_skb.c62 __imm_const(__sk_buff_tc_index, offsetof(struct __sk_buff, tc_index)), in test_2_for_cgroup_skb()
/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_hwi.h133 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 Daic94xx_tmf.c239 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 Daic94xx_hwi.c1050 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()
/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Dctx_skb.c298 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)),
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_buffers.c1480 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_tc_pool_bind_get() argument
1488 u8 pg_buff = tc_index; in mlxsw_sp_sb_tc_pool_bind_get()
1500 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_tc_pool_bind_set() argument
1510 u8 pg_buff = tc_index; in mlxsw_sp_sb_tc_pool_bind_set()
1526 cm = &mlxsw_sp->sb_vals->cms_ingress[tc_index]; in mlxsw_sp_sb_tc_pool_bind_set()
1528 cm = &mlxsw_sp->sb_vals->cms_egress[tc_index]; in mlxsw_sp_sb_tc_pool_bind_set()
1770 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_occ_tc_port_bind_get() argument
1778 u8 pg_buff = tc_index; in mlxsw_sp_sb_occ_tc_port_bind_get()
H A Dcore.h373 unsigned int sb_index, u16 tc_index,
377 unsigned int sb_index, u16 tc_index,
389 unsigned int sb_index, u16 tc_index,
/openbmc/linux/include/net/
H A Dtcx.h150 skb->tc_index = qdisc_skb_cb(skb)->tc_classid; in tcx_action_code()
H A Ddsa.h1156 unsigned int sb_index, u16 tc_index,
1160 unsigned int sb_index, u16 tc_index,
1172 unsigned int sb_index, u16 tc_index,
H A Ddevlink.h1296 u16 tc_index,
1301 u16 tc_index,
1314 u16 tc_index,
/openbmc/linux/drivers/net/wireguard/
H A Dqueueing.h94 skb->tc_index = 0; in wg_reset_packet()
/openbmc/linux/drivers/net/dsa/ocelot/
H A Dfelix.c1928 unsigned int sb_index, u16 tc_index, in felix_sb_tc_pool_bind_get() argument
1934 return ocelot_sb_tc_pool_bind_get(ocelot, port, sb_index, tc_index, in felix_sb_tc_pool_bind_get()
1940 unsigned int sb_index, u16 tc_index, in felix_sb_tc_pool_bind_set() argument
1947 return ocelot_sb_tc_pool_bind_set(ocelot, port, sb_index, tc_index, in felix_sb_tc_pool_bind_set()
1979 unsigned int sb_index, u16 tc_index, in felix_sb_occ_tc_port_bind_get() argument
1985 return ocelot_sb_occ_tc_port_bind_get(ocelot, port, sb_index, tc_index, in felix_sb_occ_tc_port_bind_get()
/openbmc/linux/include/soc/mscc/
H A Docelot.h1108 unsigned int sb_index, u16 tc_index,
1112 unsigned int sb_index, u16 tc_index,
1122 unsigned int sb_index, u16 tc_index,

12