| /dpdk/app/test-pmd/ |
| H A D | csumonly.c | 74 uint16_t ethertype; member 100 uint16_t ethertype) in get_udptcp_checksum() argument 102 if (ethertype == _htons(RTE_ETHER_TYPE_IPV4)) in get_udptcp_checksum() 161 info->ethertype = eth_hdr->ether_type; in parse_ethernet() 168 info->ethertype = vlan_hdr->eth_proto; in parse_ethernet() 171 switch (info->ethertype) { in parse_ethernet() 195 info->outer_ethertype = info->ethertype; in update_tunnel_outer() 248 info->ethertype = 0; in parse_gtp() 443 info->outer_ethertype = info->ethertype; in parse_encap_ip() 521 info->ethertype); in process_inner_cksums() [all …]
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev.h | 223 uint16_t ethertype; member 596 uint16_t ethertype) in txgbe_ethertype_filter_lookup() argument 601 if (filter_info->ethertype_filters[i].ethertype == ethertype && in txgbe_ethertype_filter_lookup() 619 filter_info->ethertype_filters[i].ethertype = in txgbe_ethertype_filter_insert() 620 ethertype_filter->ethertype; in txgbe_ethertype_filter_insert() 639 filter_info->ethertype_filters[idx].ethertype = 0; in txgbe_ethertype_filter_remove()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ethdev.h | 311 uint16_t ethertype; member 775 uint16_t ethertype) in ixgbe_ethertype_filter_lookup() argument 780 if (filter_info->ethertype_filters[i].ethertype == ethertype && in ixgbe_ethertype_filter_lookup() 796 filter_info->ethertype_filters[i].ethertype = in ixgbe_ethertype_filter_insert() 797 ethertype_filter->ethertype; in ixgbe_ethertype_filter_insert() 817 filter_info->ethertype_filters[idx].ethertype = 0; in ixgbe_ethertype_filter_remove()
|
| /dpdk/drivers/net/igc/ |
| H A D | igc_flow.c | 44 struct igc_ethertype_filter ethertype; member 342 ether = &filter->ethertype; in igc_parse_pattern_ether() 594 filter->ethertype.queue = queue_idx; in igc_parse_action_queue() 732 flow = igc_alloc_flow(&filter.ethertype, in igc_flow_create() 734 sizeof(filter.ethertype)); in igc_flow_create() 736 ret = igc_add_ethertype_filter(dev, &filter.ethertype); in igc_flow_create()
|
| H A D | igc_filter.c | 26 uint16_t ethertype, int *empty) in igc_ethertype_filter_lookup() argument 36 if (igc->ethertype_filters[i].ether_type == ethertype) in igc_ethertype_filter_lookup() 49 if (igc->ethertype_filters[i].ether_type == ethertype) in igc_ethertype_filter_lookup()
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_1_8.rst | 22 * Support for ethertype filter
|
| H A D | release_2_0.rst | 83 * Support for ethertype filter
|
| /dpdk/examples/pipeline/examples/ |
| H A D | fib.spec | 32 bit<16> ethertype 88 mov h.ethernet.ethertype t.ethernet_ethertype
|
| H A D | vxlan.spec | 10 bit<16> ethertype 120 mov h.outer_ethernet.ethertype t.ethernet_ethertype
|
| H A D | registers.spec | 18 bit<16> ethertype
|
| H A D | meter.spec | 18 bit<16> ethertype
|
| H A D | varbit.spec | 19 bit<16> ethertype
|
| H A D | learner.spec | 25 bit<16> ethertype
|
| H A D | selector.spec | 35 bit<16> ethertype
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_vchnl.c | 576 uint32_t *ethertype; in iavf_config_vlan_strip_v2() local 583 ethertype = &vlan_strip.outer_ethertype_setting; in iavf_config_vlan_strip_v2() 586 ethertype = &vlan_strip.inner_ethertype_setting; in iavf_config_vlan_strip_v2() 592 *ethertype = VIRTCHNL_VLAN_ETHERTYPE_8100; in iavf_config_vlan_strip_v2() 616 uint32_t *ethertype; in iavf_config_vlan_insert_v2() local 623 ethertype = &vlan_insert.outer_ethertype_setting; in iavf_config_vlan_insert_v2() 626 ethertype = &vlan_insert.inner_ethertype_setting; in iavf_config_vlan_insert_v2() 632 *ethertype = VIRTCHNL_VLAN_ETHERTYPE_8100; in iavf_config_vlan_insert_v2()
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_filter.h | 86 uint16_t ethertype; member
|
| H A D | bnxt_flow.c | 278 filter->ethertype = in bnxt_validate_and_parse_flow_type() 327 filter->ethertype = in bnxt_validate_and_parse_flow_type() 801 if (mf->ethertype == nf->ethertype && in bnxt_find_matching_l2_filter() 879 if (nf->ethertype == RTE_ETHER_TYPE_IPV4) { in bnxt_create_l2_filter() 1855 mf->ethertype == nf->ethertype && in bnxt_match_filter()
|
| /dpdk/lib/ethdev/ |
| H A D | rte_flow.h | 3198 rte_be16_t ethertype; /**< EtherType. */ member 3228 rte_be16_t ethertype; /**< EtherType. */ member 3238 rte_be16_t ethertype; /**< EtherType. */ member
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_protocol_type.h | 369 struct ice_ethtype_hdr ethertype; member
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_npc.h | 199 uint16_t ethertype; /**< EtherType. */ member
|
| /dpdk/lib/pipeline/ |
| H A D | rte_table_action.c | 611 uint16_t ethertype = (common_cfg->ip_version) ? in encap_ether_apply() local 618 d->ether.ether_type = rte_htons(ethertype); in encap_ether_apply() 629 uint16_t ethertype = (common_cfg->ip_version) ? in encap_vlan_apply() local 642 d->vlan.eth_proto = rte_htons(ethertype); in encap_vlan_apply() 653 uint16_t ethertype = (common_cfg->ip_version) ? in encap_qinq_apply() local 672 d->cvlan.eth_proto = rte_htons(ethertype); in encap_qinq_apply() 714 uint16_t ethertype = (p->mpls.unicast) ? in encap_mpls_apply() local 722 d->ether.ether_type = rte_htons(ethertype); in encap_mpls_apply()
|
| /dpdk/drivers/net/qede/ |
| H A D | qede_rxtx.c | 1080 uint16_t ethertype; in qede_rx_cqe_to_pkt_type_outer() local 1086 ethertype = rte_cpu_to_be_16(eth_hdr->ether_type); in qede_rx_cqe_to_pkt_type_outer() 1089 if (ethertype == RTE_ETHER_TYPE_VLAN) { in qede_rx_cqe_to_pkt_type_outer() 1093 ethertype = rte_cpu_to_be_16(vlan_hdr->eth_proto); in qede_rx_cqe_to_pkt_type_outer() 1096 if (ethertype == RTE_ETHER_TYPE_IPV4) { in qede_rx_cqe_to_pkt_type_outer() 1104 } else if (ethertype == RTE_ETHER_TYPE_IPV6) { in qede_rx_cqe_to_pkt_type_outer()
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 2457 uint16_t ethertype; in ulp_rte_of_push_vlan_act_handler() local 2462 ethertype = push_vlan->ethertype; in ulp_rte_of_push_vlan_act_handler() 2463 if (tfp_cpu_to_be_16(ethertype) != RTE_ETHER_TYPE_VLAN) { in ulp_rte_of_push_vlan_act_handler() 2469 ðertype, BNXT_ULP_ACT_PROP_SZ_PUSH_VLAN); in ulp_rte_of_push_vlan_act_handler()
|
| /dpdk/drivers/net/e1000/ |
| H A D | e1000_ethdev.h | 243 uint16_t ethertype; member
|
| /dpdk/doc/guides/nics/ |
| H A D | txgbe.rst | 160 different patterns and actions. Like ethertype filter defines a rule in pattern:
|