Home
last modified time | relevance | path

Searched refs:spec (Results 1 – 25 of 200) sorted by relevance

12345678

/f-stack/dpdk/drivers/common/sfc_efx/base/
H A Defx_filter.c30 __inout efx_filter_spec_t *spec,
327 memset(spec, 0, sizeof (*spec)); in efx_filter_spec_init_rx()
342 memset(spec, 0, sizeof (*spec)); in efx_filter_spec_init_tx()
361 spec->efs_match_flags |= in efx_filter_spec_set_ipv4_local()
365 spec->efs_ip_proto = proto; in efx_filter_spec_set_ipv4_local()
367 spec->efs_loc_port = port; in efx_filter_spec_set_ipv4_local()
385 spec->efs_match_flags |= in efx_filter_spec_set_ipv4_full()
390 spec->efs_ip_proto = proto; in efx_filter_spec_set_ipv4_full()
1119 spec->sfs_dword[0] ^ in siena_filter_build()
1120 spec->sfs_dword[1] ^ in siena_filter_build()
[all …]
H A Def10_filter.c215 spec->efs_dmaq_id); in efx_mcdi_filter_op_add()
263 spec->efs_ip_proto); in efx_mcdi_filter_op_add()
328 spec->efs_mark); in efx_mcdi_filter_op_add()
537 efx_filter_spec_t *spec; in ef10_filter_restore() local
550 if (spec == NULL) { in ef10_filter_restore()
730 overridden = spec; in ef10_filter_add_select_action()
936 *new_spec = *spec; in ef10_filter_add_internal()
1055 if (spec == NULL) { in ef10_filter_delete_internal()
1101 EFSYS_KMEM_FREE(enp->en_esip, sizeof (*spec), spec); in ef10_filter_delete_internal()
1397 efx_filter_spec_t spec; variable
[all …]
H A Drhead_tunnel.c96 spec->evers_mport_selector); in efx_mcdi_vnic_encap_rule_add()
98 spec->evers_match_flags); in efx_mcdi_vnic_encap_rule_add()
103 __CPU_TO_BE_16(spec->evers_outer_vid)); in efx_mcdi_vnic_encap_rule_add()
112 &spec->evers_loc_host.eo_byte[0], in efx_mcdi_vnic_encap_rule_add()
116 spec->evers_ip_proto); in efx_mcdi_vnic_encap_rule_add()
118 __CPU_TO_BE_16(spec->evers_loc_port)); in efx_mcdi_vnic_encap_rule_add()
202 __out efx_vnic_encap_rule_spec_t *spec) in rhead_vnic_encap_rule_spec_init() argument
204 memset(spec, 0, sizeof (*spec)); in rhead_vnic_encap_rule_spec_init()
209 spec->evers_ip_proto = EFX_IPPROTO_UDP; in rhead_vnic_encap_rule_spec_init()
210 spec->evers_loc_port = etuep->etue_port; in rhead_vnic_encap_rule_spec_init()
[all …]
H A Defx_mae.c384 EFSYS_KMEM_ALLOC(enp->en_esip, sizeof (*spec), spec); in efx_mae_match_spec_init()
385 if (spec == NULL) { in efx_mae_match_spec_init()
390 spec->emms_type = type; in efx_mae_match_spec_init()
391 spec->emms_prio = prio; in efx_mae_match_spec_init()
393 *specp = spec; in efx_mae_match_spec_init()
409 EFSYS_KMEM_FREE(enp->en_esip, sizeof (*spec), spec); in efx_mae_match_spec_fini()
895 EFSYS_KMEM_ALLOC(enp->en_esip, sizeof (*spec), spec); in efx_mae_action_set_spec_init()
896 if (spec == NULL) { in efx_mae_action_set_spec_init()
901 *specp = spec; in efx_mae_action_set_spec_init()
915 EFSYS_KMEM_FREE(enp->en_esip, sizeof (*spec), spec); in efx_mae_action_set_spec_fini()
[all …]
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_flow.c60 struct sfc_flow_spec *spec = &flow->spec; in sfc_flow_get_ops_by_spec() local
191 spec = item->spec; in sfc_flow_parse_init()
194 if (spec == NULL) in sfc_flow_parse_init()
1148 struct sfc_flow_spec *spec = &flow->spec; in sfc_flow_parse_attr() local
1326 struct sfc_flow_spec *spec = &flow->spec; in sfc_flow_parse_queue() local
1357 struct sfc_flow_spec *spec = &flow->spec; in sfc_flow_parse_rss() local
1646 struct sfc_flow_spec *spec = &flow->spec; in sfc_flow_parse_mark() local
1666 struct sfc_flow_spec *spec = &flow->spec; in sfc_flow_parse_actions() local
2366 struct sfc_flow_spec *spec = &flow->spec; in sfc_flow_validate_match_flags() local
2400 struct sfc_flow_spec *spec = &flow->spec; in sfc_flow_parse_rte_to_filter() local
[all …]
H A Dsfc_mae.c267 if (efx_mae_action_set_specs_equal(action_set->spec, spec)) { in sfc_mae_action_set_attach()
291 action_set->spec = spec; in sfc_mae_action_set_add()
382 spec = &flow->spec; in sfc_mae_flow_cleanup()
384 if (spec == NULL) in sfc_mae_flow_cleanup()
605 if (spec == NULL) in sfc_mae_rule_parse_item_port_id()
670 if (spec == NULL) in sfc_mae_rule_parse_item_phy_port()
1261 if (spec == NULL) in sfc_mae_rule_parse_item_tcp()
1307 if (spec == NULL) in sfc_mae_rule_parse_item_udp()
2252 struct sfc_flow_spec *spec = &flow->spec; in sfc_mae_flow_verify() local
2275 struct sfc_flow_spec *spec = &flow->spec; in sfc_mae_flow_insert() local
[all …]
/f-stack/dpdk/drivers/net/enic/
H A Denic_flow.c389 const struct rte_flow_item_ipv4 *spec = item->spec; in enic_copy_item_ipv4_v1() local
403 if (!spec || !spec->hdr.src_addr || !spec->hdr.dst_addr) { in enic_copy_item_ipv4_v1()
427 const struct rte_flow_item_udp *spec = item->spec; in enic_copy_item_udp_v1() local
441 if (!spec || !spec->hdr.src_port || !spec->hdr.dst_port) { in enic_copy_item_udp_v1()
466 const struct rte_flow_item_tcp *spec = item->spec; in enic_copy_item_tcp_v1() local
480 if (!spec || !spec->hdr.src_port || !spec->hdr.dst_port) { in enic_copy_item_tcp_v1()
646 const struct rte_flow_item_eth *spec = item->spec; in enic_copy_item_eth_v2() local
794 const struct rte_flow_item_udp *spec = item->spec; in enic_copy_item_udp_v2() local
823 const struct rte_flow_item_tcp *spec = item->spec; in enic_copy_item_tcp_v2() local
960 if (!spec->relative || spec->offset != 0 || spec->search || spec->limit) in enic_copy_item_raw_v2()
[all …]
/f-stack/dpdk/drivers/net/mvpp2/
H A Dmrvl_flow.c278 const uint8_t *spec; in mrvl_parse_init() local
316 spec = (const uint8_t *)item->spec; in mrvl_parse_init()
319 if (spec == NULL) { in mrvl_parse_init()
338 *spec_ptr = spec; in mrvl_parse_init()
368 k = spec->dst.addr_bytes; in mrvl_parse_mac()
373 k = spec->src.addr_bytes; in mrvl_parse_mac()
451 k = rte_be_to_cpu_16(spec->type); in mrvl_parse_type()
590 k.s_addr = spec->hdr.dst_addr; in mrvl_parse_ip4_addr()
595 k.s_addr = spec->hdr.src_addr; in mrvl_parse_ip4_addr()
810 uint8_t k = spec->hdr.proto; in mrvl_parse_ip6_next_hdr()
[all …]
/f-stack/dpdk/examples/ipsec-secgw/
H A Dflow.c22 struct rte_flow_item_ipv4 spec; member
26 struct rte_flow_item_ipv6 spec; member
66 *spec = ip.s_addr; in ipv4_addr_cpy()
114 memcpy(spec, ip.s6_addr, sizeof(struct in6_addr)); in ipv6_addr_cpy()
153 if (ipv4_addr_cpy(&rule->ipv4.spec.hdr.src_addr, in parse_flow_tokens()
158 if (ipv6_addr_cpy(rule->ipv6.spec.hdr.src_addr, in parse_flow_tokens()
175 if (ipv6_addr_cpy(rule->ipv6.spec.hdr.dst_addr, in parse_flow_tokens()
231 pattern[1].spec = &rule->ipv4.spec; in flow_init_single()
235 pattern[1].spec = &rule->ipv6.spec; in flow_init_single()
267 ipv4_hdr_print(&rule->ipv4.spec.hdr); in flow_init()
[all …]
/f-stack/dpdk/drivers/net/tap/
H A Dtap_flow.c521 const struct rte_flow_item_eth *spec = item->spec; in tap_flow_create_eth() local
532 if (!spec) in tap_flow_create_eth()
575 const struct rte_flow_item_vlan *spec = item->spec; in tap_flow_create_vlan() local
602 if (!spec) in tap_flow_create_vlan()
635 const struct rte_flow_item_ipv4 *spec = item->spec; in tap_flow_create_ipv4() local
647 if (spec) in tap_flow_create_ipv4()
654 if (!spec) in tap_flow_create_ipv4()
703 if (spec) in tap_flow_create_ipv6()
746 const struct rte_flow_item_udp *spec = item->spec; in tap_flow_create_udp() local
792 const struct rte_flow_item_tcp *spec = item->spec; in tap_flow_create_tcp() local
[all …]
/f-stack/dpdk/drivers/net/dpaa2/
H A Ddpaa2_mux.c101 const struct rte_flow_item_ipv4 *spec; in rte_pmd_dpaa2_mux_flow_create() local
109 spec = (const struct rte_flow_item_ipv4 *)pattern[0]->spec; in rte_pmd_dpaa2_mux_flow_create()
110 memcpy(key_iova, (const void *)(&spec->hdr.next_proto_id), in rte_pmd_dpaa2_mux_flow_create()
119 const struct rte_flow_item_udp *spec; in rte_pmd_dpaa2_mux_flow_create() local
128 spec = (const struct rte_flow_item_udp *)pattern[0]->spec; in rte_pmd_dpaa2_mux_flow_create()
129 udp_dst_port = rte_constant_bswap16(spec->hdr.dst_port); in rte_pmd_dpaa2_mux_flow_create()
139 const struct rte_flow_item_eth *spec; in rte_pmd_dpaa2_mux_flow_create() local
148 spec = (const struct rte_flow_item_eth *)pattern[0]->spec; in rte_pmd_dpaa2_mux_flow_create()
149 eth_type = rte_constant_bswap16(spec->type); in rte_pmd_dpaa2_mux_flow_create()
H A Ddpaa2_flow.c943 if (!spec) { in dpaa2_configure_flow_eth()
1194 if (!spec) { in dpaa2_configure_flow_vlan()
1323 &spec->tci, in dpaa2_configure_flow_vlan()
1763 if (!spec) { in dpaa2_configure_flow_icmp()
2058 if (!spec) in dpaa2_configure_flow_udp()
2297 if (!spec) in dpaa2_configure_flow_tcp()
2538 if (!spec) in dpaa2_configure_flow_sctp()
2725 if (!spec) { in dpaa2_configure_flow_gre()
2875 const struct rte_flow_item_raw *spec = pattern->spec; in dpaa2_configure_flow_raw() local
2888 if (spec->relative || spec->offset != 0 || in dpaa2_configure_flow_raw()
[all …]
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_flow.c470 eth_spec = item->spec; in hns3_parse_eth()
518 vlan_spec = item->spec; in hns3_parse_vlan()
585 ipv4_spec = item->spec; in hns3_parse_ipv4()
639 ipv6_spec = item->spec; in hns3_parse_ipv6()
695 tcp_spec = item->spec; in hns3_parse_tcp()
741 udp_spec = item->spec; in hns3_parse_udp()
792 sctp_spec = item->spec; in hns3_parse_sctp()
853 rule->key_conf.spec.outer_proto = rule->key_conf.spec.ip_proto; in hns3_handle_tunnel()
912 vxlan_spec = item->spec; in hns3_parse_vxlan()
963 nvgre_spec = item->spec; in hns3_parse_nvgre()
[all …]
H A Dhns3_fdir.c492 key = rule->key_conf.spec.tunnel_type; in hns3_fd_convert_int16()
500 key = rule->key_conf.spec.src_port; in hns3_fd_convert_int16()
504 key = rule->key_conf.spec.dst_port; in hns3_fd_convert_int16()
508 key = rule->key_conf.spec.vlan_tag1; in hns3_fd_convert_int16()
512 key = rule->key_conf.spec.vlan_tag2; in hns3_fd_convert_int16()
517 key = rule->key_conf.spec.ether_type; in hns3_fd_convert_int16()
614 calc_x(*key_x, key_conf->spec.ip_proto, in hns3_fd_convert_tuple()
973 rule->key_conf.spec.src_port, in hns3_fdir_filter_program()
974 rule->key_conf.spec.dst_port, ret); in hns3_fdir_filter_program()
1014 rule->key_conf.spec.src_port, in hns3_fdir_filter_program()
[all …]
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c473 const struct rte_flow_item_eth *spec = item->spec; in flow_verbs_translate_item_eth() local
483 if (spec) { in flow_verbs_translate_item_eth()
557 const struct rte_flow_item_vlan *spec = item->spec; in flow_verbs_translate_item_vlan() local
570 if (spec) { in flow_verbs_translate_item_vlan()
604 const struct rte_flow_item_ipv4 *spec = item->spec; in flow_verbs_translate_item_ipv4() local
653 const struct rte_flow_item_ipv6 *spec = item->spec; in flow_verbs_translate_item_ipv6() local
719 const struct rte_flow_item_tcp *spec = item->spec; in flow_verbs_translate_item_tcp() local
758 const struct rte_flow_item_udp *spec = item->spec; in flow_verbs_translate_item_udp() local
819 const struct rte_flow_item_vxlan *spec = item->spec; in flow_verbs_translate_item_vxlan() local
963 const struct rte_flow_item_gre *spec = item->spec; in flow_verbs_translate_item_gre() local
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/net/ieee802154/
H A Dcc2520.txt10 - fifo-gpio: GPIO spec for the FIFO pin
11 - fifop-gpio: GPIO spec for the FIFOP pin
12 - sfd-gpio: GPIO spec for the SFD pin
13 - cca-gpio: GPIO spec for the CCA pin
14 - vreg-gpio: GPIO spec for the VREG pin
15 - reset-gpio: GPIO spec for the RESET pin
/f-stack/dpdk/app/test-flow-perf/
H A Ditems_gen.c32 items[items_counter].spec = &eth_spec; in add_ether()
53 items[items_counter].spec = &vlan_spec; in add_vlan()
71 items[items_counter].spec = &ipv4_spec; in add_ipv4()
95 items[items_counter].spec = &ipv6_spec; in add_ipv6()
111 items[items_counter].spec = &tcp_spec; in add_tcp()
127 items[items_counter].spec = &udp_spec; in add_udp()
157 items[items_counter].spec = &vxlan_spec; in add_vxlan()
210 items[items_counter].spec = &gre_spec; in add_gre()
259 items[items_counter].spec = &gtp_spec; in add_gtp()
282 items[items_counter].spec = &meta_spec; in add_meta_data()
[all …]
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_flow.c318 if (!item->spec) in flow_item_raw_preprocess()
430 if (!item->spec) { in flow_item_proto_preprocess()
446 memcpy(spec, item->spec, size); in flow_item_proto_preprocess()
463 spec[i] &= mask[i]; in flow_item_proto_preprocess()
476 if (last[i] != spec[i]) in flow_item_proto_preprocess()
513 &spec, in flow_item_skip_disabled_protos()
654 union flow_item spec, mask; in flow_rule_match_acl_get() local
738 spec.ipv6.hdr.src_addr, in flow_rule_match_acl_get()
741 spec.ipv6.hdr.dst_addr, in flow_rule_match_acl_get()
1050 &spec, in flow_rule_match_hash_get()
[all …]
/f-stack/freebsd/contrib/openzfs/rpm/generic/
H A D.gitignore1 /zfs-dkms.spec
2 /zfs-kmod.spec
3 /zfs.spec
H A DMakefile.am1 EXTRA_DIST = zfs.spec.in zfs-kmod.spec.in zfs-dkms.spec.in
/f-stack/freebsd/contrib/openzfs/rpm/redhat/
H A D.gitignore1 /zfs-dkms.spec
2 /zfs-kmod.spec
3 /zfs.spec
H A DMakefile.am1 EXTRA_DIST = zfs.spec.in zfs-kmod.spec.in zfs-dkms.spec.in
/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4_flow.c199 const struct rte_flow_item_eth *spec = item->spec; in mlx4_flow_merge_eth() local
294 const struct rte_flow_item_vlan *spec = item->spec; in mlx4_flow_merge_vlan() local
349 const struct rte_flow_item_ipv4 *spec = item->spec; in mlx4_flow_merge_ipv4() local
369 if (!spec) in mlx4_flow_merge_ipv4()
416 const struct rte_flow_item_udp *spec = item->spec; in mlx4_flow_merge_udp() local
441 if (!spec) in mlx4_flow_merge_udp()
481 const struct rte_flow_item_tcp *spec = item->spec; in mlx4_flow_merge_tcp() local
501 if (!spec) in mlx4_flow_merge_tcp()
544 if (!item->spec) in mlx4_flow_item_check()
1320 .spec = &eth_spec, in mlx4_flow_internal()
[all …]
/f-stack/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_flow.c101 eth = item->spec; in ipn3ke_pattern_vxlan()
109 vxlan = item->spec; in ipn3ke_pattern_vxlan()
165 eth = item->spec; in ipn3ke_pattern_mac()
370 ipv4 = item->spec; in ipn3ke_pattern_ip_tcp()
376 tcp = item->spec; in ipn3ke_pattern_ip_tcp()
435 ipv4 = item->spec; in ipn3ke_pattern_ip_udp()
441 udp = item->spec; in ipn3ke_pattern_ip_udp()
503 ipv4 = item->spec; in ipn3ke_pattern_ip_nvgre()
509 udp = item->spec; in ipn3ke_pattern_ip_nvgre()
583 ipv4 = item->spec; in ipn3ke_pattern_vxlan_ip_udp()
[all …]
/f-stack/dpdk/drivers/net/igc/
H A Digc_flow.c183 if (!!item->spec ^ !!item->mask) in igc_parse_patterns()
315 const struct rte_flow_item_eth *spec = item->spec; in igc_parse_pattern_ether() local
345 ether->ether_type = rte_be_to_cpu_16(spec->type); in igc_parse_pattern_ether()
363 const struct rte_flow_item_ipv4 *spec = item->spec; in igc_parse_pattern_ip() local
421 const struct rte_flow_item_ipv6 *spec = item->spec; in igc_parse_pattern_ipv6() local
454 filter->ntuple.tuple_info.proto = spec->hdr.proto; in igc_parse_pattern_ipv6()
465 const struct rte_flow_item_udp *spec = item->spec; in igc_parse_pattern_udp() local
490 filter->ntuple.tuple_info.dst_port = spec->hdr.dst_port; in igc_parse_pattern_udp()
501 const struct rte_flow_item_tcp *spec = item->spec; in igc_parse_pattern_tcp() local
538 tuple_info->dst_port = spec->hdr.dst_port; in igc_parse_pattern_tcp()
[all …]

12345678