/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | mod_hdr.c | 10 int num_actions; member in struct:mod_hdr_key 30 key->num_actions * MLX5_MH_ACT_SZ, 0); 35 if (a->num_actions != b->num_actions) 39 a->num_actions * MLX5_MH_ACT_SZ); 77 int num_actions, actions_size, err; local 82 num_actions = mod_hdr_acts->num_actions; 83 actions_size = MLX5_MH_ACT_SZ * num_actions; 86 key.num_actions [all...] |
H A D | mod_hdr.h | 15 int num_actions; member in struct:mlx5e_tc_mod_hdr_acts
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | smfs.h | 30 size_t num_actions, struct mlx5dr_action *actions[],
|
H A D | smfs.c | 52 size_t num_actions, struct mlx5dr_action *actions[], 60 return mlx5dr_rule_create(matcher, &value, num_actions, actions, flow_source); 51 mlx5_smfs_rule_create(struct mlx5dr_matcher *matcher, struct mlx5_flow_spec *spec, size_t num_actions, struct mlx5dr_action *actions[], u32 flow_source) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | fs_dr.h | 21 int num_actions; member in struct:mlx5_fs_dr_rule
|
H A D | fs_dr.c | 277 int num_actions = 0; local 337 actions[num_actions++] = tmp_action; 353 actions[num_actions++] = 367 actions[num_actions++] = tmp_action; 378 actions[num_actions++] = tmp_action; 382 actions[num_actions++] = 392 actions[num_actions++] = tmp_action; 402 actions[num_actions++] = tmp_action; 406 actions[num_actions++] = 429 actions[num_actions 691 mlx5_cmd_dr_modify_header_alloc(struct mlx5_flow_root_namespace *ns, u8 namespace, u8 num_actions, void *modify_actions, struct mlx5_modify_hdr *modify_hdr) argument [all...] |
H A D | dr_rule.c | 589 size_t num_actions, 595 for (i = 0; i < num_actions; i++) { 1116 size_t num_actions, 1174 num_actions, hw_ste_arr, 1258 size_t num_actions, 1270 num_actions, actions); 1275 num_actions, actions); 1289 size_t num_actions, 1309 ret = dr_rule_add_action_members(rule, num_actions, actions); 1317 num_actions, action 588 dr_rule_add_action_members(struct mlx5dr_rule *rule, size_t num_actions, struct mlx5dr_action *actions[]) argument 1113 dr_rule_create_rule_nic(struct mlx5dr_rule *rule, struct mlx5dr_rule_rx_tx *nic_rule, struct mlx5dr_match_param *param, size_t num_actions, struct mlx5dr_action *actions[]) argument 1256 dr_rule_create_rule_fdb(struct mlx5dr_rule *rule, struct mlx5dr_match_param *param, size_t num_actions, struct mlx5dr_action *actions[]) argument 1287 dr_rule_create_rule(struct mlx5dr_matcher *matcher, struct mlx5dr_match_parameters *value, size_t num_actions, struct mlx5dr_action *actions[], u32 flow_source) argument 1350 mlx5dr_rule_create(struct mlx5dr_matcher *matcher, struct mlx5dr_match_parameters *value, size_t num_actions, struct mlx5dr_action *actions[], u32 flow_source) argument [all...] |
H A D | mlx5dr.h | 76 size_t num_actions,
|
/linux-master/lib/kunit/ |
H A D | kunit-test.c | 419 int num_actions = 0; local 421 kunit_add_action(test, increment_int, &num_actions); 422 KUNIT_EXPECT_EQ(test, num_actions, 0); 424 KUNIT_EXPECT_EQ(test, num_actions, 1); 428 KUNIT_EXPECT_EQ(test, num_actions, 1); 431 kunit_add_action(test, increment_int, &num_actions); 432 kunit_add_action(test, increment_int, &num_actions); 434 KUNIT_EXPECT_EQ(test, num_actions, 3); 438 int num_actions = 0; local 440 kunit_add_action(test, increment_int, &num_actions); 449 int num_actions = 0; local [all...] |
/linux-master/net/core/ |
H A D | flow_offload.c | 10 struct flow_rule *flow_rule_alloc(unsigned int num_actions) argument 15 rule = kzalloc(struct_size(rule, action.entries, num_actions), 20 rule->action.num_entries = num_actions; 24 for (i = 0; i < num_actions; i++) 31 struct flow_offload_action *offload_action_alloc(unsigned int num_actions) argument 36 fl_action = kzalloc(struct_size(fl_action, action.entries, num_actions), 41 fl_action->action.num_entries = num_actions; 45 for (i = 0; i < num_actions; i++)
|
/linux-master/net/netfilter/ |
H A D | nf_dup_netdev.c | 84 entry = &flow->rule->action.entries[ctx->num_actions++];
|
H A D | nf_tables_offload.c | 10 static struct nft_flow_rule *nft_flow_rule_alloc(int num_actions) argument 18 flow->rule = flow_rule_alloc(num_actions); 93 int num_actions = 0, err; local 100 num_actions++; 105 if (num_actions == 0) 108 flow = nft_flow_rule_alloc(num_actions);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | ct_fs_smfs.c | 304 int num_actions = 0, err; local 320 actions[num_actions++] = smfs_rule->count_action; 321 actions[num_actions++] = attr->modify_hdr->action.dr_action; 322 actions[num_actions++] = fs_smfs->fwd_action; 337 rule = mlx5_smfs_rule_create(smfs_matcher->dr_matcher, spec, num_actions, actions,
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_u32.c | 94 unsigned int num_actions = 0; local 105 if (num_actions) 111 num_actions++; 138 num_actions++;
|
/linux-master/include/net/netfilter/ |
H A D | nf_tables_offload.h | 33 unsigned int num_actions; member in struct:nft_offload_ctx
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_cmd.h | 88 u8 namespace, u8 num_actions,
|
H A D | fs_cmd.c | 129 u8 namespace, u8 num_actions, 947 u8 namespace, u8 num_actions, 989 if (num_actions > max_actions) { 991 num_actions, max_actions); 995 actions_size = MLX5_UN_SZ_BYTES(set_add_copy_action_in_auto) * num_actions; 1005 MLX5_SET(alloc_modify_header_context_in, in, num_of_actions, num_actions); 128 mlx5_cmd_stub_modify_header_alloc(struct mlx5_flow_root_namespace *ns, u8 namespace, u8 num_actions, void *modify_actions, struct mlx5_modify_hdr *modify_hdr) argument 946 mlx5_cmd_modify_header_alloc(struct mlx5_flow_root_namespace *ns, u8 namespace, u8 num_actions, void *modify_actions, struct mlx5_modify_hdr *modify_hdr) argument
|
/linux-master/drivers/counter/ |
H A D | ftm-quaddec.c | 230 .num_actions = ARRAY_SIZE(ftm_quaddec_synapse_actions), 235 .num_actions = ARRAY_SIZE(ftm_quaddec_synapse_actions),
|
H A D | ti-eqep.c | 334 .num_actions = ARRAY_SIZE(ti_eqep_position_synapse_actions), 339 .num_actions = ARRAY_SIZE(ti_eqep_position_synapse_actions),
|
H A D | i8254.c | 342 .num_actions = ARRAY_SIZE(i8254_clk_actions), \ 347 .num_actions = ARRAY_SIZE(i8254_gate_actions), \
|
H A D | stm32-timer-cnt.c | 293 .num_actions = ARRAY_SIZE(stm32_synapse_actions), 298 .num_actions = ARRAY_SIZE(stm32_synapse_actions),
|
H A D | microchip-tcb-capture.c | 58 .num_actions = ARRAY_SIZE(mchp_tc_synapse_actions), 63 .num_actions = ARRAY_SIZE(mchp_tc_synapse_actions),
|
H A D | rz-mtu3-cnt.c | 720 .num_actions = ARRAY_SIZE(rz_mtu3_synapse_actions), 725 .num_actions = ARRAY_SIZE(rz_mtu3_synapse_actions), 733 .num_actions = ARRAY_SIZE(rz_mtu3_synapse_actions), 738 .num_actions = ARRAY_SIZE(rz_mtu3_synapse_actions), 743 .num_actions = ARRAY_SIZE(rz_mtu3_synapse_actions), 748 .num_actions = ARRAY_SIZE(rz_mtu3_synapse_actions),
|
H A D | stm32-lptimer-cnt.c | 376 .num_actions = ARRAY_SIZE(stm32_lptim_cnt_synapse_actions), 381 .num_actions = ARRAY_SIZE(stm32_lptim_cnt_synapse_actions),
|
H A D | interrupt-cnt.c | 206 priv->synapses.num_actions = ARRAY_SIZE(interrupt_cnt_synapse_actions);
|