| /f-stack/freebsd/netgraph/ |
| H A D | ng_etf.c | 137 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 D | ng_etf.h | 80 u_int16_t ethertype; /* this ethertype to this hook */ member
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | csumonly.c | 71 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 D | txgbe_ethdev.h | 114 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 D | ixgbe_ethdev.h | 316 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 D | ng_etf.h | 78 u_int16_t ethertype; /* this ethertype to this hook */ member
|
| /f-stack/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()
|
| /f-stack/dpdk/doc/guides/rel_notes/ |
| H A D | release_1_8.rst | 22 * Support for ethertype filter
|
| H A D | release_2_0.rst | 84 * Support for ethertype filter
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_flow.c | 274 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 D | bnxt_filter.h | 85 uint16_t ethertype; member
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_flow.h | 2510 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 D | vxlan.spec | 10 bit<16> ethertype
|
| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_protocol_type.h | 341 struct ice_ethtype_hdr ethertype; member
|
| H A D | ice_switch.h | 170 u16 ethertype; member
|
| /f-stack/dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 2024 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 ðertype, BNXT_ULP_ACT_PROP_SZ_PUSH_VLAN); in ulp_rte_of_push_vlan_act_handler()
|
| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_table_action.c | 613 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 D | qede_rxtx.c | 1083 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 D | virtio_net.c | 1800 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 D | e1000_ethdev.h | 242 uint16_t ethertype; member
|
| H A D | igb_ethdev.c | 4445 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 D | enic_fm_flow.c | 1029 uint16_t *ethertype; in enic_fm_copy_vxlan_encap() local 1048 ethertype = ð->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 D | mvpp2.rst | 381 * ethertype 508 * ETH: ethertype
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_switch_filter.c | 600 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()
|