Home
last modified time | relevance | path

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

12

/f-stack/freebsd/netgraph/
H A Dng_etf.c137 u_int16_t ethertype; /* network order ethertype */ member
158 ng_etf_findentry(etf_p etfp, u_int16_t ethertype) in ng_etf_findentry() argument
160 struct filterhead *chain = etfp->hashtable + HASH(ethertype); in ng_etf_findentry()
164 if (fil->ethertype == ethertype) { in ng_etf_findentry()
308 htons(f->ethertype))) { in ng_etf_rcvmsg()
325 fil->ethertype = htons(f->ethertype); in ng_etf_rcvmsg()
327 + HASH(fil->ethertype), in ng_etf_rcvmsg()
370 u_int16_t ethertype; in ng_etf_rcvdata() local
394 ethertype = eh->ether_type; in ng_etf_rcvdata()
395 fil = ng_etf_findentry(etfp, ethertype); in ng_etf_rcvdata()
H A Dng_etf.h80 u_int16_t ethertype; /* this ethertype to this hook */ member
/f-stack/dpdk/app/test-pmd/
H A Dcsumonly.c71 uint16_t ethertype; member
96 if (ethertype == _htons(RTE_ETHER_TYPE_IPV4)) in get_udptcp_checksum()
155 info->ethertype = eth_hdr->ether_type; in parse_ethernet()
162 info->ethertype = vlan_hdr->eth_proto; in parse_ethernet()
165 switch (info->ethertype) { in parse_ethernet()
189 info->outer_ethertype = info->ethertype; in update_tunnel_outer()
243 info->ethertype = 0; in parse_gtp()
304 info->ethertype = _htons(RTE_ETHER_TYPE_IPV4); in parse_vxlan_gpe()
440 info->outer_ethertype = info->ethertype; in parse_encap_ip()
510 info->ethertype); in process_inner_cksums()
[all …]
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev.h114 uint16_t ethertype; member
307 uint16_t ethertype) in txgbe_ethertype_filter_lookup() argument
312 if (filter_info->ethertype_filters[i].ethertype == ethertype && in txgbe_ethertype_filter_lookup()
330 filter_info->ethertype_filters[i].ethertype = in txgbe_ethertype_filter_insert()
331 ethertype_filter->ethertype; in txgbe_ethertype_filter_insert()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.h316 uint16_t ethertype; member
784 uint16_t ethertype) in ixgbe_ethertype_filter_lookup() argument
789 if (filter_info->ethertype_filters[i].ethertype == ethertype && in ixgbe_ethertype_filter_lookup()
805 filter_info->ethertype_filters[i].ethertype = in ixgbe_ethertype_filter_insert()
806 ethertype_filter->ethertype; in ixgbe_ethertype_filter_insert()
826 filter_info->ethertype_filters[idx].ethertype = 0; in ixgbe_ethertype_filter_remove()
/f-stack/tools/compat/include/netgraph/
H A Dng_etf.h78 u_int16_t ethertype; /* this ethertype to this hook */ member
/f-stack/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()
/f-stack/dpdk/doc/guides/rel_notes/
H A Drelease_1_8.rst22 * Support for ethertype filter
H A Drelease_2_0.rst84 * Support for ethertype filter
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_flow.c274 filter->ethertype = in bnxt_validate_and_parse_flow_type()
318 filter->ethertype = in bnxt_validate_and_parse_flow_type()
772 if (mf->ethertype == nf->ethertype && in bnxt_find_matching_l2_filter()
850 if (nf->ethertype == RTE_ETHER_TYPE_IPV4) { in bnxt_create_l2_filter()
1589 mf->ethertype == nf->ethertype && in bnxt_match_filter()
H A Dbnxt_filter.h85 uint16_t ethertype; member
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_flow.h2510 rte_be16_t ethertype; /**< EtherType. */ member
2540 rte_be16_t ethertype; /**< EtherType. */ member
2550 rte_be16_t ethertype; /**< EtherType. */ member
/f-stack/dpdk/examples/pipeline/examples/
H A Dvxlan.spec10 bit<16> ethertype
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_protocol_type.h341 struct ice_ethtype_hdr ethertype; member
H A Dice_switch.h170 u16 ethertype; member
/f-stack/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c2024 uint16_t ethertype; in ulp_rte_of_push_vlan_act_handler() local
2029 ethertype = push_vlan->ethertype; in ulp_rte_of_push_vlan_act_handler()
2030 if (tfp_cpu_to_be_16(ethertype) != RTE_ETHER_TYPE_VLAN) { in ulp_rte_of_push_vlan_act_handler()
2036 &ethertype, BNXT_ULP_ACT_PROP_SZ_PUSH_VLAN); in ulp_rte_of_push_vlan_act_handler()
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_table_action.c613 uint16_t ethertype = (common_cfg->ip_version) ? in encap_ether_apply() local
620 d->ether.ether_type = rte_htons(ethertype); in encap_ether_apply()
631 uint16_t ethertype = (common_cfg->ip_version) ? in encap_vlan_apply() local
644 d->vlan.eth_proto = rte_htons(ethertype); in encap_vlan_apply()
655 uint16_t ethertype = (common_cfg->ip_version) ? in encap_qinq_apply() local
674 d->cvlan.eth_proto = rte_htons(ethertype); in encap_qinq_apply()
716 uint16_t ethertype = (p->mpls.unicast) ? in encap_mpls_apply() local
724 d->ether.ether_type = rte_htons(ethertype); in encap_mpls_apply()
/f-stack/dpdk/drivers/net/qede/
H A Dqede_rxtx.c1083 uint16_t ethertype; in qede_rx_cqe_to_pkt_type_outer() local
1089 ethertype = rte_cpu_to_be_16(eth_hdr->ether_type); in qede_rx_cqe_to_pkt_type_outer()
1092 if (ethertype == RTE_ETHER_TYPE_VLAN) { in qede_rx_cqe_to_pkt_type_outer()
1096 ethertype = rte_cpu_to_be_16(vlan_hdr->eth_proto); in qede_rx_cqe_to_pkt_type_outer()
1099 if (ethertype == RTE_ETHER_TYPE_IPV4) { in qede_rx_cqe_to_pkt_type_outer()
1107 } else if (ethertype == RTE_ETHER_TYPE_IPV6) { in qede_rx_cqe_to_pkt_type_outer()
/f-stack/dpdk/lib/librte_vhost/
H A Dvirtio_net.c1800 uint16_t ethertype; in parse_ethernet() local
1805 ethertype = rte_be_to_cpu_16(eth_hdr->ether_type); in parse_ethernet()
1807 if (ethertype == RTE_ETHER_TYPE_VLAN) { in parse_ethernet()
1812 ethertype = rte_be_to_cpu_16(vlan_hdr->eth_proto); in parse_ethernet()
1817 switch (ethertype) { in parse_ethernet()
/f-stack/dpdk/drivers/net/e1000/
H A De1000_ethdev.h242 uint16_t ethertype; member
H A Digb_ethdev.c4445 uint16_t ethertype) in igb_ethertype_filter_lookup() argument
4450 if (filter_info->ethertype_filters[i].ethertype == ethertype && in igb_ethertype_filter_lookup()
4459 uint16_t ethertype, uint32_t etqf) in igb_ethertype_filter_insert() argument
4466 filter_info->ethertype_filters[i].ethertype = ethertype; in igb_ethertype_filter_insert()
4481 filter_info->ethertype_filters[idx].ethertype = 0; in igb_ethertype_filter_remove()
/f-stack/dpdk/drivers/net/enic/
H A Denic_fm_flow.c1029 uint16_t *ethertype; in enic_fm_copy_vxlan_encap() local
1048 ethertype = &eth->ether_type; in enic_fm_copy_vxlan_encap()
1070 *ethertype = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in enic_fm_copy_vxlan_encap()
1095 *ethertype = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV6); in enic_fm_copy_vxlan_encap()
1529 if (vlan->ethertype != RTE_BE16(RTE_ETHER_TYPE_VLAN)) { in enic_fm_copy_action()
/f-stack/dpdk/doc/guides/nics/
H A Dmvpp2.rst381 * ethertype
508 * ETH: ethertype
/f-stack/dpdk/drivers/net/ice/
H A Dice_switch_filter.c600 list[t].h_u.ethertype.ethtype_id = in ice_switch_inset_get()
602 list[t].m_u.ethertype.ethtype_id = in ice_switch_inset_get()

12