| /f-stack/dpdk/app/test-pmd/ |
| H A D | ieee1588fwd.c | 99 uint16_t eth_type; in ieee1588_packet_fwd() local 115 eth_type = rte_be_to_cpu_16(eth_hdr->ether_type); in ieee1588_packet_fwd() 118 if (eth_type == RTE_ETHER_TYPE_1588) { in ieee1588_packet_fwd() 125 fs->rx_port, eth_type, in ieee1588_packet_fwd() 131 if (eth_type != RTE_ETHER_TYPE_1588) { in ieee1588_packet_fwd()
|
| H A D | icmpecho.c | 289 uint16_t eth_type; in reply_to_icmp_echo_rqsts() local 317 eth_type = RTE_BE_TO_CPU_16(eth_h->ether_type); in reply_to_icmp_echo_rqsts() 325 if (eth_type == RTE_ETHER_TYPE_VLAN) { in reply_to_icmp_echo_rqsts() 329 eth_type = rte_be_to_cpu_16(vlan_h->eth_proto); in reply_to_icmp_echo_rqsts() 337 printf(" type=0x%04x\n", eth_type); in reply_to_icmp_echo_rqsts() 341 if (eth_type == RTE_ETHER_TYPE_ARP) { in reply_to_icmp_echo_rqsts() 409 if (eth_type != RTE_ETHER_TYPE_IPV4) { in reply_to_icmp_echo_rqsts()
|
| H A D | util.c | 66 uint16_t eth_type; in dump_pkt_burst() local 91 eth_type = RTE_BE_TO_CPU_16(eth_hdr->ether_type); in dump_pkt_burst() 125 eth_type, (unsigned int) mb->pkt_len, in dump_pkt_burst()
|
| /f-stack/dpdk/drivers/net/tap/ |
| H A D | tap_flow.c | 137 uint16_t eth_type; member 536 info->eth_type = spec->type; in tap_flow_create_eth() 584 if (info->eth_type) in tap_flow_create_vlan() 644 if (info->eth_type && info->eth_type != htons(ETH_P_IP)) in tap_flow_create_ipv4() 652 if (!info->eth_type) in tap_flow_create_ipv4() 700 if (info->eth_type && info->eth_type != htons(ETH_P_IPV6)) in tap_flow_create_ipv6() 708 if (!info->eth_type) in tap_flow_create_ipv6() 1038 .eth_type = 0, in priv_flow_process() 1125 data.eth_type ? in priv_flow_process() 1127 } else if (data.eth_type) { in priv_flow_process() [all …]
|
| /f-stack/dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_mux.c | 140 uint16_t eth_type; in rte_pmd_dpaa2_mux_flow_create() local 149 eth_type = rte_constant_bswap16(spec->type); in rte_pmd_dpaa2_mux_flow_create() 150 memcpy((void *)key_iova, (const void *)ð_type, in rte_pmd_dpaa2_mux_flow_create()
|
| H A D | dpaa2_flow.c | 606 rte_be16_t eth_type; member 621 rte_be16_t eth_type; in dpaa2_flow_proto_discrimination_rule() local 646 eth_type = proto.eth_type; in dpaa2_flow_proto_discrimination_rule() 647 memcpy((void *)key_iova, (const void *)(ð_type), in dpaa2_flow_proto_discrimination_rule() 649 eth_type = 0xffff; in dpaa2_flow_proto_discrimination_rule() 650 memcpy((void *)mask_iova, (const void *)(ð_type), in dpaa2_flow_proto_discrimination_rule() 673 eth_type = proto.eth_type; in dpaa2_flow_proto_discrimination_rule() 674 memcpy((void *)key_iova, (const void *)(ð_type), in dpaa2_flow_proto_discrimination_rule() 676 eth_type = 0xffff; in dpaa2_flow_proto_discrimination_rule() 677 memcpy((void *)mask_iova, (const void *)(ð_type), in dpaa2_flow_proto_discrimination_rule() [all …]
|
| /f-stack/dpdk/drivers/net/hinic/ |
| H A D | hinic_pmd_tx.c | 784 u16 eth_type; in hinic_analyze_tx_info() local 787 eth_type = rte_be_to_cpu_16(eth_hdr->ether_type); in hinic_analyze_tx_info() 789 if (eth_type == RTE_ETHER_TYPE_VLAN) { in hinic_analyze_tx_info() 792 eth_type = rte_be_to_cpu_16(vlan_hdr->eth_proto); in hinic_analyze_tx_info() 797 if (eth_type == RTE_ETHER_TYPE_IPV4) { in hinic_analyze_tx_info() 801 } else if (eth_type == RTE_ETHER_TYPE_IPV6) { in hinic_analyze_tx_info() 814 u16 eth_type = 0; in hinic_analyze_outer_ip_vxlan() local 817 eth_type = rte_be_to_cpu_16(eth_hdr->ether_type); in hinic_analyze_outer_ip_vxlan() 819 if (eth_type == RTE_ETHER_TYPE_VLAN) { in hinic_analyze_outer_ip_vxlan() 824 if (eth_type == RTE_ETHER_TYPE_IPV4) { in hinic_analyze_outer_ip_vxlan() [all …]
|
| H A D | hinic_pmd_flow.c | 1795 lacp_rule.eth_type = PA_ETH_TYPE_OTHER; in hinic_set_lacp_tcam() 1796 lacp_rule.l2_header.eth_type.val16 = 0x8809; in hinic_set_lacp_tcam() 1797 lacp_rule.l2_header.eth_type.mask16 = 0xffff; in hinic_set_lacp_tcam() 1818 bgp_rule.eth_type = PA_ETH_TYPE_IPV4; /* Eth type is IPV4 */ in hinic_set_bgp_dport_tcam() 1846 bgp_rule.eth_type = PA_ETH_TYPE_IPV4; in hinic_set_bgp_sport_tcam() 1874 vrrp_rule.eth_type = PA_ETH_TYPE_IPV4; in hinic_set_vrrp_tcam()
|
| /f-stack/dpdk/drivers/net/ark/ |
| H A D | ark_pktchkr.h | 54 uint32_t eth_type; member
|
| H A D | ark_pktgen.h | 40 uint32_t eth_type; member
|
| H A D | ark_pktgen.c | 278 inst->regs->eth_type = x; in ark_pktgen_set_eth_type()
|
| H A D | ark_pktchkr.c | 281 inst->cregs->eth_type = x; in ark_pktchkr_set_eth_type()
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | ptpclient.rst | 209 uint16_t eth_type; 212 eth_type = rte_be_to_cpu_16(eth_hdr->ether_type); 214 if (eth_type == PTP_PROTOCOL) {
|
| /f-stack/dpdk/examples/ptpclient/ |
| H A D | ptpclient.c | 567 uint16_t eth_type; in parse_ptp_frames() local 570 eth_type = rte_be_to_cpu_16(eth_hdr->ether_type); in parse_ptp_frames() 572 if (eth_type == PTP_PROTOCOL) { in parse_ptp_frames()
|
| /f-stack/dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 652 uint16_t eth_type = 0; in ulp_rte_eth_hdr_handler() local 679 eth_type = eth_spec->type; in ulp_rte_eth_hdr_handler() 711 ulp_rte_l2_proto_type_update(params, eth_type, inner_flag); in ulp_rte_eth_hdr_handler() 729 uint16_t eth_type = 0; in ulp_rte_vlan_hdr_handler() local 751 eth_type = vlan_spec->inner_type; in ulp_rte_vlan_hdr_handler() 846 ulp_rte_l2_proto_type_update(params, eth_type, inner_flag); in ulp_rte_vlan_hdr_handler()
|
| /f-stack/dpdk/drivers/net/hinic/base/ |
| H A D | hinic_pmd_niccfg.h | 665 struct pa_u16_s eth_type; /* ethernet type/length 16bit */ member 713 u8 eth_type; member
|
| /f-stack/freebsd/mips/nlm/dev/net/ |
| H A D | nae.c | 909 uint32_t l2proto, uint32_t eth_type) in nlm_setup_l3ctable_even() argument 917 (eth_type & 0xffff); in nlm_setup_l3ctable_even()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_bpf.c | 1040 uint16_t eth_type; in test_jump2_check() local 1046 eth_type = vlan_hdr->eth_proto; in test_jump2_check() 1049 eth_type = eth_hdr->ether_type; in test_jump2_check() 1053 if (eth_type == htons(0x0800)) { in test_jump2_check()
|
| /f-stack/lib/ |
| H A D | ff_dpdk_if.c | 1011 struct rte_flow_item_eth eth_type = {.type = RTE_BE16(0x0806)}; in init_flow() local 1020 pattern_[0].spec = ð_type; in init_flow()
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | tap.rst | 110 - eth: src and dst (with variable masks), and eth_type (0xffff mask).
|