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

12

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_global_func7.c11 skb->tc_index = 0;
H A Dtest_verif_scale2.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \
H A Dtest_verif_scale1.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \
H A Dtest_verif_scale3.c24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \
H A Dcore_kern.c89 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \
H A Dverifier_cgroup_skb.c62 __imm_const(__sk_buff_tc_index, offsetof(struct __sk_buff, tc_index)),
/linux-master/net/sched/
H A Dact_meta_skbtcindex.c3 * net/sched/act_meta_tc_index.c IFE skb->tc_index metadata module
24 u32 ifetc_index = skb->tc_index;
33 skb->tc_index = ntohs(ifetc_index);
39 return ife_check_meta_u16(skb->tc_index, e);
45 .name = "tc_index",
46 .synopsis = "skb tc_index 16 bit metadata",
71 MODULE_DESCRIPTION("Inter-FE skb tc_index metadata module");
H A Dsch_gred.c125 return skb->tc_index & GRED_VQ_MASK;
189 /* fix tc_index? --could be controversial but needed for
191 skb->tc_index = (skb->tc_index & ~GRED_VQ_MASK) | dp;
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dskb_ctx.c53 /* non-zero [len, tc_index] fields should be rejected*/
60 skb.tc_index = 1;
62 ASSERT_NEQ(err, 0, "tc_index");
63 skb.tc_index = 0;
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_devlink.c676 unsigned int sb_index, u16 tc_index,
685 wm_index = BUF_Q_RSRV_I(port, tc_index);
687 wm_index = BUF_Q_RSRV_E(port, tc_index);
691 wm_index = REF_Q_RSRV_I(port, tc_index);
693 wm_index = REF_Q_RSRV_E(port, tc_index);
713 unsigned int sb_index, u16 tc_index,
732 wm_index = BUF_Q_RSRV_I(port, tc_index);
734 wm_index = BUF_Q_RSRV_E(port, tc_index);
738 wm_index = REF_Q_RSRV_I(port, tc_index);
740 wm_index = REF_Q_RSRV_E(port, tc_index);
675 ocelot_sb_tc_pool_bind_get(struct ocelot *ocelot, int port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 *p_pool_index, u32 *p_threshold) argument
712 ocelot_sb_tc_pool_bind_set(struct ocelot *ocelot, int port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
850 ocelot_sb_occ_tc_port_bind_get(struct ocelot *ocelot, int port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u32 *p_cur, u32 *p_max) argument
[all...]
H A Docelot_net.c89 unsigned int sb_index, u16 tc_index,
96 return ocelot_sb_tc_pool_bind_get(ocelot, port, sb_index, tc_index,
103 unsigned int sb_index, u16 tc_index,
111 return ocelot_sb_tc_pool_bind_set(ocelot, port, sb_index, tc_index,
146 unsigned int sb_index, u16 tc_index,
154 tc_index, pool_type,
88 ocelot_devlink_sb_tc_pool_bind_get(struct devlink_port *dlp, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 *p_pool_index, u32 *p_threshold) argument
102 ocelot_devlink_sb_tc_pool_bind_set(struct devlink_port *dlp, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
145 ocelot_devlink_sb_occ_tc_port_bind_get(struct devlink_port *dlp, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u32 *p_cur, u32 *p_max) argument
/linux-master/net/devlink/
H A Dsb.c654 struct devlink_sb *devlink_sb, u16 tc_index,
666 tc_index, pool_type,
681 if (nla_put_u16(msg, DEVLINK_ATTR_SB_TC_INDEX, tc_index))
696 tc_index, pool_type,
724 u16 tc_index; local
736 pool_type, &tc_index);
748 devlink_sb, tc_index, pool_type,
768 u16 tc_index; local
772 for (tc_index = 0;
773 tc_index < devlink_s
652 devlink_nl_sb_tc_pool_bind_fill(struct sk_buff *msg, struct devlink *devlink, struct devlink_port *devlink_port, struct devlink_sb *devlink_sb, u16 tc_index, enum devlink_sb_pool_type pool_type, enum devlink_command cmd, u32 portid, u32 seq, int flags) argument
848 devlink_sb_tc_pool_bind_set(struct devlink_port *devlink_port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
871 u16 tc_index; local
[all...]
/linux-master/net/dsa/
H A Ddevlink.c81 unsigned int sb_index, u16 tc_index,
92 tc_index, pool_type,
98 unsigned int sb_index, u16 tc_index,
110 tc_index, pool_type,
154 unsigned int sb_index, u16 tc_index,
165 sb_index, tc_index,
80 dsa_devlink_sb_tc_pool_bind_get(struct devlink_port *dlp, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 *p_pool_index, u32 *p_threshold) argument
97 dsa_devlink_sb_tc_pool_bind_set(struct devlink_port *dlp, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
153 dsa_devlink_sb_occ_tc_port_bind_get(struct devlink_port *dlp, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u32 *p_cur, u32 *p_max) argument
/linux-master/drivers/scsi/aic94xx/
H A Daic94xx_hwi.h133 int tc_index; member in struct:asd_ascb
277 ascb->tc_index = -1;
327 asd_tc_index_release(&ascb->ha->seq, ascb->tc_index);
H A Daic94xx_tmf.c239 scb->clear_nexus.index = cpu_to_le16(tascb->tc_index);
452 scb->abort_task.index = cpu_to_le16((u16)tascb->tc_index);
681 index = ascb->tc_index;
H A Daic94xx_hwi.c1050 ascb->tc_index = asd_tc_index_get(seq, ascb);
1052 if (ascb->tc_index == -1)
1055 ascb->scb->header.index = cpu_to_le16((u16)ascb->tc_index);
/linux-master/include/net/
H A Dtcx.h145 skb->tc_index = qdisc_skb_cb(skb)->tc_classid;
H A Ddsa.h1166 unsigned int sb_index, u16 tc_index,
1170 unsigned int sb_index, u16 tc_index,
1182 unsigned int sb_index, u16 tc_index,
H A Ddevlink.h1297 u16 tc_index,
1302 u16 tc_index,
1315 u16 tc_index,
/linux-master/tools/testing/selftests/bpf/verifier/
H A Dctx_skb.c294 "check skb->tc_index is writeable by SK_SKB",
298 offsetof(struct __sk_buff, tc_index)),
381 "check skb->tc_index is not writeable by sockets",
384 offsetof(struct __sk_buff, tc_index)),
491 "__sk_buff->tc_index, offset 3, byte store not permitted",
495 offsetof(struct __sk_buff, tc_index) + 3),
635 "check __sk_buff->tc_index, offset 2, half store not permitted",
639 offsetof(struct __sk_buff, tc_index) + 2),
914 offsetof(struct __sk_buff, tc_index)),
934 offsetof(struct __sk_buff, tc_index)),
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.h384 unsigned int sb_index, u16 tc_index,
388 unsigned int sb_index, u16 tc_index,
400 unsigned int sb_index, u16 tc_index,
H A Dspectrum_buffers.c1480 unsigned int sb_index, u16 tc_index,
1488 u8 pg_buff = tc_index;
1500 unsigned int sb_index, u16 tc_index,
1510 u8 pg_buff = tc_index;
1526 cm = &mlxsw_sp->sb_vals->cms_ingress[tc_index];
1528 cm = &mlxsw_sp->sb_vals->cms_egress[tc_index];
1770 unsigned int sb_index, u16 tc_index,
1778 u8 pg_buff = tc_index;
1479 mlxsw_sp_sb_tc_pool_bind_get(struct mlxsw_core_port *mlxsw_core_port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 *p_pool_index, u32 *p_threshold) argument
1499 mlxsw_sp_sb_tc_pool_bind_set(struct mlxsw_core_port *mlxsw_core_port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
1769 mlxsw_sp_sb_occ_tc_port_bind_get(struct mlxsw_core_port *mlxsw_core_port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u32 *p_cur, u32 *p_max) argument
/linux-master/drivers/net/wireguard/
H A Dqueueing.h94 skb->tc_index = 0;
/linux-master/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,
/linux-master/drivers/net/dsa/ocelot/
H A Dfelix.c1928 unsigned int sb_index, u16 tc_index,
1934 return ocelot_sb_tc_pool_bind_get(ocelot, port, sb_index, tc_index,
1940 unsigned int sb_index, u16 tc_index,
1947 return ocelot_sb_tc_pool_bind_set(ocelot, port, sb_index, tc_index,
1979 unsigned int sb_index, u16 tc_index,
1985 return ocelot_sb_occ_tc_port_bind_get(ocelot, port, sb_index, tc_index,
1927 felix_sb_tc_pool_bind_get(struct dsa_switch *ds, int port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 *p_pool_index, u32 *p_threshold) argument
1939 felix_sb_tc_pool_bind_set(struct dsa_switch *ds, int port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
1978 felix_sb_occ_tc_port_bind_get(struct dsa_switch *ds, int port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u32 *p_cur, u32 *p_max) argument

Completed in 331 milliseconds

12