Searched refs:chain_index (Results 1 - 25 of 34) sorted by last modified time

12

/linux-master/net/sched/
H A Dcls_flower.c2722 cls_flower.common.chain_index = chain->index;
2744 cls_flower.common.chain_index = chain->index;
2814 cls_flower.common.chain_index = chain->index;
H A Dcls_api.c57 u32 chain_index; member in struct:tcf_exts_miss_cookie_node
91 n->chain_index = tp->chain->index;
506 u32 chain_index)
518 chain->index = chain_index;
602 u32 chain_index)
609 if (chain->index == chain_index)
617 u32 chain_index)
622 if (chain->index == chain_index)
634 u32 chain_index, bool create,
641 chain = tcf_chain_lookup(block, chain_index);
505 tcf_chain_create(struct tcf_block *block, u32 chain_index) argument
601 tcf_chain_lookup(struct tcf_block *block, u32 chain_index) argument
616 tcf_chain_lookup_rcu(const struct tcf_block *block, u32 chain_index) argument
633 __tcf_chain_get(struct tcf_block *block, u32 chain_index, bool create, bool by_act) argument
673 tcf_chain_get(struct tcf_block *block, u32 chain_index, bool create) argument
679 tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) argument
2218 u32 chain_index; local
2452 u32 chain_index; local
2608 u32 chain_index; local
2912 tc_chain_fill_node(const struct tcf_proto_ops *tmplt_ops, void *tmplt_priv, u32 chain_index, struct net *net, struct sk_buff *skb, struct tcf_block *block, u32 portid, u32 seq, u16 flags, int event, struct netlink_ext_ack *extack) argument
3001 tc_chain_notify_delete(const struct tcf_proto_ops *tmplt_ops, void *tmplt_priv, u32 chain_index, struct tcf_block *block, struct sk_buff *oskb, u32 seq, u16 flags) argument
3083 u32 chain_index; local
[all...]
H A Dact_gact.c254 entry->chain_index = tcf_gact_goto_chain_index(act);
H A Dact_api.c75 u32 chain_index; local
87 chain_index = action & TC_ACT_EXT_VAL_MASK;
94 *newchain = tcf_chain_get_by_act(tp->chain->block, chain_index);
/linux-master/net/dsa/
H A Duser.c1528 if (cls->common.chain_index)
/linux-master/include/net/
H A Dpkt_cls.h48 u32 chain_index);
713 if (common->chain_index) {
755 cls_common->chain_index = tp->chain->index;
H A Dflow_offload.h243 u32 chain_index; /* FLOW_ACTION_GOTO */ member in union:flow_action_entry::__anon2718
650 u32 chain_index; member in struct:flow_cls_common_offload
/linux-master/drivers/net/ethernet/sfc/
H A Dtc.c694 u32 chain_index,
703 rid->chain_index = chain_index;
848 * (the hardware equivalent of chain_index), while LHS rules may go in either
997 if (!fa->chain_index) {
1001 rid = efx_tc_get_recirc_id(efx, fa->chain_index,
1004 NL_SET_ERR_MSG_MOD(extack, "Failed to allocate a hardware recirculation ID for this chain_index");
1570 if (tc->common.chain_index) {
1708 if (tc->common.chain_index) {
1711 rid = efx_tc_get_recirc_id(efx, tc->common.chain_index, net_de
693 efx_tc_get_recirc_id(struct efx_nic *efx, u32 chain_index, struct net_device *net_dev) argument
[all...]
H A Dtc.h92 u8 recirc_id; /* mapped from (u32) TC chain_index to smaller space */
172 u32 chain_index; member in struct:efx_tc_recirc_id
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Doffload.c1311 if (flow->common.chain_index)
H A Dconntrack.c70 if (flow->common.chain_index)
118 if (flow->common.chain_index && exist_ct_clear)
1288 /* Checks that the chain_index of the filter matches the
1289 * chain_index of the GOTO action.
1291 if (post_ct_entry->chain_index != pre_ct_entry->goto_chain_index)
1530 entry->chain_index = flow->common.chain_index;
1852 ct_entry->chain_index = flow->common.chain_index;
1853 ct_entry->goto_chain_index = ct_goto->chain_index;
[all...]
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_flower.c249 chain = f->common.chain_index;
452 filter->goto_target = a->chain_index;
870 int chain = f->common.chain_index;
941 block_id = ocelot_chain_to_block(f->common.chain_index, ingress);
979 block_id = ocelot_chain_to_block(f->common.chain_index, ingress);
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_matchall.c104 tmo->common.chain_index,
105 action->chain_index, tmo->cookie,
H A Dsparx5_tc_flower.c317 if (!vcap_is_next_lookup(vctrl, fco->common.chain_index,
318 last_actent->chain_index)) {
323 } else if (!vcap_is_last_chain(vctrl, fco->common.chain_index,
1145 if (ftp->cid != fco->common.chain_index)
1184 vrule = vcap_alloc_rule(vctrl, ndev, fco->common.chain_index, VCAP_USER_TC,
1202 fco->common.chain_index);
1254 fco->common.chain_index,
1255 act->chain_index);
1453 count = vcap_admin_rule_count(admin, fco->common.chain_index);
1464 ftp->cid = fco->common.chain_index;
[all...]
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c293 if (!vcap_is_next_lookup(vctrl, fco->common.chain_index,
294 last_actent->chain_index)) {
299 } else if (!vcap_is_last_chain(vctrl, fco->common.chain_index,
394 diff = vcap_chain_offset(vctrl, f->common.chain_index, to_cid);
464 f->common.chain_index, VCAP_USER_TC,
475 f->common.chain_index);
510 f, act->chain_index);
608 f->common.chain_index);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flower.c130 u32 chain_index = act->chain_index; local
135 chain_index,
710 err = mlxsw_sp_mall_prio_get(block, f->common.chain_index,
744 f->common.chain_index,
789 f->common.chain_index,
817 f->common.chain_index,
855 f->common.chain_index,
870 f->common.chain_index,
881 u32 chain_index, unsigne
879 mlxsw_sp_flower_prio_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_flow_block *block, u32 chain_index, unsigned int *p_min_prio, unsigned int *p_max_prio) argument
[all...]
H A Dspectrum_acl.c51 u32 chain_index; member in struct:mlxsw_sp_acl_ruleset_ht_key
167 struct mlxsw_sp_flow_block *block, u32 chain_index,
182 ruleset->ht_key.chain_index = chain_index;
239 struct mlxsw_sp_flow_block *block, u32 chain_index,
246 ht_key.chain_index = chain_index;
254 struct mlxsw_sp_flow_block *block, u32 chain_index,
264 ruleset = __mlxsw_sp_acl_ruleset_lookup(acl, block, chain_index, ops);
272 struct mlxsw_sp_flow_block *block, u32 chain_index,
166 mlxsw_sp_acl_ruleset_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_flow_block *block, u32 chain_index, const struct mlxsw_sp_acl_profile_ops *ops, struct mlxsw_afk_element_usage *tmplt_elusage) argument
238 __mlxsw_sp_acl_ruleset_lookup(struct mlxsw_sp_acl *acl, struct mlxsw_sp_flow_block *block, u32 chain_index, const struct mlxsw_sp_acl_profile_ops *ops) argument
253 mlxsw_sp_acl_ruleset_lookup(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_flow_block *block, u32 chain_index, enum mlxsw_sp_acl_profile profile) argument
271 mlxsw_sp_acl_ruleset_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_flow_block *block, u32 chain_index, enum mlxsw_sp_acl_profile profile, struct mlxsw_afk_element_usage *tmplt_elusage) argument
[all...]
H A Dspectrum.h987 struct mlxsw_sp_flow_block *block, u32 chain_index,
991 struct mlxsw_sp_flow_block *block, u32 chain_index,
1234 int mlxsw_sp_mall_prio_get(struct mlxsw_sp_flow_block *block, u32 chain_index,
1255 u32 chain_index, unsigned int *p_min_prio,
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c2566 if (netif_is_bareudp(filter_dev) && f->common.chain_index == 0)
4373 attr->chain = f->common.chain_index;
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_flower.c13 u32 chain_index; member in struct:prestera_flower_template
36 u32 chain_index,
41 if (act->chain_index <= chain_index)
49 act->chain_index);
64 u32 chain_index,
83 err = prestera_acl_chain_to_client(chain_index, block->ingress,
124 chain_index,
370 f->common.chain_index,
404 int prestera_flower_prio_get(struct prestera_flow_block *block, u32 chain_index, argument
34 prestera_flower_parse_goto_action(struct prestera_flow_block *block, struct prestera_acl_rule *rule, u32 chain_index, const struct flow_action_entry *act) argument
61 prestera_flower_parse_actions(struct prestera_flow_block *block, struct prestera_acl_rule *rule, struct flow_action *flow_action, u32 chain_index, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_main.c8246 if (cls_flower->common.chain_index)
/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2800lib.c9233 u8 chain_index = 0, record_index = 0; local
9236 for (chain_index = 0; chain_index < 2; chain_index++) {
9238 bank = rf_record[chain_index][record_index].bank;
9239 rf_register = rf_record[chain_index][record_index].reg;
9240 value = rf_record[chain_index][record_index].value;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dtc.c232 if (tmp.common.chain_index != 0)
235 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw));
413 tmp.common.chain_index)
416 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw));
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c1121 cls_u32.common.chain_index = 0;
1367 cls->common.chain_index = 0;
1495 cls->common.chain_index = 0;
/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc_qos.c1141 if (f->common.chain_index >= priv->psfp_cap.max_streamid) {
1160 filter->sid.index = f->common.chain_index;
1440 if (f->common.chain_index >= priv->psfp_cap.max_streamid) {
1445 filter = enetc_get_stream_by_index(f->common.chain_index);
1472 filter = enetc_get_stream_by_index(f->common.chain_index);

Completed in 789 milliseconds

12