Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c659 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 &eth_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 Di40e_flow.c2065 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 &eth_spec->dst, in i40e_flow_parse_vxlan_pattern()
3713 &eth_spec->dst, in i40e_flow_parse_vxlan_pattern()
3938 &eth_spec->dst, in i40e_flow_parse_nvgre_pattern()
[all …]
/f-stack/dpdk/drivers/net/iavf/
H A Diavf_fdir.c460 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 Ditems_gen.c25 static struct rte_flow_item_eth eth_spec; in add_ether() local
28 memset(&eth_spec, 0, sizeof(struct rte_flow_item_eth)); in add_ether()
32 items[items_counter].spec = &eth_spec; in add_ether()
/f-stack/dpdk/drivers/net/ice/
H A Dice_acl_filter.c650 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(&eth_spec->src) && in ice_acl_parse_pattern()
679 &eth_spec->src, in ice_acl_parse_pattern()
688 if (!rte_is_zero_ether_addr(&eth_spec->dst) && in ice_acl_parse_pattern()
692 &eth_spec->dst, in ice_acl_parse_pattern()
H A Dice_fdir_filter.c1640 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 &eth_spec->dst, in ice_fdir_parse_pattern()
1686 &eth_spec->src, in ice_fdir_parse_pattern()
1694 ether_type = rte_be_to_cpu_16(eth_spec->type); in ice_fdir_parse_pattern()
1706 &eth_spec->type, in ice_fdir_parse_pattern()
1707 sizeof(eth_spec->type)); in ice_fdir_parse_pattern()
H A Dice_switch_filter.c498 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 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 …]
/f-stack/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()
225 dst = &eth_spec->dst; in bnxt_validate_and_parse_flow_type()
237 &eth_spec->dst, RTE_ETHER_ADDR_LEN); in bnxt_validate_and_parse_flow_type()
249 src = &eth_spec->src; in bnxt_validate_and_parse_flow_type()
261 &eth_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 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()
/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4_flow.c1303 struct rte_flow_item_eth eth_spec; in mlx4_flow_internal() local
1320 .spec = &eth_spec, in mlx4_flow_internal()
1357 struct rte_ether_addr *rule_mac = &eth_spec.dst; in mlx4_flow_internal()
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_flow.c439 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 Dmlx5.h1222 struct rte_flow_item_eth *eth_spec,
1227 struct rte_flow_item_eth *eth_spec,
H A Dmlx5_flow.c5930 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 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()