| /f-stack/dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 659 if (eth_spec) { in ulp_rte_eth_hdr_handler() 660 size = sizeof(eth_spec->dst.addr_bytes); in ulp_rte_eth_hdr_handler() 662 eth_spec->dst.addr_bytes, in ulp_rte_eth_hdr_handler() 668 size = sizeof(eth_spec->src.addr_bytes); in ulp_rte_eth_hdr_handler() 670 eth_spec->src.addr_bytes, in ulp_rte_eth_hdr_handler() 677 ð_spec->type, in ulp_rte_eth_hdr_handler() 678 sizeof(eth_spec->type)); in ulp_rte_eth_hdr_handler() 679 eth_type = eth_spec->type; in ulp_rte_eth_hdr_handler() 1529 eth_spec = item->spec; in ulp_rte_vxlan_encap_act_handler() 1532 eth_spec->dst.addr_bytes, in ulp_rte_vxlan_encap_act_handler() [all …]
|
| /f-stack/dpdk/drivers/net/i40e/ |
| H A D | i40e_flow.c | 2065 eth_spec = item->spec; in i40e_flow_parse_ethertype_pattern() 2485 eth_spec = item->spec; in i40e_flow_parse_fdir_pattern() 2502 eth_spec->dst; in i40e_flow_parse_fdir_pattern() 2507 eth_spec->src; in i40e_flow_parse_fdir_pattern() 2512 eth_spec->dst; in i40e_flow_parse_fdir_pattern() 2514 eth_spec->src; in i40e_flow_parse_fdir_pattern() 2549 eth_spec->type; in i40e_flow_parse_fdir_pattern() 3708 ð_spec->dst, in i40e_flow_parse_vxlan_pattern() 3713 ð_spec->dst, in i40e_flow_parse_vxlan_pattern() 3938 ð_spec->dst, in i40e_flow_parse_nvgre_pattern() [all …]
|
| /f-stack/dpdk/drivers/net/iavf/ |
| H A D | iavf_fdir.c | 460 const struct rte_flow_item_eth *eth_spec, *eth_mask; in iavf_fdir_parse_pattern() local 496 eth_spec = item->spec; in iavf_fdir_parse_pattern() 505 (!eth_spec || !eth_mask)) { in iavf_fdir_parse_pattern() 512 if (eth_spec && eth_mask) { in iavf_fdir_parse_pattern() 522 if (eth_spec && eth_mask && eth_mask->type) { in iavf_fdir_parse_pattern() 530 ether_type = rte_be_to_cpu_16(eth_spec->type); in iavf_fdir_parse_pattern() 544 eth_spec, sizeof(struct rte_ether_hdr)); in iavf_fdir_parse_pattern()
|
| /f-stack/dpdk/app/test-flow-perf/ |
| H A D | items_gen.c | 25 static struct rte_flow_item_eth eth_spec; in add_ether() local 28 memset(ð_spec, 0, sizeof(struct rte_flow_item_eth)); in add_ether() 32 items[items_counter].spec = ð_spec; in add_ether()
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_acl_filter.c | 650 const struct rte_flow_item_eth *eth_spec, *eth_mask; in ice_acl_parse_pattern() local 663 eth_spec = item->spec; in ice_acl_parse_pattern() 666 if (eth_spec && eth_mask) { in ice_acl_parse_pattern() 675 if (!rte_is_zero_ether_addr(ð_spec->src) && in ice_acl_parse_pattern() 679 ð_spec->src, in ice_acl_parse_pattern() 688 if (!rte_is_zero_ether_addr(ð_spec->dst) && in ice_acl_parse_pattern() 692 ð_spec->dst, in ice_acl_parse_pattern()
|
| H A D | ice_fdir_filter.c | 1640 const struct rte_flow_item_eth *eth_spec, *eth_mask; in ice_fdir_parse_pattern() local 1671 eth_spec = item->spec; in ice_fdir_parse_pattern() 1675 if (eth_spec && eth_mask) { in ice_fdir_parse_pattern() 1679 ð_spec->dst, in ice_fdir_parse_pattern() 1686 ð_spec->src, in ice_fdir_parse_pattern() 1694 ether_type = rte_be_to_cpu_16(eth_spec->type); in ice_fdir_parse_pattern() 1706 ð_spec->type, in ice_fdir_parse_pattern() 1707 sizeof(eth_spec->type)); in ice_fdir_parse_pattern()
|
| H A D | ice_switch_filter.c | 498 const struct rte_flow_item_eth *eth_spec, *eth_mask; in ice_switch_inset_get() local 542 eth_spec = item->spec; in ice_switch_inset_get() 544 if (eth_spec && eth_mask) { in ice_switch_inset_get() 581 eth_spec->src.addr_bytes[j]; in ice_switch_inset_get() 589 eth_spec->dst.addr_bytes[j]; in ice_switch_inset_get() 601 eth_spec->type; in ice_switch_inset_get()
|
| /f-stack/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 …]
|
| /f-stack/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() 225 dst = ð_spec->dst; in bnxt_validate_and_parse_flow_type() 237 ð_spec->dst, RTE_ETHER_ADDR_LEN); in bnxt_validate_and_parse_flow_type() 249 src = ð_spec->src; in bnxt_validate_and_parse_flow_type() 261 ð_spec->src, RTE_ETHER_ADDR_LEN); in bnxt_validate_and_parse_flow_type() 275 rte_be_to_cpu_16(eth_spec->type); in bnxt_validate_and_parse_flow_type()
|
| /f-stack/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()
|
| /f-stack/dpdk/drivers/net/mlx4/ |
| H A D | mlx4_flow.c | 1303 struct rte_flow_item_eth eth_spec; in mlx4_flow_internal() local 1320 .spec = ð_spec, in mlx4_flow_internal() 1357 struct rte_ether_addr *rule_mac = ð_spec.dst; in mlx4_flow_internal()
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_flow.c | 439 const struct rte_flow_item_eth *eth_spec; in hns3_parse_eth() local 470 eth_spec = item->spec; in hns3_parse_eth() 471 rule->key_conf.spec.ether_type = rte_be_to_cpu_16(eth_spec->type); in hns3_parse_eth() 472 memcpy(rule->key_conf.spec.src_mac, eth_spec->src.addr_bytes, in hns3_parse_eth() 474 memcpy(rule->key_conf.spec.dst_mac, eth_spec->dst.addr_bytes, in hns3_parse_eth()
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5.h | 1222 struct rte_flow_item_eth *eth_spec, 1227 struct rte_flow_item_eth *eth_spec,
|
| H A D | mlx5_flow.c | 5930 struct rte_flow_item_eth *eth_spec, in mlx5_ctrl_flow_vlan() argument 5943 .spec = eth_spec, in mlx5_ctrl_flow_vlan() 6010 struct rte_flow_item_eth *eth_spec, in mlx5_ctrl_flow() argument 6013 return mlx5_ctrl_flow_vlan(dev, eth_spec, eth_mask, NULL, NULL); in mlx5_ctrl_flow()
|
| /f-stack/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()
|