| /dpdk/lib/node/ |
| H A D | ethdev_rx.c | 71 struct rte_ether_hdr *eth_hdr; in eth_pkt_parse_cb() 92 rte_pktmbuf_mtod(pkts[4], struct rte_ether_hdr *)); in eth_pkt_parse_cb() 94 rte_pktmbuf_mtod(pkts[5], struct rte_ether_hdr *)); in eth_pkt_parse_cb() 96 rte_pktmbuf_mtod(pkts[6], struct rte_ether_hdr *)); in eth_pkt_parse_cb() 98 rte_pktmbuf_mtod(pkts[7], struct rte_ether_hdr *)); in eth_pkt_parse_cb() 108 eth_hdr = rte_pktmbuf_mtod(mbuf0, struct rte_ether_hdr *); in eth_pkt_parse_cb() 113 eth_hdr = rte_pktmbuf_mtod(mbuf1, struct rte_ether_hdr *); in eth_pkt_parse_cb() 118 eth_hdr = rte_pktmbuf_mtod(mbuf2, struct rte_ether_hdr *); in eth_pkt_parse_cb() 123 eth_hdr = rte_pktmbuf_mtod(mbuf3, struct rte_ether_hdr *); in eth_pkt_parse_cb() 135 eth_hdr = rte_pktmbuf_mtod(mbuf0, struct rte_ether_hdr *); in eth_pkt_parse_cb()
|
| H A D | ip4_lookup_neon.h | 43 sizeof(struct rte_ether_hdr))); in ip4_lookup_node_process_vec() 61 sizeof(struct rte_ether_hdr))); in ip4_lookup_node_process_vec() 63 sizeof(struct rte_ether_hdr))); in ip4_lookup_node_process_vec() 65 sizeof(struct rte_ether_hdr))); in ip4_lookup_node_process_vec() 67 sizeof(struct rte_ether_hdr))); in ip4_lookup_node_process_vec() 80 sizeof(struct rte_ether_hdr)); in ip4_lookup_node_process_vec() 88 sizeof(struct rte_ether_hdr)); in ip4_lookup_node_process_vec() 96 sizeof(struct rte_ether_hdr)); in ip4_lookup_node_process_vec() 104 sizeof(struct rte_ether_hdr)); in ip4_lookup_node_process_vec() 196 sizeof(struct rte_ether_hdr)); in ip4_lookup_node_process_vec()
|
| H A D | ip4_lookup_sse.h | 40 sizeof(struct rte_ether_hdr))); in ip4_lookup_node_process_vec() 57 sizeof(struct rte_ether_hdr))); in ip4_lookup_node_process_vec() 59 sizeof(struct rte_ether_hdr))); in ip4_lookup_node_process_vec() 61 sizeof(struct rte_ether_hdr))); in ip4_lookup_node_process_vec() 63 sizeof(struct rte_ether_hdr))); in ip4_lookup_node_process_vec() 76 sizeof(struct rte_ether_hdr)); in ip4_lookup_node_process_vec() 84 sizeof(struct rte_ether_hdr)); in ip4_lookup_node_process_vec() 92 sizeof(struct rte_ether_hdr)); in ip4_lookup_node_process_vec() 100 sizeof(struct rte_ether_hdr)); in ip4_lookup_node_process_vec() 201 sizeof(struct rte_ether_hdr)); in ip4_lookup_node_process_vec()
|
| /dpdk/examples/l3fwd/ |
| H A D | l3fwd_em_sequential.h | 40 sizeof(struct rte_ether_hdr)); in em_get_dst_port() 55 sizeof(struct rte_ether_hdr)); in em_get_dst_port() 84 struct rte_ether_hdr *) + 1); in l3fwd_em_send_packets() 91 struct rte_ether_hdr *) + 1); in l3fwd_em_send_packets() 110 struct rte_ether_hdr *) + 1); in l3fwd_em_process_events() 118 struct rte_ether_hdr *) + 1); in l3fwd_em_process_events() 132 rte_prefetch0(rte_pktmbuf_mtod(mbufs[0], struct rte_ether_hdr *) + 1); in l3fwd_em_process_event_vector() 140 struct rte_ether_hdr *) + in l3fwd_em_process_event_vector()
|
| H A D | l3fwd_em.h | 10 struct rte_ether_hdr *eth_hdr, struct lcore_conf *qconf) in l3fwd_em_handle_ipv4() 17 sizeof(struct rte_ether_hdr)); in l3fwd_em_handle_ipv4() 50 struct rte_ether_hdr *eth_hdr, struct lcore_conf *qconf) in l3fwd_em_handle_ipv6() 57 sizeof(struct rte_ether_hdr)); in l3fwd_em_handle_ipv6() 80 struct rte_ether_hdr *eth_hdr; in l3fwd_em_simple_forward() 85 eth_hdr = rte_pktmbuf_mtod(m, struct rte_ether_hdr *); in l3fwd_em_simple_forward() 104 struct rte_ether_hdr *eth_hdr; in l3fwd_em_simple_process() 108 eth_hdr = rte_pktmbuf_mtod(m, struct rte_ether_hdr *); in l3fwd_em_simple_process()
|
| H A D | l3fwd_em_hlm_neon.h | 16 sizeof(struct rte_ether_hdr) + in get_ipv4_5tuple() 28 sizeof(struct rte_ether_hdr) + in get_ipv6_5tuple() 33 sizeof(struct rte_ether_hdr) + in get_ipv6_5tuple() 38 sizeof(struct rte_ether_hdr) + in get_ipv6_5tuple()
|
| H A D | l3fwd_em_hlm_sse.h | 16 sizeof(struct rte_ether_hdr) + in get_ipv4_5tuple() 28 sizeof(struct rte_ether_hdr) + in get_ipv6_5tuple() 33 sizeof(struct rte_ether_hdr) + in get_ipv6_5tuple() 39 sizeof(struct rte_ether_hdr) + in get_ipv6_5tuple()
|
| H A D | l3fwd_lpm_sse.h | 19 struct rte_ether_hdr *eth_hdr; in processx4_step1() 22 eth_hdr = rte_pktmbuf_mtod(pkt[0], struct rte_ether_hdr *); in processx4_step1() 27 eth_hdr = rte_pktmbuf_mtod(pkt[1], struct rte_ether_hdr *); in processx4_step1() 32 eth_hdr = rte_pktmbuf_mtod(pkt[2], struct rte_ether_hdr *); in processx4_step1() 37 eth_hdr = rte_pktmbuf_mtod(pkt[3], struct rte_ether_hdr *); in processx4_step1()
|
| H A D | l3fwd_lpm.h | 12 struct rte_ether_hdr *eth_hdr; in l3fwd_lpm_simple_forward() 16 eth_hdr = rte_pktmbuf_mtod(m, struct rte_ether_hdr *); in l3fwd_lpm_simple_forward() 21 sizeof(struct rte_ether_hdr)); in l3fwd_lpm_simple_forward() 55 sizeof(struct rte_ether_hdr)); in l3fwd_lpm_simple_forward()
|
| H A D | l3fwd_altivec.h | 72 ((struct rte_ether_hdr *)p[0] + 1), in processx4_step3() 75 ((struct rte_ether_hdr *)p[1] + 1), in processx4_step3() 78 ((struct rte_ether_hdr *)p[2] + 1), in processx4_step3() 81 ((struct rte_ether_hdr *)p[3] + 1), in processx4_step3() 129 struct rte_ether_hdr *eth_hdr; in process_packet() 132 eth_hdr = rte_pktmbuf_mtod(pkt, struct rte_ether_hdr *); in process_packet()
|
| H A D | l3fwd_sse.h | 52 ((struct rte_ether_hdr *)p[0] + 1), in processx4_step3() 55 ((struct rte_ether_hdr *)p[1] + 1), in processx4_step3() 58 ((struct rte_ether_hdr *)p[2] + 1), in processx4_step3() 61 ((struct rte_ether_hdr *)p[3] + 1), in processx4_step3() 108 struct rte_ether_hdr *eth_hdr; in process_packet() 111 eth_hdr = rte_pktmbuf_mtod(pkt, struct rte_ether_hdr *); in process_packet()
|
| H A D | l3fwd_lpm_altivec.h | 21 struct rte_ether_hdr *eth_hdr; in processx4_step1() 24 eth_hdr = rte_pktmbuf_mtod(pkt[0], struct rte_ether_hdr *); in processx4_step1() 30 eth_hdr = rte_pktmbuf_mtod(pkt[1], struct rte_ether_hdr *); in processx4_step1() 36 eth_hdr = rte_pktmbuf_mtod(pkt[2], struct rte_ether_hdr *); in processx4_step1() 42 eth_hdr = rte_pktmbuf_mtod(pkt[3], struct rte_ether_hdr *); in processx4_step1()
|
| H A D | l3fwd_lpm_neon.h | 22 struct rte_ether_hdr *eth_hdr; in processx4_step1() 25 eth_hdr = rte_pktmbuf_mtod(pkt[0], struct rte_ether_hdr *); in processx4_step1() 30 eth_hdr = rte_pktmbuf_mtod(pkt[1], struct rte_ether_hdr *); in processx4_step1() 35 eth_hdr = rte_pktmbuf_mtod(pkt[2], struct rte_ether_hdr *); in processx4_step1() 40 eth_hdr = rte_pktmbuf_mtod(pkt[3], struct rte_ether_hdr *); in processx4_step1()
|
| H A D | l3fwd_neon.h | 52 ((struct rte_ether_hdr *)p[0] + 1), in processx4_step3() 55 ((struct rte_ether_hdr *)p[1] + 1), in processx4_step3() 58 ((struct rte_ether_hdr *)p[2] + 1), in processx4_step3() 61 ((struct rte_ether_hdr *)p[3] + 1), in processx4_step3() 111 struct rte_ether_hdr *eth_hdr; in process_packet() 114 eth_hdr = rte_pktmbuf_mtod(pkt, struct rte_ether_hdr *); in process_packet()
|
| /dpdk/app/test-pmd/ |
| H A D | macswap_neon.h | 19 struct rte_ether_hdr *eth_hdr[4]; in do_macswap() 49 eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *); in do_macswap() 52 eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *); in do_macswap() 55 eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *); in do_macswap() 58 eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *); in do_macswap() 86 eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *); in do_macswap()
|
| H A D | macswap_sse.h | 14 struct rte_ether_hdr *eth_hdr[4]; in do_macswap() 46 eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *); in do_macswap() 50 eth_hdr[1] = rte_pktmbuf_mtod(mb[1], struct rte_ether_hdr *); in do_macswap() 55 eth_hdr[2] = rte_pktmbuf_mtod(mb[2], struct rte_ether_hdr *); in do_macswap() 59 eth_hdr[3] = rte_pktmbuf_mtod(mb[3], struct rte_ether_hdr *); in do_macswap() 83 eth_hdr[0] = rte_pktmbuf_mtod(mb[0], struct rte_ether_hdr *); in do_macswap()
|
| H A D | txonly.c | 170 sizeof(struct rte_ether_hdr) + in update_pkt_header() 175 sizeof(struct rte_ether_hdr) + in update_pkt_header() 182 sizeof(struct rte_ether_hdr)); in update_pkt_header() 191 struct rte_ether_hdr *eth_hdr, const uint16_t vlan_tci, in pkt_burst_prepare() 216 pkt->l2_len = sizeof(struct rte_ether_hdr); in pkt_burst_prepare() 233 sizeof(struct rte_ether_hdr)); in pkt_burst_prepare() 241 sizeof(struct rte_ether_hdr)); in pkt_burst_prepare() 254 sizeof(struct rte_ether_hdr) + in pkt_burst_prepare() 310 sizeof(struct rte_ether_hdr) + in pkt_burst_prepare() 334 struct rte_ether_hdr eth_hdr; in pkt_burst_transmit() [all …]
|
| /dpdk/lib/net/ |
| H A D | rte_ether.h | 273 struct rte_ether_hdr { struct 326 struct rte_ether_hdr *eh in rte_vlan_strip() 327 = rte_pktmbuf_mtod(m, struct rte_ether_hdr *); in rte_vlan_strip() 358 struct rte_ether_hdr *oh, *nh; in rte_vlan_insert() 369 oh = rte_pktmbuf_mtod(*m, struct rte_ether_hdr *); in rte_vlan_insert() 370 nh = (struct rte_ether_hdr *)(void *) in rte_vlan_insert()
|
| /dpdk/examples/ptpclient/ |
| H A D | ptpclient.c | 357 + sizeof(struct rte_ether_hdr)); in parse_sync() 384 struct rte_ether_hdr *eth_hdr; in parse_fup() 398 eth_hdr = rte_pktmbuf_mtod(m, struct rte_ether_hdr *); in parse_fup() 400 + sizeof(struct rte_ether_hdr)); in parse_fup() 408 sizeof(struct rte_ether_hdr)); in parse_fup() 426 pkt_size = sizeof(struct rte_ether_hdr) + in parse_fup() 444 rte_ether_hdr)); in parse_fup() 540 sizeof(struct rte_ether_hdr)); in parse_drsp() 578 struct rte_ether_hdr *eth_hdr; in parse_ptp_frames() 581 eth_hdr = rte_pktmbuf_mtod(m, struct rte_ether_hdr *); in parse_ptp_frames() [all …]
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_defs.h | 57 #define MLX5_INLINE_HSIZE_L2 (sizeof(struct rte_ether_hdr) + \ 66 sizeof(struct rte_ether_hdr) + \ 151 #define MLX5_TXPP_TEST_PKT_SIZE (sizeof(struct rte_ether_hdr) + \
|
| /dpdk/examples/bbdev_app/ |
| H A D | main.c | 355 struct rte_ether_hdr *eth_from; in add_ether_hdr() 356 struct rte_ether_hdr *eth_to; in add_ether_hdr() 391 sizeof(struct rte_ether_hdr); in transform_enc_out_dec_in() 409 sizeof(struct rte_ether_hdr) + in transform_enc_out_dec_in() 438 sizeof(struct rte_ether_hdr)), in verify_data() 440 sizeof(struct rte_ether_hdr)), in verify_data() 735 sizeof(struct rte_ether_hdr); in run_encoding() 756 sizeof(struct rte_ether_hdr); in run_encoding() 774 sizeof(struct rte_ether_hdr); in run_encoding() 862 sizeof(struct rte_ether_hdr); in run_decoding() [all …]
|
| /dpdk/app/test-pipeline/ |
| H A D | pipeline_acl.c | 42 .offset = sizeof(struct rte_ether_hdr) + 50 .offset = sizeof(struct rte_ether_hdr) + 58 .offset = sizeof(struct rte_ether_hdr) + 66 .offset = sizeof(struct rte_ether_hdr) + 74 .offset = sizeof(struct rte_ether_hdr) +
|
| /dpdk/app/test/ |
| H A D | test_flow_classify.c | 53 .offset = sizeof(struct rte_ether_hdr) + 63 .offset = sizeof(struct rte_ether_hdr) + 73 .offset = sizeof(struct rte_ether_hdr) + 86 .offset = sizeof(struct rte_ether_hdr) + 96 .offset = sizeof(struct rte_ether_hdr) + 477 struct rte_ether_hdr pkt_eth_hdr; in init_ipv4_udp_traffic() 493 pktlen = (uint16_t)(sizeof(struct rte_ether_hdr)); in init_ipv4_udp_traffic() 514 struct rte_ether_hdr pkt_eth_hdr; in init_ipv4_tcp_traffic() 530 pktlen = (uint16_t)(sizeof(struct rte_ether_hdr)); in init_ipv4_tcp_traffic() 551 struct rte_ether_hdr pkt_eth_hdr; in init_ipv4_sctp_traffic() [all …]
|
| H A D | packet_burst_generator.c | 55 initialize_eth_header(struct rte_ether_hdr *eth_hdr, in initialize_eth_header() 65 (uint8_t *)eth_hdr + sizeof(struct rte_ether_hdr)); in initialize_eth_header() 262 struct rte_ether_hdr *eth_hdr, uint8_t vlan_enabled, in generate_packet_burst() 299 eth_hdr_size = sizeof(struct rte_ether_hdr) + in generate_packet_burst() 302 eth_hdr_size = sizeof(struct rte_ether_hdr); in generate_packet_burst() 342 struct rte_mbuf **pkts_burst, struct rte_ether_hdr *eth_hdr, in generate_packet_burst_proto() 380 eth_hdr_size = sizeof(struct rte_ether_hdr) + in generate_packet_burst_proto() 383 eth_hdr_size = sizeof(struct rte_ether_hdr); in generate_packet_burst_proto()
|
| H A D | packet_burst_generator.h | 27 initialize_eth_header(struct rte_ether_hdr *eth_hdr, 63 struct rte_ether_hdr *eth_hdr, uint8_t vlan_enabled, 69 struct rte_mbuf **pkts_burst, struct rte_ether_hdr *eth_hdr,
|