Home
last modified time | relevance | path

Searched refs:ethertype (Results 1 – 25 of 53) sorted by relevance

123

/dpdk/app/test-pmd/
H A Dcsumonly.c74 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 Dtxgbe_ethdev.h223 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 Dixgbe_ethdev.h311 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 Digc_flow.c44 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 Digc_filter.c26 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 Drelease_1_8.rst22 * Support for ethertype filter
H A Drelease_2_0.rst83 * Support for ethertype filter
/dpdk/examples/pipeline/examples/
H A Dfib.spec32 bit<16> ethertype
88 mov h.ethernet.ethertype t.ethernet_ethertype
H A Dvxlan.spec10 bit<16> ethertype
120 mov h.outer_ethernet.ethertype t.ethernet_ethertype
H A Dregisters.spec18 bit<16> ethertype
H A Dmeter.spec18 bit<16> ethertype
H A Dvarbit.spec19 bit<16> ethertype
H A Dlearner.spec25 bit<16> ethertype
H A Dselector.spec35 bit<16> ethertype
/dpdk/drivers/net/iavf/
H A Diavf_vchnl.c576 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 Dbnxt_filter.h86 uint16_t ethertype; member
H A Dbnxt_flow.c278 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 Drte_flow.h3198 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 Dice_protocol_type.h369 struct ice_ethtype_hdr ethertype; member
/dpdk/drivers/common/cnxk/
H A Droc_npc.h199 uint16_t ethertype; /**< EtherType. */ member
/dpdk/lib/pipeline/
H A Drte_table_action.c611 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 Dqede_rxtx.c1080 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 Dulp_rte_parser.c2457 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 &ethertype, BNXT_ULP_ACT_PROP_SZ_PUSH_VLAN); in ulp_rte_of_push_vlan_act_handler()
/dpdk/drivers/net/e1000/
H A De1000_ethdev.h243 uint16_t ethertype; member
/dpdk/doc/guides/nics/
H A Dtxgbe.rst160 different patterns and actions. Like ethertype filter defines a rule in pattern:

123