Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 259) sorted by relevance

1234567891011

/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_flow_os.h198 return (*action) ? 0 : -1; in mlx5_flow_os_create_flow_action_packet_reformat()
223 void **action) in mlx5_flow_os_create_flow_action_modify_header() argument
232 return (*action) ? 0 : -1; in mlx5_flow_os_create_flow_action_modify_header()
250 return (*action) ? 0 : -1; in mlx5_flow_os_create_flow_action_dest_flow_tbl()
268 void **action) in mlx5_flow_os_create_flow_action_dest_port() argument
294 void **action) in mlx5_flow_os_create_flow_action_push_vlan() argument
315 void **action) in mlx5_flow_os_create_flow_action_count() argument
384 void **action) in mlx5_flow_os_create_flow_action_dest_devx_tir() argument
392 *action = 0; in mlx5_flow_os_create_flow_action_dest_devx_tir()
411 void **action) in mlx5_os_flow_dr_create_flow_action_sampler() argument
[all …]
/dpdk/lib/pipeline/
H A Drte_port_in_action.c95 switch (action) { in action_valid()
115 switch (action) { in action_cfg_size()
163 switch (action) { in action_data_size()
181 uint32_t action; in action_data_offset_set() local
186 for (action = 0; action < RTE_PORT_IN_ACTION_MAX; action++) in action_data_offset_set()
338 if (action == NULL) in rte_port_in_action_create()
350 return action; in rte_port_in_action_create()
361 if ((action == NULL) || in rte_port_in_action_apply()
507 if ((action == NULL) || in rte_port_in_action_params_get()
523 if (action == NULL) in rte_port_in_action_free()
[all …]
H A Drte_table_action.c36 data->action = p->action; in fwd_apply()
2363 for (action = 0; action < RTE_TABLE_ACTION_MAX; action++) in action_data_offset_set()
2939 action, in pkt_work()
3001 action, in pkt_work()
3180 action, in pkt4_work()
3183 action, in pkt4_work()
3186 action, in pkt4_work()
3189 action, in pkt4_work()
3335 action, in pkt4_work()
3338 action, in pkt4_work()
[all …]
H A Drte_table_action.h126 enum rte_pipeline_action action; member
917 rte_table_action_free(struct rte_table_action *action);
931 rte_table_action_table_params_get(struct rte_table_action *action,
954 rte_table_action_apply(struct rte_table_action *action,
974 rte_table_action_dscp_table_update(struct rte_table_action *action,
994 rte_table_action_meter_profile_add(struct rte_table_action *action,
1011 rte_table_action_meter_profile_delete(struct rte_table_action *action,
1043 rte_table_action_meter_read(struct rte_table_action *action,
1070 rte_table_action_ttl_read(struct rte_table_action *action,
1096 rte_table_action_stats_read(struct rte_table_action *action,
[all …]
/dpdk/drivers/net/mlx5/windows/
H A Dmlx5_flow_os.h67 switch (action) { in mlx5_flow_os_action_supported()
221 *action = NULL; in mlx5_flow_os_create_flow_action_dest_port()
245 *action = NULL; in mlx5_flow_os_create_flow_action_push_vlan()
269 *action = NULL; in mlx5_flow_os_create_flow_action_count()
289 *action = NULL; in mlx5_flow_os_create_flow_action_tag()
306 *action = NULL; in mlx5_flow_os_create_flow_action_drop()
323 *action = 0; in mlx5_flow_os_create_flow_action_default_miss()
342 void **action) in mlx5_os_flow_dr_create_flow_action_sampler() argument
345 *action = NULL; in mlx5_os_flow_dr_create_flow_action_sampler()
370 void **action) in mlx5_os_flow_dr_create_flow_action_dest_array() argument
[all …]
/dpdk/examples/pipeline/examples/
H A Dfib_routing_table.txt5 match 0 0x00000000/0xC0000000 action nexthop_group_action nexthop_group_id 0
6 match 0 0x40000000/0xC0000000 action nexthop_group_action nexthop_group_id 1
7 match 0 0x80000000/0xC0000000 action nexthop_group_action nexthop_group_id 2
8 match 0 0xC0000000/0xC0000000 action nexthop_group_action nexthop_group_id 3
11 match 1 0x00000000/0xC0000000 action nexthop_group_action nexthop_group_id 4
12 match 1 0x40000000/0xC0000000 action nexthop_group_action nexthop_group_id 5
13 match 1 0x80000000/0xC0000000 action nexthop_group_action nexthop_group_id 6
14 match 1 0xC0000000/0xC0000000 action nexthop_group_action nexthop_group_id 7
17 match 2 0x00000000/0xC0000000 action nexthop_group_action nexthop_group_id 8
18 match 2 0x40000000/0xC0000000 action nexthop_group_action nexthop_group_id 9
[all …]
H A Dfib_nexthop_table.txt4 match 0 action nexthop_action ethernet_dst_addr 0xaabbcc000000 ethernet_src_addr 0xddeeff000000 et…
5 match 1 action nexthop_action ethernet_dst_addr 0xaabbcc000001 ethernet_src_addr 0xddeeff000001 et…
6 match 2 action nexthop_action ethernet_dst_addr 0xaabbcc000002 ethernet_src_addr 0xddeeff000002 et…
7 match 3 action nexthop_action ethernet_dst_addr 0xaabbcc000003 ethernet_src_addr 0xddeeff000003 et…
9 match 4 action nexthop_action ethernet_dst_addr 0xaabbcc000004 ethernet_src_addr 0xddeeff000004 et…
10 match 5 action nexthop_action ethernet_dst_addr 0xaabbcc000005 ethernet_src_addr 0xddeeff000005 et…
11 match 6 action nexthop_action ethernet_dst_addr 0xaabbcc000006 ethernet_src_addr 0xddeeff000006 et…
12 match 7 action nexthop_action ethernet_dst_addr 0xaabbcc000007 ethernet_src_addr 0xddeeff000007 et…
14 match 8 action nexthop_action ethernet_dst_addr 0xaabbcc000008 ethernet_src_addr 0xddeeff000008 et…
15 match 9 action nexthop_action ethernet_dst_addr 0xaabbcc000009 ethernet_src_addr 0xddeeff000009 et…
[all …]
H A Dvxlan_table.txt1 match 0xaabbccdd0000 action vxlan_encap ethernet_dst_addr 0xa0a1a2a30000 ethernet_src_addr 0xb0b1b2…
2 match 0xaabbccdd0001 action vxlan_encap ethernet_dst_addr 0xa0a1a2a30001 ethernet_src_addr 0xb0b1b2…
3 match 0xaabbccdd0002 action vxlan_encap ethernet_dst_addr 0xa0a1a2a30002 ethernet_src_addr 0xb0b1b2…
4 match 0xaabbccdd0003 action vxlan_encap ethernet_dst_addr 0xa0a1a2a30003 ethernet_src_addr 0xb0b1b2…
5 match 0xaabbccdd0004 action vxlan_encap ethernet_dst_addr 0xa0a1a2a30004 ethernet_src_addr 0xb0b1b2…
6 match 0xaabbccdd0005 action vxlan_encap ethernet_dst_addr 0xa0a1a2a30005 ethernet_src_addr 0xb0b1b2…
7 match 0xaabbccdd0006 action vxlan_encap ethernet_dst_addr 0xa0a1a2a30006 ethernet_src_addr 0xb0b1b2…
8 match 0xaabbccdd0007 action vxlan_encap ethernet_dst_addr 0xa0a1a2a30007 ethernet_src_addr 0xb0b1b2…
9 match 0xaabbccdd0008 action vxlan_encap ethernet_dst_addr 0xa0a1a2a30008 ethernet_src_addr 0xb0b1b2…
10 match 0xaabbccdd0009 action vxlan_encap ethernet_dst_addr 0xa0a1a2a30009 ethernet_src_addr 0xb0b1b2…
[all …]
H A Dlearner.spec8 ; takes place by having the default action (i.e. the table action which is executed on lookup miss)
9 ; explicitly add to the table with a specific action the key that just missed the lookup operation.
14 ; by the IPv4 destination address. The forwarding action assigned to each new connection gets the
51 // Arguments for the "fwd_action" action.
69 action fwd_action args instanceof fwd_action_args_t {
74 action learn_action args none {
84 // Add the current lookup key to the table with fwd_action as the key action. The action
/dpdk/drivers/net/ice/base/
H A Dice_pg_cam.c37 struct ice_pg_cam_action *action) in _pg_cam_action_dump() argument
60 _pg_cam_action_dump(hw, &item->action); in ice_pg_cam_dump()
72 _pg_cam_action_dump(hw, &item->action); in ice_pg_nm_cam_dump()
90 action->next_node = (u16)(data & 0x7ff); in _pg_cam_action_init()
92 action->is_pg = ((data >> 19) & 0x1) != 0; in _pg_cam_action_init()
93 action->proto_id = ((data >> 23) & 0xff); in _pg_cam_action_init()
98 action->ho_inc = ((data >> 42) & 0x1ff); in _pg_cam_action_init()
173 _pg_cam_action_init(&ci->action, d64); in _pg_cam_parse_item()
193 _pg_cam_action_init(&ci->action, d64); in _pg_sp_cam_parse_item()
216 _pg_cam_action_init(&ci->action, d64); in _pg_nm_cam_parse_item()
[all …]
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_glue.c225 free(action); in mlx5_glue_destroy_flow_action()
229 (void)action; in mlx5_glue_destroy_flow_action()
688 action = malloc(sizeof(*action)); in mlx5_glue_dv_create_flow_action_counter()
689 if (!action) in mlx5_glue_dv_create_flow_action_counter()
712 action = malloc(sizeof(*action)); in mlx5_glue_dv_create_flow_action_dest_ibv_qp()
713 if (!action) in mlx5_glue_dv_create_flow_action_dest_ibv_qp()
757 action = malloc(sizeof(*action)); in mlx5_glue_dv_create_flow_action_modify_header()
758 if (!action) in mlx5_glue_dv_create_flow_action_modify_header()
797 action = malloc(sizeof(*action)); in mlx5_glue_dv_create_flow_action_packet_reformat()
798 if (!action) in mlx5_glue_dv_create_flow_action_packet_reformat()
[all …]
/dpdk/examples/ip_pipeline/examples/
H A Droute_ecmp.cli22 table action profile APRT ipv4 offset 270 fwd balance offset 278 mask 00FF0000FFFFFFFFFFFFFFFFFFFFF…
23 table action profile APNH ipv4 offset 270 fwd encap ether
38 pipeline PIPELINE0 table match lpm ipv4 offset 286 size 4K action APRT
39 pipeline PIPELINE0 table match array offset 256 size 64K action APNH
48 pipeline PIPELINE0 table 0 rule add match default action fwd port 4
49 pipeline PIPELINE0 table 0 rule add match lpm ipv4 100.0.0.0 10 action fwd table 1 balance 0 0 0 0 …
50 pipeline PIPELINE0 table 0 rule add match lpm ipv4 100.64.0.0 10 action fwd table 1 balance 1 1 1 1…
51 pipeline PIPELINE0 table 0 rule add match lpm ipv4 100.128.0.0 10 action fwd table 1 balance 2 2 2 …
52 pipeline PIPELINE0 table 0 rule add match lpm ipv4 100.192.0.0 10 action fwd table 1 balance 3 3 3 …
54 pipeline PIPELINE0 table 1 rule add match array 0 action fwd port 0 encap ether a0:a1:a2:a3:a4:a5 0…
[all …]
H A Dtap.cli37 table action profile AP0 ipv4 offset 270 fwd
51 pipeline PIPELINE0 table match stub action AP0
52 pipeline PIPELINE0 table match stub action AP0
53 pipeline PIPELINE0 table match stub action AP0
54 pipeline PIPELINE0 table match stub action AP0
63 pipeline PIPELINE0 table 0 rule add match default action fwd port 0
64 pipeline PIPELINE0 table 1 rule add match default action fwd port 1
65 pipeline PIPELINE0 table 2 rule add match default action fwd port 2
66 pipeline PIPELINE0 table 3 rule add match default action fwd port 3
H A Dkni.cli40 table action profile AP0 ipv4 offset 270 fwd
54 pipeline PIPELINE0 table match stub action AP0
55 pipeline PIPELINE0 table match stub action AP0
56 pipeline PIPELINE0 table match stub action AP0
57 pipeline PIPELINE0 table match stub action AP0
66 pipeline PIPELINE0 table 0 rule add match default action fwd port 0
67 pipeline PIPELINE0 table 1 rule add match default action fwd port 1
68 pipeline PIPELINE0 table 2 rule add match default action fwd port 2
69 pipeline PIPELINE0 table 3 rule add match default action fwd port 3
H A Dflow_crypto.cli30 table action profile AP0 ipv4 offset 270 fwd sym_crypto dev CRYPTO0 offset 1792
31 table action profile AP1 ipv4 offset 270 fwd
42 …PIPELINE0 table match hash ext key 8 mask FFFFFFFF00000000 offset 282 buckets 1K size 4K action AP0
43 pipeline PIPELINE0 table match stub action AP1
50 pipeline PIPELINE0 table 0 rule add match default action fwd port 2
53 pipeline PIPELINE0 table 0 rule add match hash ipv4_addr 100.0.0.10 action fwd port 0 sym_crypto en…
55 #pipeline PIPELINE0 table 0 rule add match hash ipv4_addr 100.0.0.10 action fwd port 0 sym_crypto d…
57 pipeline PIPELINE0 table 1 rule add match default action fwd port 1
H A Dfirewall.cli32 table action profile AP0 ipv4 offset 270 fwd
46 pipeline PIPELINE0 table match acl ipv4 offset 270 size 4K action AP0
55 pipeline PIPELINE0 table 0 rule add match default action fwd drop
56 …ble 0 rule add match acl priority 0 ipv4 0.0.0.0 0 100.0.0.0 10 0 65535 0 65535 6 action fwd port 0
57 …le 0 rule add match acl priority 0 ipv4 0.0.0.0 0 100.64.0.0 10 0 65535 0 65535 6 action fwd port 1
58 …e 0 rule add match acl priority 0 ipv4 0.0.0.0 0 100.128.0.0 10 0 65535 0 65535 6 action fwd port 2
59 …e 0 rule add match acl priority 0 ipv4 0.0.0.0 0 100.192.0.0 10 0 65535 0 65535 6 action fwd port 3
/dpdk/examples/flow_filtering/
H A Dflow_blocks.c48 struct rte_flow_action action[MAX_ACTION_NUM]; in generate_ipv4_flow() local
57 memset(action, 0, sizeof(action)); in generate_ipv4_flow()
68 action[0].type = RTE_FLOW_ACTION_TYPE_QUEUE; in generate_ipv4_flow()
69 action[0].conf = &queue; in generate_ipv4_flow()
70 action[1].type = RTE_FLOW_ACTION_TYPE_END; in generate_ipv4_flow()
105 res = rte_flow_validate(port_id, &attr, pattern, action, error); in generate_ipv4_flow()
107 flow = rte_flow_create(port_id, &attr, pattern, action, error); in generate_ipv4_flow()
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_thread.c1134 if (action->fwd.action == RTE_PIPELINE_ACTION_PORT && in action_check()
1196 if (action->fwd.action == RTE_PIPELINE_ACTION_PORT && in action_default_check()
1308 memcpy(&req->table_rule_add.action, action, sizeof(*action)); in softnic_pipeline_table_rule_add()
1359 data_in->action = action->fwd.action; in softnic_pipeline_table_rule_add_default()
1360 if (action->fwd.action == RTE_PIPELINE_ACTION_PORT) in softnic_pipeline_table_rule_add_default()
1362 if (action->fwd.action == RTE_PIPELINE_ACTION_TABLE) in softnic_pipeline_table_rule_add_default()
1390 memcpy(&req->table_rule_add_default.action, action, sizeof(*action)); in softnic_pipeline_table_rule_add_default()
1542 req->table_rule_add_bulk.action = action; in softnic_pipeline_table_rule_add_bulk()
2621 data_in->action = action->fwd.action; in pipeline_msg_handle_table_rule_add_default()
2622 if (action->fwd.action == RTE_PIPELINE_ACTION_PORT) in pipeline_msg_handle_table_rule_add_default()
[all …]
H A Drte_eth_softnic_flow.c1181 action, in flow_rule_action_get()
1200 action, in flow_rule_action_get()
1207 action, in flow_rule_action_get()
1257 action, in flow_rule_action_get()
1264 action, in flow_rule_action_get()
1284 action, in flow_rule_action_get()
1298 action, in flow_rule_action_get()
1317 action, in flow_rule_action_get()
1843 action, in flow_rule_action_get()
1928 action, in pmd_flow_validate()
[all …]
/dpdk/examples/ip_pipeline/
H A Dthread.c1108 if ((action->fwd.action == RTE_PIPELINE_ACTION_PORT) && in action_check()
1356 memcpy(&rule->action, action, sizeof(*action)); in pipeline_table_rule_add()
1419 memcpy(&req->table_rule_add.action, action, sizeof(*action)); in pipeline_table_rule_add()
1467 memcpy(&rule->action, action, sizeof(*action)); in pipeline_table_rule_add_default()
1482 data_in->action = action->fwd.action; in pipeline_table_rule_add_default()
1483 if (action->fwd.action == RTE_PIPELINE_ACTION_PORT) in pipeline_table_rule_add_default()
1485 if (action->fwd.action == RTE_PIPELINE_ACTION_TABLE) in pipeline_table_rule_add_default()
1517 memcpy(&req->table_rule_add_default.action, action, sizeof(*action)); in pipeline_table_rule_add_default()
2772 data_in->action = action->fwd.action; in pipeline_msg_handle_table_rule_add_default()
2773 if (action->fwd.action == RTE_PIPELINE_ACTION_PORT) in pipeline_msg_handle_table_rule_add_default()
[all …]
/dpdk/lib/flow_classify/
H A Drte_flow_classify_parse.c13 static struct classify_action action; variable
56 return &action; in classify_get_flow_action()
475 memset(&action, 0, sizeof(action)); in classify_parse_ntuple_filter()
479 action.action_mask |= 1LLU << RTE_FLOW_ACTION_TYPE_COUNT; in classify_parse_ntuple_filter()
481 memcpy(&action.act.counter, count, sizeof(action.act.counter)); in classify_parse_ntuple_filter()
484 action.action_mask |= 1LLU << RTE_FLOW_ACTION_TYPE_MARK; in classify_parse_ntuple_filter()
486 memcpy(&action.act.mark, mark_spec, sizeof(action.act.mark)); in classify_parse_ntuple_filter()
501 action.action_mask |= 1LLU << RTE_FLOW_ACTION_TYPE_COUNT; in classify_parse_ntuple_filter()
503 memcpy(&action.act.counter, count, sizeof(action.act.counter)); in classify_parse_ntuple_filter()
506 action.action_mask |= 1LLU << RTE_FLOW_ACTION_TYPE_MARK; in classify_parse_ntuple_filter()
[all …]
/dpdk/doc/guides/tools/
H A Dflow-perf.rst249 Add RSS action to all flows actions,
254 Add queue action to all flows items,
267 Add jump action to all flows actions.
272 Add mark action to all flows actions.
277 Add count action to all flows actions.
280 Add set-meta action to all flows actions.
285 Add set-tag action to all flows actions.
293 Add drop action to all flows actions.
373 Add flag action to all flows actions.
376 Add raw encap action to all flows actions.
[all …]
/dpdk/drivers/net/ring/
H A Drte_eth_ring.c55 enum dev_action action; member
270 if (internals->action == DEV_CREATE) { in eth_dev_close()
369 internals->action = action; in do_eth_dev_ring_create()
500 rxtx[i] = (action == DEV_CREATE) ? in eth_dev_ring_create()
509 numa_node, action, eth_dev) < 0) in eth_dev_ring_create()
518 enum dev_action action; member
533 char *action; in parse_kvlist() local
556 action = strchr(node, ':'); in parse_kvlist()
557 if (!action) { in parse_kvlist()
563 *action = '\0'; in parse_kvlist()
[all …]
/dpdk/lib/eal/linux/
H A Deal_dev.c144 char action[EAL_UEV_MSG_ELEM_LEN]; in dev_uev_parse() local
149 memset(action, 0, EAL_UEV_MSG_ELEM_LEN); in dev_uev_parse()
174 strlcpy(action, buf, sizeof(action)); in dev_uev_parse()
203 if (!strncmp(action, "add", 3)) in dev_uev_parse()
205 else if (!strncmp(action, "remove", 6)) in dev_uev_parse()
397 struct sigaction action; in dev_sigbus_handler_register() local
406 action.sa_flags = SA_SIGINFO; in dev_sigbus_handler_register()
407 action.sa_mask = mask; in dev_sigbus_handler_register()
408 action.sa_sigaction = sigbus_handler; in dev_sigbus_handler_register()
409 sigbus_need_recover = !sigaction(SIGBUS, &action, &sigbus_action_old); in dev_sigbus_handler_register()
/dpdk/examples/ipsec-secgw/
H A Dipsec.c266 if (sec_cap->action == ips->type && in create_inline_session()
366 sa->action[1].conf = &action_rss; in create_inline_session()
386 sa->pattern, sa->action, in create_inline_session()
392 sa->action[1].conf = in create_inline_session()
397 sa->pattern, sa->action, in create_inline_session()
401 sa->action[1].conf = NULL; in create_inline_session()
403 sa->pattern, sa->action, in create_inline_session()
410 sa->action[1].type = in create_inline_session()
412 sa->action[2].type = in create_inline_session()
470 while (sec_cap->action != in create_inline_session()
[all …]

1234567891011