Home
last modified time | relevance | path

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

12345

/f-stack/dpdk/examples/l3fwd/
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()
101 struct rte_ether_hdr *) + 1); in l3fwd_lpm_send_packets()
108 struct rte_ether_hdr *) + 1); in l3fwd_lpm_send_packets()
128 struct rte_ether_hdr *) + 1); in l3fwd_lpm_send_packets()
133 struct rte_ether_hdr *) + 1); in l3fwd_lpm_send_packets()
138 struct rte_ether_hdr *) + 1); in l3fwd_lpm_send_packets()
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()
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.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_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_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_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()
128 struct rte_ether_hdr *eth_hdr; in process_packet()
131 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_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()
H A Dl3fwd_lpm.c111 struct rte_ether_hdr *eth_hdr; in lpm_get_dst_port()
115 eth_hdr = rte_pktmbuf_mtod(pkt, struct rte_ether_hdr *); in lpm_get_dst_port()
122 eth_hdr = rte_pktmbuf_mtod(pkt, struct rte_ether_hdr *); in lpm_get_dst_port()
143 struct rte_ether_hdr *eth_hdr; in lpm_get_dst_port_with_ipv4()
152 eth_hdr = rte_pktmbuf_mtod(pkt, struct rte_ether_hdr *); in lpm_get_dst_port_with_ipv4()
267 struct rte_ether_hdr *eth_hdr = rte_pktmbuf_mtod(mbuf, in lpm_process_event_pkt()
268 struct rte_ether_hdr *); in lpm_process_event_pkt()
275 sizeof(struct rte_ether_hdr)); in lpm_process_event_pkt()
585 struct rte_ether_hdr *eth_hdr; in lpm_parse_ptype()
589 eth_hdr = rte_pktmbuf_mtod(m, struct rte_ether_hdr *); in lpm_parse_ptype()
/f-stack/dpdk/lib/librte_node/
H A Dethdev_rx.c72 struct rte_ether_hdr *eth_hdr; in eth_pkt_parse_cb()
93 rte_pktmbuf_mtod(pkts[4], struct rte_ether_hdr *)); in eth_pkt_parse_cb()
95 rte_pktmbuf_mtod(pkts[5], struct rte_ether_hdr *)); in eth_pkt_parse_cb()
97 rte_pktmbuf_mtod(pkts[6], struct rte_ether_hdr *)); in eth_pkt_parse_cb()
99 rte_pktmbuf_mtod(pkts[7], struct rte_ether_hdr *)); in eth_pkt_parse_cb()
109 eth_hdr = rte_pktmbuf_mtod(mbuf0, struct rte_ether_hdr *); in eth_pkt_parse_cb()
114 eth_hdr = rte_pktmbuf_mtod(mbuf1, struct rte_ether_hdr *); in eth_pkt_parse_cb()
119 eth_hdr = rte_pktmbuf_mtod(mbuf2, struct rte_ether_hdr *); in eth_pkt_parse_cb()
124 eth_hdr = rte_pktmbuf_mtod(mbuf3, struct rte_ether_hdr *); in eth_pkt_parse_cb()
136 eth_hdr = rte_pktmbuf_mtod(mbuf0, struct rte_ether_hdr *); in eth_pkt_parse_cb()
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()
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()
/f-stack/dpdk/app/test-pmd/
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 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 Dtxonly.c168 sizeof(struct rte_ether_hdr) + in update_pkt_header()
173 sizeof(struct rte_ether_hdr) + in update_pkt_header()
180 sizeof(struct rte_ether_hdr)); in update_pkt_header()
189 struct rte_ether_hdr *eth_hdr, const uint16_t vlan_tci, in pkt_burst_prepare()
214 pkt->l2_len = sizeof(struct rte_ether_hdr); in pkt_burst_prepare()
231 sizeof(struct rte_ether_hdr)); in pkt_burst_prepare()
239 sizeof(struct rte_ether_hdr)); in pkt_burst_prepare()
252 sizeof(struct rte_ether_hdr) + in pkt_burst_prepare()
303 sizeof(struct rte_ether_hdr) + in pkt_burst_prepare()
327 struct rte_ether_hdr eth_hdr; in pkt_burst_transmit()
[all …]
/f-stack/dpdk/lib/librte_net/
H A Drte_ether.h264 struct rte_ether_hdr { struct
317 struct rte_ether_hdr *eh in rte_vlan_strip()
318 = rte_pktmbuf_mtod(m, struct rte_ether_hdr *); in rte_vlan_strip()
349 struct rte_ether_hdr *oh, *nh; in rte_vlan_insert()
360 oh = rte_pktmbuf_mtod(*m, struct rte_ether_hdr *); in rte_vlan_insert()
361 nh = (struct rte_ether_hdr *) in rte_vlan_insert()
/f-stack/dpdk/examples/performance-thread/l3fwd-thread/
H A Dmain.c101 struct rte_ether_hdr *eth_hdr; in parse_ptype()
913 sizeof(struct rte_ether_hdr)); in simple_ipv4_fwd_8pkts()
915 sizeof(struct rte_ether_hdr)); in simple_ipv4_fwd_8pkts()
917 sizeof(struct rte_ether_hdr)); in simple_ipv4_fwd_8pkts()
919 sizeof(struct rte_ether_hdr)); in simple_ipv4_fwd_8pkts()
921 sizeof(struct rte_ether_hdr)); in simple_ipv4_fwd_8pkts()
923 sizeof(struct rte_ether_hdr)); in simple_ipv4_fwd_8pkts()
1240 struct rte_ether_hdr *eth_hdr; in l3fwd_simple_forward()
1360 struct rte_ether_hdr *eth_hdr; in get_dst_port()
1385 struct rte_ether_hdr *eth_hdr; in process_packet()
[all …]
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_defs.h66 #define MLX5_INLINE_HSIZE_L2 (sizeof(struct rte_ether_hdr) + \
75 sizeof(struct rte_ether_hdr) + \
181 #define MLX5_TXPP_TEST_PKT_SIZE (sizeof(struct rte_ether_hdr) + \
/f-stack/dpdk/examples/ptpclient/
H A Dptpclient.c353 + sizeof(struct rte_ether_hdr)); in parse_sync()
380 struct rte_ether_hdr *eth_hdr; in parse_fup()
393 eth_hdr = rte_pktmbuf_mtod(m, struct rte_ether_hdr *); in parse_fup()
395 + sizeof(struct rte_ether_hdr)); in parse_fup()
403 sizeof(struct rte_ether_hdr)); in parse_fup()
421 pkt_size = sizeof(struct rte_ether_hdr) + in parse_fup()
434 sizeof(struct rte_ether_hdr)); in parse_fup()
530 sizeof(struct rte_ether_hdr)); in parse_drsp()
566 struct rte_ether_hdr *eth_hdr; in parse_ptp_frames()
569 eth_hdr = rte_pktmbuf_mtod(m, struct rte_ether_hdr *); in parse_ptp_frames()
[all …]
/f-stack/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) +
/f-stack/dpdk/app/test/
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,
/f-stack/dpdk/examples/bbdev_app/
H A Dmain.c362 struct rte_ether_hdr *eth_from; in add_ether_hdr()
363 struct rte_ether_hdr *eth_to; in add_ether_hdr()
398 sizeof(struct rte_ether_hdr); in transform_enc_out_dec_in()
416 sizeof(struct rte_ether_hdr) + in transform_enc_out_dec_in()
445 sizeof(struct rte_ether_hdr)), in verify_data()
447 sizeof(struct rte_ether_hdr)), in verify_data()
742 sizeof(struct rte_ether_hdr); in run_encoding()
763 sizeof(struct rte_ether_hdr); in run_encoding()
781 sizeof(struct rte_ether_hdr); in run_encoding()
869 sizeof(struct rte_ether_hdr); in run_decoding()
[all …]

12345