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

12

/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_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);
H A Daic94xx_scb.c447 if (a->tc_index != tc_abort)
475 a->tc_index != tc_abort)
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;
/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");
/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
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.c1448 unsigned int sb_index, u16 tc_index,
1460 tc_index, pool_type,
1466 unsigned int sb_index, u16 tc_index,
1479 tc_index, pool_type,
1523 unsigned int sb_index, u16 tc_index,
1535 sb_index, tc_index,
1447 mlxsw_devlink_sb_tc_pool_bind_get(struct devlink_port *devlink_port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 *p_pool_index, u32 *p_threshold) argument
1465 mlxsw_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
1522 mlxsw_devlink_sb_occ_tc_port_bind_get(struct devlink_port *devlink_port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u32 *p_cur, u32 *p_max) argument
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.h599 unsigned int sb_index, u16 tc_index,
603 unsigned int sb_index, u16 tc_index,
615 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/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/drivers/net/wireguard/
H A Dqueueing.h94 skb->tc_index = 0;
/linux-master/drivers/staging/octeon/
H A Dethernet-tx.c356 skb->tc_index = 0;
/linux-master/include/linux/
H A Dskbuff.h794 * @tc_index: Traffic control index
1004 __u16 tc_index; /* traffic control index */
/linux-master/include/net/
H A Ddevlink.h1297 u16 tc_index,
1302 u16 tc_index,
1315 u16 tc_index,
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 Dtcx.h145 skb->tc_index = qdisc_skb_cb(skb)->tc_classid;
/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/include/uapi/linux/
H A Dbpf.h6226 __u32 tc_index; member in struct:__sk_buff
/linux-master/net/core/
H A Ddev.c3934 skb->tc_index = TC_H_MIN(res.classid);
H A Dfilter.c8909 case bpf_ctx_range(struct __sk_buff, tc_index):
9245 case bpf_ctx_range(struct __sk_buff, tc_index):
9662 case offsetof(struct __sk_buff, tc_index):
9666 bpf_target_off(struct sk_buff, tc_index, 2,
9670 bpf_target_off(struct sk_buff, tc_index, 2,
H A Dskbuff.c1564 CHECK_SKB_FIELD(tc_index);
/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

Completed in 433 milliseconds

12