| /dpdk/lib/table/ |
| H A D | rte_table_acl.c | 107 acl->action_table = &acl->memory[0]; in rte_table_acl_create() 118 acl->acl_params.name = acl->name[acl->name_id]; in rte_table_acl_create() 133 return acl; in rte_table_acl_create() 286 *entry_ptr = &acl->memory[i * acl->entry_size]; in rte_table_acl_entry_add() 309 acl->acl_params.name = acl->name[acl->name_id]; in rte_table_acl_entry_add() 389 acl->acl_params.name = acl->name[acl->name_id]; in rte_table_acl_entry_delete() 406 memcpy(entry, &acl->memory[pos * acl->entry_size], in rte_table_acl_entry_delete() 561 acl->acl_params.name = acl->name[acl->name_id]; in rte_table_acl_entry_add_bulk() 679 acl->acl_params.name = acl->name[acl->name_id]; in rte_table_acl_entry_delete_bulk() 778 memcpy(stats, &acl->stats, sizeof(acl->stats)); in rte_table_acl_stats_read() [all …]
|
| H A D | meson.build | 44 deps += ['mbuf', 'port', 'lpm', 'hash', 'acl']
|
| /dpdk/examples/ip_pipeline/examples/ |
| H A D | firewall.cli | 46 pipeline PIPELINE0 table match acl ipv4 offset 270 size 4K action AP0 56 pipeline PIPELINE0 table 0 rule add match acl priority 0 ipv4 0.0.0.0 0 100.0.0.0 10 0 65535 0 6553… 57 pipeline PIPELINE0 table 0 rule add match acl priority 0 ipv4 0.0.0.0 0 100.64.0.0 10 0 65535 0 655… 58 pipeline PIPELINE0 table 0 rule add match acl priority 0 ipv4 0.0.0.0 0 100.128.0.0 10 0 65535 0 65… 59 pipeline PIPELINE0 table 0 rule add match acl priority 0 ipv4 0.0.0.0 0 100.192.0.0 10 0 65535 0 65…
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_thread.c | 2227 mh->match.acl.sp0; in match_convert() 2229 mh->match.acl.sp1; in match_convert() 2232 mh->match.acl.dp0; in match_convert() 2234 mh->match.acl.dp1; in match_convert() 2255 mh->match.acl.sp0; in match_convert() 2257 mh->match.acl.sp1; in match_convert() 2260 mh->match.acl.dp0; in match_convert() 2262 mh->match.acl.dp1; in match_convert() 2324 mh->match.acl.sp0; in match_convert() 2326 mh->match.acl.sp1; in match_convert() [all …]
|
| H A D | rte_eth_softnic_flow.c | 702 rule_match->match.acl.ipv4.sa = in flow_rule_match_acl_get() 704 rule_match->match.acl.ipv4.da = in flow_rule_match_acl_get() 812 rule_match->match.acl.sp0 = sp0; in flow_rule_match_acl_get() 813 rule_match->match.acl.sp1 = sp1; in flow_rule_match_acl_get() 814 rule_match->match.acl.dp0 = dp0; in flow_rule_match_acl_get() 815 rule_match->match.acl.dp1 = dp1; in flow_rule_match_acl_get() 853 rule_match->match.acl.sp0 = sp0; in flow_rule_match_acl_get() 854 rule_match->match.acl.sp1 = sp1; in flow_rule_match_acl_get() 855 rule_match->match.acl.dp0 = dp0; in flow_rule_match_acl_get() 856 rule_match->match.acl.dp1 = dp1; in flow_rule_match_acl_get() [all …]
|
| H A D | rte_eth_softnic_pipeline.c | 811 struct rte_table_acl_params acl; in softnic_pipeline_table_create() member 856 if (params->match.acl.n_rules == 0) in softnic_pipeline_table_create() 859 pp.acl.name = name; in softnic_pipeline_table_create() 860 pp.acl.n_rules = params->match.acl.n_rules; in softnic_pipeline_table_create() 861 if (params->match.acl.ip_version) { in softnic_pipeline_table_create() 862 memcpy(&pp.acl.field_format, in softnic_pipeline_table_create() 865 pp.acl.n_rule_fields = in softnic_pipeline_table_create() 868 memcpy(&pp.acl.field_format, in softnic_pipeline_table_create() 871 pp.acl.n_rule_fields = in softnic_pipeline_table_create() 875 for (i = 0; i < pp.acl.n_rule_fields; i++) in softnic_pipeline_table_create() [all …]
|
| H A D | rte_eth_softnic_cli.c | 2725 p.match.acl.ip_version = 1; in cmd_pipeline_table() 2727 p.match.acl.ip_version = 0; in cmd_pipeline_table() 2751 if (softnic_parser_read_uint32(&p.match.acl.n_rules, in cmd_pipeline_table() 3421 if (softnic_parser_read_uint32(&m->match.acl.priority, in parse_match() 3430 m->match.acl.ip_version = 1; in parse_match() 3446 m->match.acl.ip_version = 0; in parse_match() 3452 memcpy(m->match.acl.ipv6.sa, saddr.s6_addr, 16); in parse_match() 3458 memcpy(m->match.acl.ipv6.da, daddr.s6_addr, 16); in parse_match() 3465 if (softnic_parser_read_uint32(&m->match.acl.sa_depth, in parse_match() 3471 if (softnic_parser_read_uint32(&m->match.acl.da_depth, in parse_match() [all …]
|
| H A D | rte_eth_softnic_internals.h | 500 struct softnic_table_acl_params acl; member 966 struct softnic_table_rule_match_acl acl; member
|
| /dpdk/examples/ip_pipeline/ |
| H A D | thread.c | 2375 mh->match.acl.sp0; in match_convert() 2377 mh->match.acl.sp1; in match_convert() 2380 mh->match.acl.dp0; in match_convert() 2382 mh->match.acl.dp1; in match_convert() 2403 mh->match.acl.sp0; in match_convert() 2405 mh->match.acl.sp1; in match_convert() 2408 mh->match.acl.dp0; in match_convert() 2410 mh->match.acl.dp1; in match_convert() 2473 mh->match.acl.sp0; in match_convert() 2475 mh->match.acl.sp1; in match_convert() [all …]
|
| H A D | pipeline.c | 786 struct rte_table_acl_params acl; in pipeline_table_create() member 830 if (params->match.acl.n_rules == 0) in pipeline_table_create() 833 pp.acl.name = name; in pipeline_table_create() 834 pp.acl.n_rules = params->match.acl.n_rules; in pipeline_table_create() 835 if (params->match.acl.ip_version) { in pipeline_table_create() 836 memcpy(&pp.acl.field_format, in pipeline_table_create() 839 pp.acl.n_rule_fields = in pipeline_table_create() 842 memcpy(&pp.acl.field_format, in pipeline_table_create() 845 pp.acl.n_rule_fields = in pipeline_table_create() 849 for (i = 0; i < pp.acl.n_rule_fields; i++) in pipeline_table_create() [all …]
|
| H A D | cli.c | 2031 p.match.acl.ip_version = 1; in cmd_pipeline_table() 2033 p.match.acl.ip_version = 0; in cmd_pipeline_table() 2727 m->match.acl.ip_version = 1; in parse_match() 2743 m->match.acl.ip_version = 0; in parse_match() 4849 m->match.acl.priority); in table_rule_show() 4853 if (m->match.acl.ip_version) in table_rule_show() 4860 if (m->match.acl.ip_version) in table_rule_show() 4868 (uint32_t)m->match.acl.sp0, in table_rule_show() 4869 (uint32_t)m->match.acl.sp1, in table_rule_show() 4870 (uint32_t)m->match.acl.dp0, in table_rule_show() [all …]
|
| H A D | pipeline.h | 136 struct table_acl_params acl; member 272 struct table_rule_match_acl acl; member
|
| /dpdk/examples/l3fwd-acl/ |
| H A D | main.c | 691 acl->data_ipv4[acl->num_ipv4] = MBUF_IPV4_2PROTO(pkt); in prepare_one_packet() 692 acl->m_ipv4[(acl->num_ipv4)++] = pkt; in prepare_one_packet() 700 acl->data_ipv6[acl->num_ipv6] = MBUF_IPV6_2PROTO(pkt); in prepare_one_packet() 701 acl->m_ipv6[(acl->num_ipv6)++] = pkt; in prepare_one_packet() 718 acl->data_ipv4[acl->num_ipv4] = MBUF_IPV4_2PROTO(pkt); in prepare_one_packet() 719 acl->m_ipv4[(acl->num_ipv4)++] = pkt; in prepare_one_packet() 723 acl->data_ipv6[acl->num_ipv6] = MBUF_IPV6_2PROTO(pkt); in prepare_one_packet() 724 acl->m_ipv6[(acl->num_ipv6)++] = pkt; in prepare_one_packet() 738 acl->num_ipv4 = 0; in prepare_acl_parameter() 739 acl->num_ipv6 = 0; in prepare_acl_parameter() [all …]
|
| H A D | meson.build | 10 deps += ['acl', 'lpm', 'hash']
|
| H A D | Makefile | 5 APP = l3fwd-acl
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_acl_filter.c | 149 if (pf->acl.slots) { in ice_deinit_acl() 150 rte_free(pf->acl.slots); in ice_deinit_acl() 151 pf->acl.slots = NULL; in ice_deinit_acl() 424 ret = ice_acl_alloc_slot_id(pf->acl.slots, &slot_id); in ice_acl_hw_set_conf() 444 pf->acl.hw_entry_id[slot_id] = hw_entry; in ice_acl_hw_set_conf() 474 rte_bitmap_set(pf->acl.slots, slot_id); in ice_acl_hw_rem_conf() 585 rte_bitmap_set(pf->acl.slots, slot_id); in ice_acl_destroy_filter() 594 rte_bitmap_set(pf->acl.slots, slot_id); in ice_acl_destroy_filter() 923 struct ice_acl_conf *filter = &pf->acl.conf; in ice_acl_parse() 982 pf->acl.slots = slots; in ice_acl_bitmap_init()
|
| /dpdk/app/test-acl/ |
| H A D | meson.build | 11 deps += ['acl', 'net']
|
| /dpdk/doc/guides/howto/ |
| H A D | lm_bond_virtio_sriov.rst | 672 del acl 1 673 create acl 1 674 create acl-port-set 675 create acl-port-set 678 create acl-rule 1 1 679 add acl-rule condition 1 1 port-set 1 680 add acl-rule action 1 1 redirect 1 681 apply acl
|
| /dpdk/doc/guides/contributing/ |
| H A D | abi_versioning.rst | 61 $ head ./lib/acl/version.map 80 $ head ./lib/acl/version.map 103 $ head ./lib/acl/version.map 176 * Create an acl context object for apps to 187 wishes to enhance the acl api so that a debugging flag can be enabled on a 194 * Create an acl context object for apps to 214 requisite libraries version map file. Initially the version map file for the acl 443 * Create an acl context object for apps to 478 * Create an acl context object for apps to 519 * Create an acl context object for apps to
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | meson.build | 9 deps += ['security', 'lpm', 'acl', 'hash', 'ip_frag', 'ipsec', 'eventdev', 'telemetry']
|
| /dpdk/app/ |
| H A D | meson.build | 8 'test-acl',
|
| /dpdk/examples/ |
| H A D | meson.build | 35 'l3fwd-acl',
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | l3_forward_access_ctrl.rst | 187 please refer to rule_ipv4.db and rule_ipv6.db files (inside dpdk/examples/l3fwd-acl/). 230 The application is located in the ``l3fwd-acl`` sub-directory. 239 …./<build_dir>/examples/dpdk-l3fwd-acl [EAL options] -- -p PORTMASK [-P] --config(port,queue,lcore)… 272 …./<build_dir>/examples/dpdk-l3fwd-acl -l 1,2 -n 4 -- -p 0x3 --config="(0,0,1),(1,0,2)" --rule_ipv4…
|
| /dpdk/doc/api/ |
| H A D | doxy-api.conf.in | 30 @TOPDIR@/lib/acl \
|
| /dpdk/lib/ |
| H A D | meson.build | 27 'acl',
|