| /dpdk/drivers/net/i40e/ |
| H A D | i40e_flow.c | 2065 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 ð_spec->dst, in i40e_flow_parse_vxlan_pattern() 3709 ð_spec->dst, in i40e_flow_parse_vxlan_pattern() 3934 ð_spec->dst, in i40e_flow_parse_nvgre_pattern() [all …]
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 754 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(ð_spec->dst)) in ulp_rte_eth_hdr_handler() 767 if (ulp_rte_parser_is_bcmc_addr(ð_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 D | ice_acl_filter.c | 661 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(ð_spec->src) && in ice_acl_parse_pattern() 690 ð_spec->src, in ice_acl_parse_pattern() 699 if (!rte_is_zero_ether_addr(ð_spec->dst) && in ice_acl_parse_pattern() 703 ð_spec->dst, in ice_acl_parse_pattern()
|
| H A D | ice_fdir_filter.c | 1801 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 ð_spec->src, RTE_ETHER_ADDR_LEN); in ice_fdir_parse_pattern() 2002 ð_spec->dst, RTE_ETHER_ADDR_LEN); in ice_fdir_parse_pattern() 2004 ð_spec->type, sizeof(eth_spec->type)); in ice_fdir_parse_pattern()
|
| H A D | ice_switch_filter.c | 527 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 D | ixgbe_flow.c | 188 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, ð_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 D | items_gen.c | 26 static struct rte_flow_item_eth eth_spec; in add_ether() local 30 items[items_counter].spec = ð_spec; in add_ether()
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_fdir.c | 723 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 D | bnxt_flow.c | 141 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 = ð_spec->dst; in bnxt_validate_and_parse_flow_type() 241 ð_spec->dst, RTE_ETHER_ADDR_LEN); in bnxt_validate_and_parse_flow_type() 253 src = ð_spec->src; in bnxt_validate_and_parse_flow_type() 265 ð_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 D | txgbe_flow.c | 154 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, ð_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 D | igb_flow.c | 497 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 D | mlx4_flow.c | 1305 struct rte_flow_item_eth eth_spec; in mlx4_flow_internal() local 1322 .spec = ð_spec, in mlx4_flow_internal() 1359 struct rte_ether_addr *rule_mac = ð_spec.dst; in mlx4_flow_internal()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_flow.c | 497 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 D | hinic_pmd_flow.c | 294 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 D | mlx5.h | 1804 struct rte_flow_item_eth *eth_spec, 1809 struct rte_flow_item_eth *eth_spec,
|
| H A D | mlx5_flow.c | 7610 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()
|