Home
last modified time | relevance | path

Searched refs:eth_spec (Results 1 – 16 of 16) sorted by relevance

/dpdk/drivers/net/i40e/
H A Di40e_flow.c2065 eth_spec = item->spec; in i40e_flow_parse_ethertype_pattern()
2408 eth_spec = item->spec; in i40e_flow_parse_fdir_pattern()
2425 eth_spec->dst; in i40e_flow_parse_fdir_pattern()
2430 eth_spec->src; in i40e_flow_parse_fdir_pattern()
2435 eth_spec->dst; in i40e_flow_parse_fdir_pattern()
2437 eth_spec->src; in i40e_flow_parse_fdir_pattern()
2472 eth_spec->type; in i40e_flow_parse_fdir_pattern()
3704 &eth_spec->dst, in i40e_flow_parse_vxlan_pattern()
3709 &eth_spec->dst, in i40e_flow_parse_vxlan_pattern()
3934 &eth_spec->dst, in i40e_flow_parse_nvgre_pattern()
[all …]
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c754 const struct rte_flow_item_eth *eth_spec = item->spec; in ulp_rte_eth_hdr_handler() local
762 if (eth_spec) { in ulp_rte_eth_hdr_handler()
764 if (ulp_rte_parser_is_bcmc_addr(&eth_spec->dst)) in ulp_rte_eth_hdr_handler()
767 if (ulp_rte_parser_is_bcmc_addr(&eth_spec->src)) in ulp_rte_eth_hdr_handler()
770 eth_type = eth_spec->type; in ulp_rte_eth_hdr_handler()
785 ulp_deference_struct(eth_spec, dst.addr_bytes), in ulp_rte_eth_hdr_handler()
797 ulp_deference_struct(eth_spec, type), in ulp_rte_eth_hdr_handler()
1804 const struct rte_flow_item_eth *eth_spec) in ulp_rte_enc_eth_hdr_handler() argument
1810 size = sizeof(eth_spec->dst.addr_bytes); in ulp_rte_enc_eth_hdr_handler()
1813 size = sizeof(eth_spec->src.addr_bytes); in ulp_rte_enc_eth_hdr_handler()
[all …]
/dpdk/drivers/net/ice/
H A Dice_acl_filter.c661 const struct rte_flow_item_eth *eth_spec, *eth_mask; in ice_acl_parse_pattern() local
674 eth_spec = item->spec; in ice_acl_parse_pattern()
677 if (eth_spec && eth_mask) { in ice_acl_parse_pattern()
686 if (!rte_is_zero_ether_addr(&eth_spec->src) && in ice_acl_parse_pattern()
690 &eth_spec->src, in ice_acl_parse_pattern()
699 if (!rte_is_zero_ether_addr(&eth_spec->dst) && in ice_acl_parse_pattern()
703 &eth_spec->dst, in ice_acl_parse_pattern()
H A Dice_fdir_filter.c1801 const struct rte_flow_item_eth *eth_spec, *eth_mask; in ice_fdir_parse_pattern() local
1968 eth_spec = item->spec; in ice_fdir_parse_pattern()
1971 if (!(eth_spec && eth_mask)) in ice_fdir_parse_pattern()
1984 ether_type = rte_be_to_cpu_16(eth_spec->type); in ice_fdir_parse_pattern()
2000 &eth_spec->src, RTE_ETHER_ADDR_LEN); in ice_fdir_parse_pattern()
2002 &eth_spec->dst, RTE_ETHER_ADDR_LEN); in ice_fdir_parse_pattern()
2004 &eth_spec->type, sizeof(eth_spec->type)); in ice_fdir_parse_pattern()
H A Dice_switch_filter.c527 const struct rte_flow_item_eth *eth_spec, *eth_mask; in ice_switch_parse_pattern() local
592 eth_spec = item->spec; in ice_switch_parse_pattern()
594 if (eth_spec && eth_mask) { in ice_switch_parse_pattern()
625 eth_spec->src.addr_bytes[j]; in ice_switch_parse_pattern()
633 eth_spec->dst.addr_bytes[j]; in ice_switch_parse_pattern()
645 eth_spec->type; in ice_switch_parse_pattern()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_flow.c188 const struct rte_flow_item_eth *eth_spec; in cons_parse_ntuple_filter() local
267 eth_spec = item->spec; in cons_parse_ntuple_filter()
280 (memcmp(eth_spec, &eth_null, in cons_parse_ntuple_filter()
690 const struct rte_flow_item_eth *eth_spec; in cons_parse_ethertype_filter() local
740 eth_spec = item->spec; in cons_parse_ethertype_filter()
767 filter->mac_addr = eth_spec->dst; in cons_parse_ethertype_filter()
1599 const struct rte_flow_item_eth *eth_spec; in ixgbe_parse_fdir_filter_normal() local
1696 eth_spec = item->spec; in ixgbe_parse_fdir_filter_normal()
1701 eth_spec->dst.addr_bytes[j]; in ixgbe_parse_fdir_filter_normal()
2683 eth_spec = item->spec; in ixgbe_parse_fdir_filter_tunnel()
[all …]
/dpdk/app/test-flow-perf/
H A Ditems_gen.c26 static struct rte_flow_item_eth eth_spec; in add_ether() local
30 items[items_counter].spec = &eth_spec; in add_ether()
/dpdk/drivers/net/iavf/
H A Diavf_fdir.c723 const struct rte_flow_item_eth *eth_spec, *eth_mask; in iavf_fdir_parse_pattern() local
769 eth_spec = item->spec; in iavf_fdir_parse_pattern()
778 (!eth_spec || !eth_mask)) { in iavf_fdir_parse_pattern()
785 if (eth_spec && eth_mask) { in iavf_fdir_parse_pattern()
806 ether_type = rte_be_to_cpu_16(eth_spec->type); in iavf_fdir_parse_pattern()
821 rte_memcpy(hdr1->buffer, eth_spec, in iavf_fdir_parse_pattern()
/dpdk/drivers/net/bnxt/
H A Dbnxt_flow.c141 const struct rte_flow_item_eth *eth_spec, *eth_mask; in bnxt_validate_and_parse_flow_type() local
194 eth_spec = item->spec; in bnxt_validate_and_parse_flow_type()
229 dst = &eth_spec->dst; in bnxt_validate_and_parse_flow_type()
241 &eth_spec->dst, RTE_ETHER_ADDR_LEN); in bnxt_validate_and_parse_flow_type()
253 src = &eth_spec->src; in bnxt_validate_and_parse_flow_type()
265 &eth_spec->src, RTE_ETHER_ADDR_LEN); in bnxt_validate_and_parse_flow_type()
279 rte_be_to_cpu_16(eth_spec->type); in bnxt_validate_and_parse_flow_type()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_flow.c154 const struct rte_flow_item_eth *eth_spec; in cons_parse_ntuple_filter() local
233 eth_spec = item->spec; in cons_parse_ntuple_filter()
244 if ((item->spec && memcmp(eth_spec, &eth_null, in cons_parse_ntuple_filter()
652 const struct rte_flow_item_eth *eth_spec; in cons_parse_ethertype_filter() local
702 eth_spec = item->spec; in cons_parse_ethertype_filter()
729 filter->mac_addr = eth_spec->dst; in cons_parse_ethertype_filter()
734 filter->ether_type = rte_be_to_cpu_16(eth_spec->type); in cons_parse_ethertype_filter()
/dpdk/drivers/net/e1000/
H A Digb_flow.c497 const struct rte_flow_item_eth *eth_spec; in cons_parse_ethertype_filter() local
551 eth_spec = item->spec; in cons_parse_ethertype_filter()
578 filter->mac_addr = eth_spec->dst; in cons_parse_ethertype_filter()
583 filter->ether_type = rte_be_to_cpu_16(eth_spec->type); in cons_parse_ethertype_filter()
/dpdk/drivers/net/mlx4/
H A Dmlx4_flow.c1305 struct rte_flow_item_eth eth_spec; in mlx4_flow_internal() local
1322 .spec = &eth_spec, in mlx4_flow_internal()
1359 struct rte_ether_addr *rule_mac = &eth_spec.dst; in mlx4_flow_internal()
/dpdk/drivers/net/hns3/
H A Dhns3_flow.c497 const struct rte_flow_item_eth *eth_spec; in hns3_parse_eth() local
523 eth_spec = item->spec; in hns3_parse_eth()
524 rule->key_conf.spec.ether_type = rte_be_to_cpu_16(eth_spec->type); in hns3_parse_eth()
525 memcpy(rule->key_conf.spec.src_mac, eth_spec->src.addr_bytes, in hns3_parse_eth()
527 memcpy(rule->key_conf.spec.dst_mac, eth_spec->dst.addr_bytes, in hns3_parse_eth()
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_flow.c294 const struct rte_flow_item_eth *eth_spec; in cons_parse_ethertype_filter() local
305 eth_spec = (const struct rte_flow_item_eth *)item->spec; in cons_parse_ethertype_filter()
332 filter->mac_addr = eth_spec->dst; in cons_parse_ethertype_filter()
337 filter->ether_type = rte_be_to_cpu_16(eth_spec->type); in cons_parse_ethertype_filter()
/dpdk/drivers/net/mlx5/
H A Dmlx5.h1804 struct rte_flow_item_eth *eth_spec,
1809 struct rte_flow_item_eth *eth_spec,
H A Dmlx5_flow.c7610 struct rte_flow_item_eth *eth_spec, in mlx5_ctrl_flow_vlan() argument
7623 .spec = eth_spec, in mlx5_ctrl_flow_vlan()
7690 struct rte_flow_item_eth *eth_spec, in mlx5_ctrl_flow() argument
7693 return mlx5_ctrl_flow_vlan(dev, eth_spec, eth_mask, NULL, NULL); in mlx5_ctrl_flow()