Home
last modified time | relevance | path

Searched refs:acts (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dtc.c178 * because if the alloc had succeeded we'd've put it in acts.list and in efx_tc_free_action_set()
183 /* in_hw is true iff we are on an acts.list; make sure to in efx_tc_free_action_set()
207 struct efx_tc_action_set_list *acts, in efx_tc_free_action_set_list()
212 /* Failure paths set in_hw=false, because usually the acts didn't get in efx_tc_free_action_set_list()
217 efx_mae_free_action_set_list(efx, acts); in efx_tc_free_action_set_list()
219 list_for_each_entry_safe(act, next, &acts->list, list) in efx_tc_free_action_set_list()
221 /* Don't kfree, as acts is embedded inside a struct efx_tc_flow_rule */ in efx_tc_free_action_set_list()
743 efx_tc_free_action_set_list(efx, &rule->acts, true); in efx_tc_delete_rule()
1486 INIT_LIST_HEAD(&rule->acts.list); in efx_tc_flower_replace_foreign()
1582 list_add_tail(&act->list, &rule->acts in efx_tc_flower_replace_foreign()
206 efx_tc_free_action_set_list(struct efx_nic *efx, struct efx_tc_action_set_list *acts, bool in_hw) efx_tc_free_action_set_list() argument
2343 struct efx_tc_action_set_list *acts = &rule->acts; efx_tc_configure_default_rule() local
2417 efx_tc_configure_fallback_acts(struct efx_nic *efx, u32 eg_port, struct efx_tc_action_set_list *acts) efx_tc_configure_fallback_acts() argument
2447 struct efx_tc_action_set_list *acts = &efx->tc->facts.pf; efx_tc_configure_fallback_acts_pf() local
2456 struct efx_tc_action_set_list *acts = &efx->tc->facts.reps; efx_tc_configure_fallback_acts_reps() local
2463 efx_tc_deconfigure_fallback_acts(struct efx_nic *efx, struct efx_tc_action_set_list *acts) efx_tc_deconfigure_fallback_acts() argument
[all...]
H A Dtc_encap_actions.c431 struct efx_tc_action_set_list *acts, *fallback; in efx_tc_update_encap() local
439 acts = act->user; in efx_tc_update_encap()
440 if (WARN_ON(!acts)) /* can't happen */ in efx_tc_update_encap()
442 rule = container_of(acts, struct efx_tc_flow_rule, acts); in efx_tc_update_encap()
487 acts = act->user; in efx_tc_update_encap()
488 if (WARN_ON(!acts)) /* can't happen */ in efx_tc_update_encap()
490 rule = container_of(acts, struct efx_tc_flow_rule, acts); in efx_tc_update_encap()
493 rc = efx_mae_update_rule(efx, acts in efx_tc_update_encap()
[all...]
H A Dmae.h114 struct efx_tc_action_set_list *acts);
116 struct efx_tc_action_set_list *acts);
H A Dmae.c1386 struct efx_tc_action_set_list *acts) in efx_mae_alloc_action_set_list()
1394 list_for_each_entry(act, &acts->list, list) in efx_mae_alloc_action_set_list()
1402 act = list_first_entry(&acts->list, struct efx_tc_action_set, list); in efx_mae_alloc_action_set_list()
1403 acts->fw_id = act->fw_id; in efx_mae_alloc_action_set_list()
1413 list_for_each_entry(act, &acts->list, list) { in efx_mae_alloc_action_set_list()
1427 acts->fw_id = MCDI_DWORD(outbuf, MAE_ACTION_SET_LIST_ALLOC_OUT_ASL_ID); in efx_mae_alloc_action_set_list()
1431 if (WARN_ON_ONCE(!efx_mae_asl_id(acts->fw_id))) { in efx_mae_alloc_action_set_list()
1432 efx_mae_free_action_set_list(efx, acts); in efx_mae_alloc_action_set_list()
1441 struct efx_tc_action_set_list *acts) in efx_mae_free_action_set_list()
1451 if (efx_mae_asl_id(acts in efx_mae_free_action_set_list()
1385 efx_mae_alloc_action_set_list(struct efx_nic *efx, struct efx_tc_action_set_list *acts) efx_mae_alloc_action_set_list() argument
1440 efx_mae_free_action_set_list(struct efx_nic *efx, struct efx_tc_action_set_list *acts) efx_mae_free_action_set_list() argument
[all...]
H A Dtc.h195 struct efx_tc_action_set_list acts; member
/kernel/linux/linux-5.10/net/openvswitch/
H A Ddatapath.c558 struct sw_flow_actions *acts; in ovs_packet_cmd_execute() local
611 &flow->key, &acts, log); in ovs_packet_cmd_execute()
615 rcu_assign_pointer(flow->sf_acts, acts); in ovs_packet_cmd_execute()
732 static size_t ovs_flow_cmd_msg_size(const struct sw_flow_actions *acts, in ovs_flow_cmd_msg_size() argument
756 len += nla_total_size(acts->orig_len); in ovs_flow_cmd_msg_size()
883 static struct sk_buff *ovs_flow_cmd_alloc_info(const struct sw_flow_actions *acts, in ovs_flow_cmd_alloc_info() argument
895 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info()
937 struct sw_flow_actions *acts; in ovs_flow_cmd_new() local
986 &new_flow->key, &acts, log); in ovs_flow_cmd_new()
992 reply = ovs_flow_cmd_alloc_info(acts, in ovs_flow_cmd_new()
1105 struct sw_flow_actions *acts; get_flow_actions() local
1134 ovs_nla_init_match_and_action(struct net *net, struct sw_flow_match *match, struct sw_flow_key *key, struct nlattr **a, struct sw_flow_actions **acts, bool log) ovs_nla_init_match_and_action() argument
1183 struct sw_flow_actions *old_acts = NULL, *acts = NULL; ovs_flow_cmd_set() local
[all...]
H A Dconntrack.h51 struct sw_flow_actions **acts, bool log) in ovs_ct_copy_action()
49 ovs_ct_copy_action(struct net *net, const struct nlattr *nla, const struct sw_flow_key *key, struct sw_flow_actions **acts, bool log) ovs_ct_copy_action() argument
H A Dflow_netlink.c2428 struct sw_flow_actions *acts; in reserve_sfa_size() local
2448 acts = nla_alloc_flow_actions(new_acts_size); in reserve_sfa_size()
2449 if (IS_ERR(acts)) in reserve_sfa_size()
2450 return (void *)acts; in reserve_sfa_size()
2452 memcpy(acts->actions, (*sfa)->actions, (*sfa)->actions_len); in reserve_sfa_size()
2453 acts->actions_len = (*sfa)->actions_len; in reserve_sfa_size()
2454 acts->orig_len = (*sfa)->orig_len; in reserve_sfa_size()
2456 *sfa = acts; in reserve_sfa_size()
H A Dactions.c1576 const struct sw_flow_actions *acts, in ovs_execute_actions()
1590 OVS_CB(skb)->acts_origlen = acts->orig_len; in ovs_execute_actions()
1592 acts->actions, acts->actions_len); in ovs_execute_actions()
1575 ovs_execute_actions(struct datapath *dp, struct sk_buff *skb, const struct sw_flow_actions *acts, struct sw_flow_key *key) ovs_execute_actions() argument
/kernel/linux/linux-6.6/net/openvswitch/
H A Ddatapath.c596 struct sw_flow_actions *acts; in ovs_packet_cmd_execute() local
649 &flow->key, &acts, log); in ovs_packet_cmd_execute()
653 rcu_assign_pointer(flow->sf_acts, acts); in ovs_packet_cmd_execute()
771 static size_t ovs_flow_cmd_msg_size(const struct sw_flow_actions *acts, in ovs_flow_cmd_msg_size() argument
795 len += nla_total_size(acts->orig_len); in ovs_flow_cmd_msg_size()
922 static struct sk_buff *ovs_flow_cmd_alloc_info(const struct sw_flow_actions *acts, in ovs_flow_cmd_alloc_info() argument
934 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info()
976 struct sw_flow_actions *acts; in ovs_flow_cmd_new() local
1025 &new_flow->key, &acts, log); in ovs_flow_cmd_new()
1031 reply = ovs_flow_cmd_alloc_info(acts, in ovs_flow_cmd_new()
1144 struct sw_flow_actions *acts; get_flow_actions() local
1173 ovs_nla_init_match_and_action(struct net *net, struct sw_flow_match *match, struct sw_flow_key *key, struct nlattr **a, struct sw_flow_actions **acts, bool log) ovs_nla_init_match_and_action() argument
1222 struct sw_flow_actions *old_acts = NULL, *acts = NULL; ovs_flow_cmd_set() local
[all...]
H A Dconntrack.h52 struct sw_flow_actions **acts, bool log) in ovs_ct_copy_action()
50 ovs_ct_copy_action(struct net *net, const struct nlattr *nla, const struct sw_flow_key *key, struct sw_flow_actions **acts, bool log) ovs_ct_copy_action() argument
H A Dflow_netlink.c2459 struct sw_flow_actions *acts; in reserve_sfa_size() local
2479 acts = nla_alloc_flow_actions(new_acts_size); in reserve_sfa_size()
2480 if (IS_ERR(acts)) in reserve_sfa_size()
2481 return (void *)acts; in reserve_sfa_size()
2483 memcpy(acts->actions, (*sfa)->actions, (*sfa)->actions_len); in reserve_sfa_size()
2484 acts->actions_len = (*sfa)->actions_len; in reserve_sfa_size()
2485 acts->orig_len = (*sfa)->orig_len; in reserve_sfa_size()
2487 *sfa = acts; in reserve_sfa_size()
H A Dactions.c1613 const struct sw_flow_actions *acts, in ovs_execute_actions()
1627 OVS_CB(skb)->acts_origlen = acts->orig_len; in ovs_execute_actions()
1629 acts->actions, acts->actions_len); in ovs_execute_actions()
1612 ovs_execute_actions(struct datapath *dp, struct sk_buff *skb, const struct sw_flow_actions *acts, struct sw_flow_key *key) ovs_execute_actions() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dpost_act.c178 struct mlx5e_tc_mod_hdr_acts *acts) in mlx5e_tc_post_act_set_handle()
180 return mlx5e_tc_match_to_reg_set(dev, acts, handle->ns_type, FTEID_TO_REG, handle->id); in mlx5e_tc_post_act_set_handle()
176 mlx5e_tc_post_act_set_handle(struct mlx5_core_dev *dev, struct mlx5e_post_act_handle *handle, struct mlx5e_tc_mod_hdr_acts *acts) mlx5e_tc_post_act_set_handle() argument
H A Dpost_act.h41 struct mlx5e_tc_mod_hdr_acts *acts);
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c1422 * @acts: table of interrupt actions
1434 const struct intr_info *acts, in t3_handle_intr_status()
1440 for (; acts->mask; ++acts) { in t3_handle_intr_status()
1441 if (!(status & acts->mask)) in t3_handle_intr_status()
1443 if (acts->fatal) { in t3_handle_intr_status()
1446 acts->msg, status & acts->mask); in t3_handle_intr_status()
1447 status &= ~acts->mask; in t3_handle_intr_status()
1448 } else if (acts in t3_handle_intr_status()
1432 t3_handle_intr_status(struct adapter *adapter, unsigned int reg, unsigned int mask, const struct intr_info *acts, unsigned long *stats) t3_handle_intr_status() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c1357 * @acts: table of interrupt actions
1369 const struct intr_info *acts, in t3_handle_intr_status()
1375 for (; acts->mask; ++acts) { in t3_handle_intr_status()
1376 if (!(status & acts->mask)) in t3_handle_intr_status()
1378 if (acts->fatal) { in t3_handle_intr_status()
1381 acts->msg, status & acts->mask); in t3_handle_intr_status()
1382 status &= ~acts->mask; in t3_handle_intr_status()
1383 } else if (acts in t3_handle_intr_status()
1367 t3_handle_intr_status(struct adapter *adapter, unsigned int reg, unsigned int mask, const struct intr_info *acts, unsigned long *stats) t3_handle_intr_status() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
H A Dcsio_hw.c3103 * @acts: table of interrupt actions
3114 const struct intr_info *acts) in csio_handle_intr_status()
3120 for ( ; acts->mask; ++acts) { in csio_handle_intr_status()
3121 if (!(status & acts->mask)) in csio_handle_intr_status()
3123 if (acts->fatal) { in csio_handle_intr_status()
3126 acts->msg, status & acts->mask); in csio_handle_intr_status()
3127 } else if (acts->msg) in csio_handle_intr_status()
3129 acts in csio_handle_intr_status()
3113 csio_handle_intr_status(struct csio_hw *hw, unsigned int reg, const struct intr_info *acts) csio_handle_intr_status() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/csiostor/
H A Dcsio_hw.c3103 * @acts: table of interrupt actions
3114 const struct intr_info *acts) in csio_handle_intr_status()
3120 for ( ; acts->mask; ++acts) { in csio_handle_intr_status()
3121 if (!(status & acts->mask)) in csio_handle_intr_status()
3123 if (acts->fatal) { in csio_handle_intr_status()
3126 acts->msg, status & acts->mask); in csio_handle_intr_status()
3127 } else if (acts->msg) in csio_handle_intr_status()
3129 acts in csio_handle_intr_status()
3113 csio_handle_intr_status(struct csio_hw *hw, unsigned int reg, const struct intr_info *acts) csio_handle_intr_status() argument
[all...]
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/
H A Dfskeleton.S209 | _fpsp_fline() distinguishes between the three and acts appropriately. F-Line
223 | _fpsp_fline() distinguishes between the three and acts appropriately. FPU disabled
/kernel/linux/linux-6.6/arch/m68k/ifpsp060/
H A Dfskeleton.S209 | _fpsp_fline() distinguishes between the three and acts appropriately. F-Line
223 | _fpsp_fline() distinguishes between the three and acts appropriately. FPU disabled
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
H A Doffload.c828 nfp_fl_verify_post_tun_acts(char *acts, int len, struct nfp_fl_push_vlan **vlan) in nfp_fl_verify_post_tun_acts() argument
834 a = (struct nfp_fl_act_head *)&acts[act_off]; in nfp_fl_verify_post_tun_acts()
852 nfp_fl_push_vlan_after_tun(char *acts, int len, struct nfp_fl_push_vlan *vlan) in nfp_fl_push_vlan_after_tun() argument
859 a = (struct nfp_fl_act_head *)&acts[act_off]; in nfp_fl_push_vlan_after_tun()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
H A Doffload.c826 nfp_fl_verify_post_tun_acts(char *acts, int len, struct nfp_fl_push_vlan **vlan) in nfp_fl_verify_post_tun_acts() argument
832 a = (struct nfp_fl_act_head *)&acts[act_off]; in nfp_fl_verify_post_tun_acts()
850 nfp_fl_push_vlan_after_tun(char *acts, int len, struct nfp_fl_push_vlan *vlan) in nfp_fl_push_vlan_after_tun() argument
857 a = (struct nfp_fl_act_head *)&acts[act_off]; in nfp_fl_push_vlan_after_tun()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c4307 * @acts: table of interrupt actions
4317 const struct intr_info *acts) in t4_handle_intr_status()
4323 for ( ; acts->mask; ++acts) { in t4_handle_intr_status()
4324 if (!(status & acts->mask)) in t4_handle_intr_status()
4326 if (acts->fatal) { in t4_handle_intr_status()
4328 dev_alert(adapter->pdev_dev, "%s (0x%x)\n", acts->msg, in t4_handle_intr_status()
4329 status & acts->mask); in t4_handle_intr_status()
4330 } else if (acts->msg && printk_ratelimit()) in t4_handle_intr_status()
4331 dev_warn(adapter->pdev_dev, "%s (0x%x)\n", acts in t4_handle_intr_status()
4316 t4_handle_intr_status(struct adapter *adapter, unsigned int reg, const struct intr_info *acts) t4_handle_intr_status() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c4277 * @acts: table of interrupt actions
4287 const struct intr_info *acts) in t4_handle_intr_status()
4293 for ( ; acts->mask; ++acts) { in t4_handle_intr_status()
4294 if (!(status & acts->mask)) in t4_handle_intr_status()
4296 if (acts->fatal) { in t4_handle_intr_status()
4298 dev_alert(adapter->pdev_dev, "%s (0x%x)\n", acts->msg, in t4_handle_intr_status()
4299 status & acts->mask); in t4_handle_intr_status()
4300 } else if (acts->msg && printk_ratelimit()) in t4_handle_intr_status()
4301 dev_warn(adapter->pdev_dev, "%s (0x%x)\n", acts in t4_handle_intr_status()
4286 t4_handle_intr_status(struct adapter *adapter, unsigned int reg, const struct intr_info *acts) t4_handle_intr_status() argument
[all...]

Completed in 58 milliseconds

12