Home
last modified time | relevance | path

Searched refs:rte_vlan_hdr (Results 1 – 25 of 38) sorted by relevance

12

/dpdk/lib/net/
H A Drte_ether.h284 struct rte_vlan_hdr { struct
328 struct rte_vlan_hdr *vh; in rte_vlan_strip()
333 vh = (struct rte_vlan_hdr *)(eh + 1); in rte_vlan_strip()
338 memmove(rte_pktmbuf_adj(m, sizeof(struct rte_vlan_hdr)), in rte_vlan_strip()
359 struct rte_vlan_hdr *vh; in rte_vlan_insert()
371 rte_pktmbuf_prepend(*m, sizeof(struct rte_vlan_hdr)); in rte_vlan_insert()
378 vh = (struct rte_vlan_hdr *) (nh + 1); in rte_vlan_insert()
384 (*m)->outer_l2_len += sizeof(struct rte_vlan_hdr); in rte_vlan_insert()
386 (*m)->l2_len += sizeof(struct rte_vlan_hdr); in rte_vlan_insert()
H A Drte_net.c250 const struct rte_vlan_hdr *vh; in rte_net_get_ptype()
251 struct rte_vlan_hdr vh_copy; in rte_net_get_ptype()
261 const struct rte_vlan_hdr *vh; in rte_net_get_ptype()
262 struct rte_vlan_hdr vh_copy; in rte_net_get_ptype()
399 const struct rte_vlan_hdr *vh; in rte_net_get_ptype()
400 struct rte_vlan_hdr vh_copy; in rte_net_get_ptype()
411 const struct rte_vlan_hdr *vh; in rte_net_get_ptype()
412 struct rte_vlan_hdr vh_copy; in rte_net_get_ptype()
/dpdk/app/test/
H A Dtest_sched.c106 struct rte_vlan_hdr *vlan1, *vlan2; in prepare_pkt()
111 vlan1 = (struct rte_vlan_hdr *)(&eth_hdr->ether_type); in prepare_pkt()
112 vlan2 = (struct rte_vlan_hdr *)( in prepare_pkt()
113 (uintptr_t)&eth_hdr->ether_type + sizeof(struct rte_vlan_hdr)); in prepare_pkt()
116 2 * sizeof(struct rte_vlan_hdr)); in prepare_pkt()
H A Dpacket_burst_generator.c64 struct rte_vlan_hdr *vhdr = (struct rte_vlan_hdr *)( in initialize_eth_header()
300 sizeof(struct rte_vlan_hdr); in generate_packet_burst()
381 sizeof(struct rte_vlan_hdr); in generate_packet_burst_proto()
H A Dtest_link_bonding.c222 sizeof(struct rte_vlan_hdr)); in test_setup()
4966 struct rte_vlan_hdr *vlan_pkt; in test_alb_receive_vlan_reply()
5002 vlan_pkt = (struct rte_vlan_hdr *)((char *)(eth_pkt + 1)); in test_alb_receive_vlan_reply()
5028 vlan_pkt = (struct rte_vlan_hdr *)( in test_alb_receive_vlan_reply()
/dpdk/drivers/net/bonding/
H A Drte_eth_bond_alb.c107 client_info->vlan_count != offset / sizeof(struct rte_vlan_hdr) || in bond_mode_alb_arp_recv()
121 client_info->vlan_count = offset / sizeof(struct rte_vlan_hdr); in bond_mode_alb_arp_recv()
174 client_info->vlan_count = offset / sizeof(struct rte_vlan_hdr); in bond_mode_alb_arp_xmit()
193 client_info->vlan_count = offset / sizeof(struct rte_vlan_hdr); in bond_mode_alb_arp_xmit()
225 + client_info->vlan_count * sizeof(struct rte_vlan_hdr)); in bond_mode_alb_arp_upd()
228 client_info->vlan_count * sizeof(struct rte_vlan_hdr)); in bond_mode_alb_arp_upd()
H A Drte_eth_bond_alb.h32 struct rte_vlan_hdr vlan[2];
H A Drte_eth_bond_pmd.c43 struct rte_vlan_hdr *vlan_hdr = in get_vlan_offset()
44 (struct rte_vlan_hdr *)(eth_hdr + 1); in get_vlan_offset()
46 vlan_offset = sizeof(struct rte_vlan_hdr); in get_vlan_offset()
52 vlan_offset += sizeof(struct rte_vlan_hdr); in get_vlan_offset()
1049 sizeof(struct rte_vlan_hdr); in bond_ethdev_tx_burst_alb()
/dpdk/drivers/net/mlx5/
H A Dmlx5_defs.h58 sizeof(struct rte_vlan_hdr))
67 sizeof(struct rte_vlan_hdr))
H A Dmlx5_rxtx.c39 sizeof(struct rte_vlan_hdr) +
48 sizeof(struct rte_vlan_hdr) +
57 sizeof(struct rte_vlan_hdr) +
65 static_assert((sizeof(struct rte_vlan_hdr) +
H A Dmlx5_tx.h417 off += sizeof(struct rte_vlan_hdr); in txq_mbuf_to_swp()
945 pdst += sizeof(struct rte_vlan_hdr); in mlx5_tx_eseg_dmin()
1029 pdst += sizeof(struct rte_vlan_hdr); in mlx5_tx_eseg_data()
1240 pdst += sizeof(struct rte_vlan_hdr); in mlx5_tx_eseg_mdat()
1494 pdst += sizeof(struct rte_vlan_hdr); in mlx5_tx_dseg_vlan()
1754 vlan = sizeof(struct rte_vlan_hdr); in mlx5_tx_packet_multi_tso()
1967 vlan = sizeof(struct rte_vlan_hdr); in mlx5_tx_packet_multi_inline()
2235 vlan = sizeof(struct rte_vlan_hdr); in mlx5_tx_burst_tso()
2891 tlen += sizeof(struct rte_vlan_hdr); in mlx5_tx_burst_empw_inline()
3093 vlan = sizeof(struct rte_vlan_hdr); in mlx5_tx_burst_single_send()
[all …]
/dpdk/app/test-pmd/
H A Dicmpecho.c278 struct rte_vlan_hdr *vlan_h; in reply_to_icmp_echo_rqsts()
325 vlan_h = (struct rte_vlan_hdr *) in reply_to_icmp_echo_rqsts()
327 l2_len += sizeof(struct rte_vlan_hdr); in reply_to_icmp_echo_rqsts()
H A D5tswap.c100 struct rte_vlan_hdr *vlan; in pkt_burst_5tuple_swap()
140 mb->l2_len += sizeof(struct rte_vlan_hdr); in pkt_burst_5tuple_swap()
H A Dcsumonly.c158 struct rte_vlan_hdr *vlan_hdr; in parse_ethernet()
165 vlan_hdr = (struct rte_vlan_hdr *) in parse_ethernet()
167 info->l2_len += sizeof(struct rte_vlan_hdr); in parse_ethernet()
/dpdk/lib/pcapng/
H A Drte_pcapng.c333 sizeof(struct rte_vlan_hdr) <= RTE_PKTMBUF_HEADROOM); in rte_pcapng_mbuf_size()
348 struct rte_vlan_hdr *vh; in pcapng_vlan_insert()
358 rte_pktmbuf_prepend(m, sizeof(struct rte_vlan_hdr)); in pcapng_vlan_insert()
365 vh = (struct rte_vlan_hdr *) (nh + 1); in pcapng_vlan_insert()
/dpdk/drivers/net/enetfec/
H A Denet_rxtx.c108 struct rte_vlan_hdr *vlan_header = in enetfec_recv_pkts()
109 (struct rte_vlan_hdr *) in enetfec_recv_pkts()
/dpdk/examples/bond/
H A Dmain.c327 struct rte_vlan_hdr *vlan_hdr = in get_vlan_offset()
328 (struct rte_vlan_hdr *)(eth_hdr + 1); in get_vlan_offset()
330 vlan_offset = sizeof(struct rte_vlan_hdr); in get_vlan_offset()
337 vlan_offset += sizeof(struct rte_vlan_hdr); in get_vlan_offset()
/dpdk/drivers/net/enic/
H A Denic_flow.c571 arg->l2_proto_off = *off + offsetof(struct rte_vlan_hdr, eth_proto); in enic_copy_item_inner_vlan_v2()
573 arg->item->spec, mask, sizeof(struct rte_vlan_hdr), in enic_copy_item_inner_vlan_v2()
715 struct rte_vlan_hdr *vlan; in enic_copy_item_vlan_v2()
717 vlan = (struct rte_vlan_hdr *)(eth_mask + 1); in enic_copy_item_vlan_v2()
719 vlan = (struct rte_vlan_hdr *)(eth_val + 1); in enic_copy_item_vlan_v2()
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.c782 struct rte_vlan_hdr *vlan_hdr; in hinic_analyze_tx_info()
791 vlan_hdr = (struct rte_vlan_hdr *)(eth_hdr + 1); in hinic_analyze_tx_info()
811 struct rte_vlan_hdr *vlan_hdr; in hinic_analyze_outer_ip_vxlan()
820 vlan_hdr = (struct rte_vlan_hdr *)(eth_hdr + 1); in hinic_analyze_outer_ip_vxlan()
/dpdk/lib/pipeline/
H A Drte_table_action.c449 struct rte_vlan_hdr vlan;
454 struct rte_vlan_hdr svlan;
455 struct rte_vlan_hdr cvlan;
499 struct rte_vlan_hdr vlan;
514 struct rte_vlan_hdr vlan;
522 struct rte_vlan_hdr svlan;
523 struct rte_vlan_hdr cvlan;
/dpdk/app/test-flow-perf/
H A Dactions_gen.c553 struct rte_vlan_hdr vlan_hdr; in add_vlan_header()
561 memset(&vlan_hdr, 0, sizeof(struct rte_vlan_hdr)); in add_vlan_header()
/dpdk/lib/vhost/
H A Dvirtio_net.c2220 sizeof(struct rte_vlan_hdr)) in parse_headers()
2223 struct rte_vlan_hdr *vlan_hdr = in parse_headers()
2224 (struct rte_vlan_hdr *)(eth_hdr + 1); in parse_headers()
2226 m->l2_len += sizeof(struct rte_vlan_hdr); in parse_headers()
/dpdk/examples/vhost/
H A Dmain.c1264 struct rte_vlan_hdr *vh = (struct rte_vlan_hdr *) (nh + 1); in virtio_tx_route()
/dpdk/examples/ip_fragmentation/
H A Dmain.c63 2 * sizeof(struct rte_vlan_hdr))
/dpdk/drivers/net/qede/
H A Dqede_rxtx.c1079 struct rte_vlan_hdr *vlan_hdr; in qede_rx_cqe_to_pkt_type_outer()
1091 vlan_hdr = (struct rte_vlan_hdr *)(eth_hdr + 1); in qede_rx_cqe_to_pkt_type_outer()
1092 len += sizeof(struct rte_vlan_hdr); in qede_rx_cqe_to_pkt_type_outer()

12