| /dpdk/lib/net/ |
| H A D | rte_ether.h | 284 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 D | rte_net.c | 250 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 D | test_sched.c | 106 struct rte_vlan_hdr *vlan1, *vlan2; in prepare_pkt() 111 vlan1 = (struct rte_vlan_hdr *)(ð_hdr->ether_type); in prepare_pkt() 112 vlan2 = (struct rte_vlan_hdr *)( in prepare_pkt() 113 (uintptr_t)ð_hdr->ether_type + sizeof(struct rte_vlan_hdr)); in prepare_pkt() 116 2 * sizeof(struct rte_vlan_hdr)); in prepare_pkt()
|
| H A D | packet_burst_generator.c | 64 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 D | test_link_bonding.c | 222 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 D | rte_eth_bond_alb.c | 107 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 D | rte_eth_bond_alb.h | 32 struct rte_vlan_hdr vlan[2];
|
| H A D | rte_eth_bond_pmd.c | 43 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 D | mlx5_defs.h | 58 sizeof(struct rte_vlan_hdr)) 67 sizeof(struct rte_vlan_hdr))
|
| H A D | mlx5_rxtx.c | 39 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 D | mlx5_tx.h | 417 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 D | icmpecho.c | 278 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 D | 5tswap.c | 100 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 D | csumonly.c | 158 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 D | rte_pcapng.c | 333 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 D | enet_rxtx.c | 108 struct rte_vlan_hdr *vlan_header = in enetfec_recv_pkts() 109 (struct rte_vlan_hdr *) in enetfec_recv_pkts()
|
| /dpdk/examples/bond/ |
| H A D | main.c | 327 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 D | enic_flow.c | 571 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 D | hinic_pmd_tx.c | 782 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 D | rte_table_action.c | 449 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 D | actions_gen.c | 553 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 D | virtio_net.c | 2220 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 D | main.c | 1264 struct rte_vlan_hdr *vh = (struct rte_vlan_hdr *) (nh + 1); in virtio_tx_route()
|
| /dpdk/examples/ip_fragmentation/ |
| H A D | main.c | 63 2 * sizeof(struct rte_vlan_hdr))
|
| /dpdk/drivers/net/qede/ |
| H A D | qede_rxtx.c | 1079 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()
|