Home
last modified time | relevance | path

Searched refs:rte_ether_hdr (Results 1 – 25 of 117) sorted by relevance

12345

/dpdk/lib/node/
H A Dethdev_rx.c71 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 Dip4_lookup_neon.h43 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 Dip4_lookup_sse.h40 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 Dl3fwd_em_sequential.h40 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 Dl3fwd_em.h10 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 Dl3fwd_em_hlm_neon.h16 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 Dl3fwd_em_hlm_sse.h16 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 Dl3fwd_lpm_sse.h19 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 Dl3fwd_lpm.h12 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 Dl3fwd_altivec.h72 ((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 Dl3fwd_sse.h52 ((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 Dl3fwd_lpm_altivec.h21 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 Dl3fwd_lpm_neon.h22 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 Dl3fwd_neon.h52 ((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 Dmacswap_neon.h19 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 Dmacswap_sse.h14 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 Dtxonly.c170 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 Drte_ether.h273 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 Dptpclient.c357 + 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 Dmlx5_defs.h57 #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 Dmain.c355 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 Dpipeline_acl.c42 .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 Dtest_flow_classify.c53 .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 Dpacket_burst_generator.c55 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 Dpacket_burst_generator.h27 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,

12345