| /f-stack/dpdk/lib/librte_net/ |
| H A D | rte_ether.h | 275 struct rte_vlan_hdr { struct 319 struct rte_vlan_hdr *vh; in rte_vlan_strip() 324 vh = (struct rte_vlan_hdr *)(eh + 1); in rte_vlan_strip() 329 memmove(rte_pktmbuf_adj(m, sizeof(struct rte_vlan_hdr)), in rte_vlan_strip() 350 struct rte_vlan_hdr *vh; in rte_vlan_insert() 362 rte_pktmbuf_prepend(*m, sizeof(struct rte_vlan_hdr)); in rte_vlan_insert() 369 vh = (struct rte_vlan_hdr *) (nh + 1); in rte_vlan_insert() 375 (*m)->outer_l2_len += sizeof(struct rte_vlan_hdr); in rte_vlan_insert() 377 (*m)->l2_len += sizeof(struct rte_vlan_hdr); in rte_vlan_insert()
|
| H A D | rte_net.c | 249 const struct rte_vlan_hdr *vh; in rte_net_get_ptype() 250 struct rte_vlan_hdr vh_copy; in rte_net_get_ptype() 260 const struct rte_vlan_hdr *vh; in rte_net_get_ptype() 261 struct rte_vlan_hdr vh_copy; in rte_net_get_ptype() 398 const struct rte_vlan_hdr *vh; in rte_net_get_ptype() 399 struct rte_vlan_hdr vh_copy; in rte_net_get_ptype() 410 const struct rte_vlan_hdr *vh; in rte_net_get_ptype() 411 struct rte_vlan_hdr vh_copy; in rte_net_get_ptype()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_sched.c | 97 struct rte_vlan_hdr *vlan1, *vlan2; in prepare_pkt() 102 vlan1 = (struct rte_vlan_hdr *)(ð_hdr->ether_type); in prepare_pkt() 103 vlan2 = (struct rte_vlan_hdr *)( in prepare_pkt() 104 (uintptr_t)ð_hdr->ether_type + sizeof(struct rte_vlan_hdr)); in prepare_pkt() 107 2 * sizeof(struct rte_vlan_hdr)); in prepare_pkt()
|
| H A D | packet_burst_generator.c | 63 struct rte_vlan_hdr *vhdr = (struct rte_vlan_hdr *)( in initialize_eth_header() 298 sizeof(struct rte_vlan_hdr); in generate_packet_burst() 379 sizeof(struct rte_vlan_hdr); in generate_packet_burst_proto()
|
| /f-stack/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() 1053 sizeof(struct rte_vlan_hdr); in bond_ethdev_tx_burst_alb()
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_defs.h | 67 sizeof(struct rte_vlan_hdr)) 76 sizeof(struct rte_vlan_hdr))
|
| H A D | mlx5_rxtx.c | 402 off += sizeof(struct rte_vlan_hdr); in txq_mbuf_to_swp() 1567 struct rte_vlan_hdr *vlan; in mlx5_lro_update_hdr() 2390 sizeof(struct rte_vlan_hdr) + in mlx5_tx_eseg_dmin() 2407 pdst += sizeof(struct rte_vlan_hdr); in mlx5_tx_eseg_dmin() 2483 sizeof(struct rte_vlan_hdr) + in mlx5_tx_eseg_data() 2500 pdst += sizeof(struct rte_vlan_hdr); in mlx5_tx_eseg_data() 2706 sizeof(struct rte_vlan_hdr) + in mlx5_tx_eseg_mdat() 2978 pdst += sizeof(struct rte_vlan_hdr); in mlx5_tx_dseg_vlan() 3220 vlan = sizeof(struct rte_vlan_hdr); in mlx5_tx_packet_multi_tso() 3439 vlan = sizeof(struct rte_vlan_hdr); in mlx5_tx_packet_multi_inline() [all …]
|
| H A D | mlx5_flow_dv.c | 290 struct rte_vlan_hdr *vlan) in mlx5_update_vlan_vid_pcp() 2081 struct rte_vlan_hdr *vlan) in flow_dev_get_vlan_info_from_items() 3150 retval = sizeof(struct rte_vlan_hdr); in flow_dv_get_item_hdr_len() 3211 struct rte_vlan_hdr *vlan = NULL; in flow_dv_convert_encap_data() 3239 vlan = (struct rte_vlan_hdr *)&buf[temp_size]; in flow_dv_convert_encap_data() 3365 struct rte_vlan_hdr *vlan = NULL; in flow_dv_zero_encap_udp_csum() 3377 vlan = (struct rte_vlan_hdr *)next_hdr; in flow_dv_zero_encap_udp_csum() 3379 next_hdr += sizeof(struct rte_vlan_hdr); in flow_dv_zero_encap_udp_csum() 3567 const struct rte_vlan_hdr *vlan, in flow_dv_create_action_push_vlan() 9644 struct rte_vlan_hdr vlan = { 0 }; in flow_dv_translate()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | icmpecho.c | 279 struct rte_vlan_hdr *vlan_h; in reply_to_icmp_echo_rqsts() 326 vlan_h = (struct rte_vlan_hdr *) in reply_to_icmp_echo_rqsts() 328 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 | 152 struct rte_vlan_hdr *vlan_hdr; in parse_ethernet() 159 vlan_hdr = (struct rte_vlan_hdr *) in parse_ethernet() 161 info->l2_len += sizeof(struct rte_vlan_hdr); in parse_ethernet()
|
| /f-stack/dpdk/examples/bond/ |
| H A D | main.c | 330 struct rte_vlan_hdr *vlan_hdr = in get_vlan_offset() 331 (struct rte_vlan_hdr *)(eth_hdr + 1); in get_vlan_offset() 333 vlan_offset = sizeof(struct rte_vlan_hdr); in get_vlan_offset() 340 vlan_offset += sizeof(struct rte_vlan_hdr); in get_vlan_offset()
|
| /f-stack/lib/ |
| H A D | ff_dpdk_if.c | 1166 const struct rte_vlan_hdr *vlanhdr; in protocol_filter() 1173 vlanhdr = (struct rte_vlan_hdr *)data; in protocol_filter() 1175 data += sizeof(struct rte_vlan_hdr); in protocol_filter() 1176 len -= sizeof(struct rte_vlan_hdr); in protocol_filter() 1300 data = rte_pktmbuf_prepend(rtem, sizeof(struct rte_vlan_hdr)); 1302 memmove(data, data + sizeof(struct rte_vlan_hdr), RTE_ETHER_HDR_LEN); 1304 … struct rte_vlan_hdr *vlanhdr = (struct rte_vlan_hdr *)(data + RTE_ETHER_HDR_LEN);
|
| /f-stack/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()
|
| /f-stack/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()
|
| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_table_action.c | 451 struct rte_vlan_hdr vlan; 456 struct rte_vlan_hdr svlan; 457 struct rte_vlan_hdr cvlan; 501 struct rte_vlan_hdr vlan; 516 struct rte_vlan_hdr vlan; 524 struct rte_vlan_hdr svlan; 525 struct rte_vlan_hdr cvlan;
|
| /f-stack/dpdk/app/test-flow-perf/ |
| H A D | actions_gen.c | 558 struct rte_vlan_hdr vlan_hdr; in add_vlan_header() 566 memset(&vlan_hdr, 0, sizeof(struct rte_vlan_hdr)); in add_vlan_header()
|
| /f-stack/dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 1552 sizeof(struct rte_vlan_hdr), in ulp_rte_vxlan_encap_act_handler() 1563 sizeof(struct rte_vlan_hdr)], in ulp_rte_vxlan_encap_act_handler() 1565 sizeof(struct rte_vlan_hdr)); in ulp_rte_vxlan_encap_act_handler() 1571 vlan_size = vlan_num * sizeof(struct rte_vlan_hdr); in ulp_rte_vxlan_encap_act_handler()
|
| /f-stack/dpdk/examples/vhost/ |
| H A D | main.c | 1012 struct rte_vlan_hdr *vh = (struct rte_vlan_hdr *) (nh + 1); in virtio_tx_route()
|
| /f-stack/dpdk/lib/librte_vhost/ |
| H A D | virtio_net.c | 1808 struct rte_vlan_hdr *vlan_hdr = in parse_ethernet() 1809 (struct rte_vlan_hdr *)(eth_hdr + 1); in parse_ethernet() 1811 m->l2_len += sizeof(struct rte_vlan_hdr); in parse_ethernet()
|
| /f-stack/dpdk/examples/ip_fragmentation/ |
| H A D | main.c | 64 2 * sizeof(struct rte_vlan_hdr))
|
| /f-stack/dpdk/drivers/net/qede/ |
| H A D | qede_rxtx.c | 1082 struct rte_vlan_hdr *vlan_hdr; in qede_rx_cqe_to_pkt_type_outer() 1094 vlan_hdr = (struct rte_vlan_hdr *)(eth_hdr + 1); in qede_rx_cqe_to_pkt_type_outer() 1095 len += sizeof(struct rte_vlan_hdr); in qede_rx_cqe_to_pkt_type_outer()
|
| /f-stack/dpdk/lib/librte_eventdev/ |
| H A D | rte_event_eth_rx_adapter.c | 617 struct rte_vlan_hdr *vlan_hdr; in rxa_mtoip() 632 vlan_hdr = (struct rte_vlan_hdr *)(eth_hdr + 1); in rxa_mtoip()
|