/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_global_func7.c | 11 skb->tc_index = 0;
|
H A D | test_verif_scale2.c | 24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \
|
H A D | test_verif_scale1.c | 24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \
|
H A D | test_verif_scale3.c | 24 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \
|
H A D | core_kern.c | 89 ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \
|
H A D | verifier_cgroup_skb.c | 62 __imm_const(__sk_buff_tc_index, offsetof(struct __sk_buff, tc_index)),
|
/linux-master/net/sched/ |
H A D | act_meta_skbtcindex.c | 3 * 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 D | sch_gred.c | 125 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 D | skb_ctx.c | 53 /* 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 D | ocelot_devlink.c | 676 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 D | ocelot_net.c | 89 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 D | sb.c | 654 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 D | devlink.c | 81 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 D | aic94xx_hwi.h | 133 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 D | aic94xx_tmf.c | 239 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 D | aic94xx_hwi.c | 1050 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 D | tcx.h | 145 skb->tc_index = qdisc_skb_cb(skb)->tc_classid;
|
H A D | dsa.h | 1166 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 D | devlink.h | 1297 u16 tc_index, 1302 u16 tc_index, 1315 u16 tc_index,
|
/linux-master/tools/testing/selftests/bpf/verifier/ |
H A D | ctx_skb.c | 294 "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 D | core.h | 384 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 D | spectrum_buffers.c | 1480 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 D | queueing.h | 94 skb->tc_index = 0;
|
/linux-master/include/soc/mscc/ |
H A D | ocelot.h | 1108 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 D | felix.c | 1928 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
|