/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | police.c | 8 static bool police_act_validate_control(enum flow_action_id act_id, in police_act_validate_control() argument 11 if (act_id != FLOW_ACTION_PIPE && in police_act_validate_control() 12 act_id != FLOW_ACTION_ACCEPT && in police_act_validate_control() 13 act_id != FLOW_ACTION_JUMP && in police_act_validate_control() 14 act_id != FLOW_ACTION_DROP) { in police_act_validate_control() 26 if (!police_act_validate_control(act->police.exceed.act_id, extack) || in police_act_validate() 27 !police_act_validate_control(act->police.notexceed.act_id, extack)) in police_act_validate() 196 cond_true->act_id = act->police.notexceed.act_id; in tc_act_police_get_branch_ctrl() 199 cond_false->act_id = act->police.exceed.act_id; in tc_act_police_get_branch_ctrl()
|
H A D | act.h | 34 enum flow_action_id act_id; member 104 mlx5e_tc_act_get(enum flow_action_id act_id,
|
H A D | act.c | 53 mlx5e_tc_act_get(enum flow_action_id act_id, in mlx5e_tc_act_get() argument 60 return tc_acts[act_id]; in mlx5e_tc_act_get()
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_police.c | 165 if (a->police.exceed.act_id != FLOW_ACTION_DROP) { in ocelot_policer_validate() 171 if (a->police.notexceed.act_id != FLOW_ACTION_PIPE && in ocelot_policer_validate() 172 a->police.notexceed.act_id != FLOW_ACTION_ACCEPT) { in ocelot_policer_validate() 178 if (a->police.notexceed.act_id == FLOW_ACTION_ACCEPT && in ocelot_policer_validate()
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_police.c | 78 if (act->police.exceed.act_id != FLOW_ACTION_DROP) { in lan966x_police_validate() 84 if (act->police.notexceed.act_id != FLOW_ACTION_PIPE && in lan966x_police_validate() 85 act->police.notexceed.act_id != FLOW_ACTION_ACCEPT) { in lan966x_police_validate() 91 if (act->police.notexceed.act_id == FLOW_ACTION_ACCEPT && in lan966x_police_validate()
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | qos_conf.c | 125 if (act->police.exceed.act_id != FLOW_ACTION_DROP) { in nfp_policer_validate() 132 if (act->police.notexceed.act_id != FLOW_ACTION_CONTINUE && in nfp_policer_validate() 133 act->police.notexceed.act_id != FLOW_ACTION_ACCEPT) { in nfp_policer_validate() 139 if (act->police.notexceed.act_id != FLOW_ACTION_PIPE && in nfp_policer_validate() 140 act->police.notexceed.act_id != FLOW_ACTION_ACCEPT) { in nfp_policer_validate() 147 if (act->police.notexceed.act_id == FLOW_ACTION_ACCEPT && in nfp_policer_validate()
|
H A D | offload.c | 604 u8 act_id = 0; in nfp_flower_update_merge_with_actions() local 610 act_id = a->jump_id; in nfp_flower_update_merge_with_actions() 612 switch (act_id) { in nfp_flower_update_merge_with_actions() 699 *last_act_id = act_id; in nfp_flower_update_merge_with_actions() 804 u8 act_id = 0; in nfp_flower_copy_pre_actions() local 809 act_id = a->jump_id; in nfp_flower_copy_pre_actions() 811 switch (act_id) { in nfp_flower_copy_pre_actions()
|
H A D | conntrack.c | 27 enum flow_action_id act_id); 1752 enum flow_action_id act_id) in get_flow_act() argument 1758 if (act->id == act_id) in get_flow_act()
|
/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_flower.c | 310 if (act->police.exceed.act_id != FLOW_ACTION_DROP) { in sja1105_policer_validate() 316 if (act->police.notexceed.act_id != FLOW_ACTION_PIPE && in sja1105_policer_validate() 317 act->police.notexceed.act_id != FLOW_ACTION_ACCEPT) { in sja1105_policer_validate() 323 if (act->police.notexceed.act_id == FLOW_ACTION_ACCEPT && in sja1105_policer_validate()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_matchall.c | 15 if (act->police.exceed.act_id != FLOW_ACTION_DROP) { in cxgb4_policer_validate() 21 if (act->police.notexceed.act_id != FLOW_ACTION_PIPE && in cxgb4_policer_validate() 22 act->police.notexceed.act_id != FLOW_ACTION_ACCEPT) { in cxgb4_policer_validate() 28 if (act->police.notexceed.act_id == FLOW_ACTION_ACCEPT && in cxgb4_policer_validate()
|
/linux/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-qos.c | 1065 if (act->police.exceed.act_id != FLOW_ACTION_DROP) { in am65_cpsw_qos_clsflower_policer_validate() 1071 if (act->police.notexceed.act_id != FLOW_ACTION_PIPE && in am65_cpsw_qos_clsflower_policer_validate() 1072 act->police.notexceed.act_id != FLOW_ACTION_ACCEPT) { in am65_cpsw_qos_clsflower_policer_validate() 1078 if (act->police.notexceed.act_id == FLOW_ACTION_ACCEPT && in am65_cpsw_qos_clsflower_policer_validate()
|
H A D | cpsw_priv.c | 1453 if (act->police.exceed.act_id != FLOW_ACTION_DROP) { in cpsw_qos_clsflower_policer_validate() 1459 if (act->police.notexceed.act_id != FLOW_ACTION_PIPE && in cpsw_qos_clsflower_policer_validate() 1460 act->police.notexceed.act_id != FLOW_ACTION_ACCEPT) { in cpsw_qos_clsflower_policer_validate() 1466 if (act->police.notexceed.act_id == FLOW_ACTION_ACCEPT && in cpsw_qos_clsflower_policer_validate()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.h | 270 int act_id, u32 data);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_encap.c | 768 int act_id = attr->dests[out_index].src_port_rewrite_act_id; in mlx5e_update_vf_tunnel() local 788 mlx5e_tc_match_to_reg_mod_hdr_change(esw->dev, mod_hdr_acts, VPORT_TO_REG, act_id, data); in mlx5e_update_vf_tunnel()
|