Home
last modified time | relevance | path

Searched refs:rte_ether_addr_copy (Results 1 – 25 of 100) sorted by relevance

1234

/dpdk/app/test-pmd/
H A Dicmpecho.c364 rte_ether_addr_copy(&arp_h->arp_data.arp_sha, in reply_to_icmp_echo_rqsts()
370 rte_ether_addr_copy(&arp_h->arp_data.arp_tha, in reply_to_icmp_echo_rqsts()
387 rte_ether_addr_copy(&eth_h->src_addr, &eth_h->dst_addr); in reply_to_icmp_echo_rqsts()
389 rte_ether_addr_copy(&ports[fs->tx_port].eth_addr, in reply_to_icmp_echo_rqsts()
393 rte_ether_addr_copy(&arp_h->arp_data.arp_tha, in reply_to_icmp_echo_rqsts()
395 rte_ether_addr_copy(&arp_h->arp_data.arp_sha, in reply_to_icmp_echo_rqsts()
397 rte_ether_addr_copy(&eth_h->src_addr, in reply_to_icmp_echo_rqsts()
455 rte_ether_addr_copy(&eth_h->src_addr, &eth_addr); in reply_to_icmp_echo_rqsts()
456 rte_ether_addr_copy(&eth_h->dst_addr, &eth_h->src_addr); in reply_to_icmp_echo_rqsts()
457 rte_ether_addr_copy(&eth_addr, &eth_h->dst_addr); in reply_to_icmp_echo_rqsts()
H A Dmacswap.h32 rte_ether_addr_copy(&eth_hdr->dst_addr, &addr); in do_macswap()
33 rte_ether_addr_copy(&eth_hdr->src_addr, &eth_hdr->dst_addr); in do_macswap()
34 rte_ether_addr_copy(&addr, &eth_hdr->src_addr); in do_macswap()
H A Dieee1588fwd.c181 rte_ether_addr_copy(&eth_hdr->dst_addr, &addr); in ieee1588_packet_fwd()
182 rte_ether_addr_copy(&eth_hdr->src_addr, &eth_hdr->dst_addr); in ieee1588_packet_fwd()
183 rte_ether_addr_copy(&addr, &eth_hdr->src_addr); in ieee1588_packet_fwd()
H A D5tswap.c30 rte_ether_addr_copy(&eth_hdr->dst_addr, &addr); in swap_mac()
31 rte_ether_addr_copy(&eth_hdr->src_addr, &eth_hdr->dst_addr); in swap_mac()
32 rte_ether_addr_copy(&addr, &eth_hdr->src_addr); in swap_mac()
H A Dmacfwd.c86 rte_ether_addr_copy(&peer_eth_addrs[fs->peer_addr], in pkt_burst_mac_forward()
88 rte_ether_addr_copy(&ports[fs->tx_port].eth_addr, in pkt_burst_mac_forward()
H A Dflowgen.c124 rte_ether_addr_copy(&cfg_ether_dst, &eth_hdr->dst_addr); in pkt_burst_flow_gen()
125 rte_ether_addr_copy(&cfg_ether_src, &eth_hdr->src_addr); in pkt_burst_flow_gen()
H A Dtxonly.c360 rte_ether_addr_copy(&peer_eth_addrs[fs->peer_addr], &eth_hdr.dst_addr); in pkt_burst_transmit()
361 rte_ether_addr_copy(&ports[fs->tx_port].eth_addr, &eth_hdr.src_addr); in pkt_burst_transmit()
/dpdk/drivers/net/bonding/
H A Drte_eth_bond_alb.c113 rte_ether_addr_copy(&arp->arp_data.arp_sha, in bond_mode_alb_arp_recv()
118 rte_ether_addr_copy(&client_info->app_mac, in bond_mode_alb_arp_recv()
165 rte_ether_addr_copy( in bond_mode_alb_arp_xmit()
171 rte_ether_addr_copy(&client_info->app_mac, in bond_mode_alb_arp_xmit()
184 rte_ether_addr_copy(&arp->arp_data.arp_tha, in bond_mode_alb_arp_xmit()
190 rte_ether_addr_copy(&client_info->app_mac, in bond_mode_alb_arp_xmit()
216 rte_ether_addr_copy(&client_info->app_mac, &eth_h->src_addr); in bond_mode_alb_arp_upd()
217 rte_ether_addr_copy(&client_info->cli_mac, &eth_h->dst_addr); in bond_mode_alb_arp_upd()
230 rte_ether_addr_copy(&client_info->app_mac, &arp_h->arp_data.arp_sha); in bond_mode_alb_arp_upd()
232 rte_ether_addr_copy(&client_info->cli_mac, &arp_h->arp_data.arp_tha); in bond_mode_alb_arp_upd()
/dpdk/lib/net/
H A Drte_arp.c32 rte_ether_addr_copy(mac, &eth_hdr->src_addr); in rte_net_make_rarp_packet()
43 rte_ether_addr_copy(mac, &rarp->arp_data.arp_sha); in rte_net_make_rarp_packet()
44 rte_ether_addr_copy(mac, &rarp->arp_data.arp_tha); in rte_net_make_rarp_packet()
H A Drte_ether.h218 rte_ether_addr_copy(const struct rte_ether_addr *__restrict ea_from, in rte_ether_addr_copy() function
/dpdk/lib/gro/
H A Dgro_vxlan_tcp4.c166 rte_ether_addr_copy(&(src->inner_key.eth_saddr), in insert_new_flow()
168 rte_ether_addr_copy(&(src->inner_key.eth_daddr), in insert_new_flow()
178 rte_ether_addr_copy(&(src->outer_eth_saddr), &(dst->outer_eth_saddr)); in insert_new_flow()
179 rte_ether_addr_copy(&(src->outer_eth_daddr), &(dst->outer_eth_daddr)); in insert_new_flow()
360 rte_ether_addr_copy(&(eth_hdr->src_addr), &(key.inner_key.eth_saddr)); in gro_vxlan_tcp4_reassemble()
361 rte_ether_addr_copy(&(eth_hdr->dst_addr), &(key.inner_key.eth_daddr)); in gro_vxlan_tcp4_reassemble()
370 rte_ether_addr_copy(&(outer_eth_hdr->src_addr), &(key.outer_eth_saddr)); in gro_vxlan_tcp4_reassemble()
371 rte_ether_addr_copy(&(outer_eth_hdr->dst_addr), &(key.outer_eth_daddr)); in gro_vxlan_tcp4_reassemble()
H A Dgro_vxlan_udp4.c160 rte_ether_addr_copy(&(src->inner_key.eth_saddr), in insert_new_flow()
162 rte_ether_addr_copy(&(src->inner_key.eth_daddr), in insert_new_flow()
170 rte_ether_addr_copy(&(src->outer_eth_saddr), &(dst->outer_eth_saddr)); in insert_new_flow()
171 rte_ether_addr_copy(&(src->outer_eth_daddr), &(dst->outer_eth_daddr)); in insert_new_flow()
340 rte_ether_addr_copy(&(eth_hdr->src_addr), &(key.inner_key.eth_saddr)); in gro_vxlan_udp4_reassemble()
341 rte_ether_addr_copy(&(eth_hdr->dst_addr), &(key.inner_key.eth_daddr)); in gro_vxlan_udp4_reassemble()
348 rte_ether_addr_copy(&(outer_eth_hdr->src_addr), &(key.outer_eth_saddr)); in gro_vxlan_udp4_reassemble()
349 rte_ether_addr_copy(&(outer_eth_hdr->dst_addr), &(key.outer_eth_daddr)); in gro_vxlan_udp4_reassemble()
H A Dgro_tcp4.c162 rte_ether_addr_copy(&(src->eth_saddr), &(dst->eth_saddr)); in insert_new_flow()
163 rte_ether_addr_copy(&(src->eth_daddr), &(dst->eth_daddr)); in insert_new_flow()
245 rte_ether_addr_copy(&(eth_hdr->src_addr), &(key.eth_saddr)); in gro_tcp4_reassemble()
246 rte_ether_addr_copy(&(eth_hdr->dst_addr), &(key.eth_daddr)); in gro_tcp4_reassemble()
H A Dgro_udp4.c160 rte_ether_addr_copy(&(src->eth_saddr), &(dst->eth_saddr)); in insert_new_flow()
161 rte_ether_addr_copy(&(src->eth_daddr), &(dst->eth_daddr)); in insert_new_flow()
240 rte_ether_addr_copy(&(eth_hdr->src_addr), &(key.eth_saddr)); in gro_udp4_reassemble()
241 rte_ether_addr_copy(&(eth_hdr->dst_addr), &(key.eth_daddr)); in gro_udp4_reassemble()
/dpdk/examples/bond/
H A Dmain.c423 rte_ether_addr_copy(&eth_hdr->src_addr, &eth_hdr->dst_addr); in lcore_main()
424 rte_ether_addr_copy(&bond_mac_addr, &eth_hdr->src_addr); in lcore_main()
425 rte_ether_addr_copy(&arp_hdr->arp_data.arp_sha, in lcore_main()
428 rte_ether_addr_copy(&bond_mac_addr, &dst_addr); in lcore_main()
429 rte_ether_addr_copy(&dst_addr, &arp_hdr->arp_data.arp_sha); in lcore_main()
444 rte_ether_addr_copy(&eth_hdr->src_addr, in lcore_main()
446 rte_ether_addr_copy(&bond_mac_addr, in lcore_main()
522 rte_ether_addr_copy(&bond_mac_addr, &eth_hdr->src_addr); in cmd_obj_send_parsed()
534 rte_ether_addr_copy(&bond_mac_addr, &arp_hdr->arp_data.arp_sha); in cmd_obj_send_parsed()
/dpdk/examples/l3fwd/
H A Dl3fwd_lpm.h46 rte_ether_addr_copy(&ports_eth_addr[dst_port], in l3fwd_lpm_simple_forward()
68 rte_ether_addr_copy(&ports_eth_addr[dst_port], in l3fwd_lpm_simple_forward()
H A Dl3fwd_em.h42 rte_ether_addr_copy(&ports_eth_addr[dst_port], in l3fwd_em_handle_ipv4()
70 rte_ether_addr_copy(&ports_eth_addr[dst_port], in l3fwd_em_handle_ipv6()
/dpdk/examples/eventdev_pipeline/
H A Dpipeline_common.h107 rte_ether_addr_copy(&eth->dst_addr, &addr); in exchange_mac()
108 rte_ether_addr_copy(&addr, &eth->dst_addr); in exchange_mac()
/dpdk/app/test/
H A Dpacket_burst_generator.c60 rte_ether_addr_copy(dst_mac, &eth_hdr->dst_addr); in initialize_eth_header()
61 rte_ether_addr_copy(src_mac, &eth_hdr->src_addr); in initialize_eth_header()
88 rte_ether_addr_copy(src_mac, &arp_hdr->arp_data.arp_sha); in initialize_arp_header()
90 rte_ether_addr_copy(dst_mac, &arp_hdr->arp_data.arp_tha); in initialize_arp_header()
H A Dtest_link_bonding_mode4.c234 rte_ether_addr_copy(&slave_mac_default, &addr); in add_slave()
503 rte_ether_addr_copy(&parnter_mac_default, &slow_hdr->eth_hdr.src_addr); in make_lacp_reply()
516 rte_ether_addr_copy(&parnter_system, &lacp->actor.port_params.system); in make_lacp_reply()
833 rte_ether_addr_copy(&bonded_mac, &dst_mac); in test_mode4_rx()
1163 rte_ether_addr_copy(&slow_protocol_mac_addr, in init_marker()
1167 rte_ether_addr_copy(&parnter_mac_default, in init_marker()
1394 rte_ether_addr_copy(&parnter_system, &src_mac); in test_mode4_ext_ctrl()
1395 rte_ether_addr_copy(&slow_protocol_mac_addr, &dst_mac); in test_mode4_ext_ctrl()
1448 rte_ether_addr_copy(&parnter_system, &src_mac); in test_mode4_ext_lacp()
1449 rte_ether_addr_copy(&slow_protocol_mac_addr, &dst_mac); in test_mode4_ext_lacp()
/dpdk/lib/pipeline/
H A Drte_table_action.c634 rte_ether_addr_copy(&p->vlan.ether.da, &d->ether.dst_addr); in encap_vlan_apply()
635 rte_ether_addr_copy(&p->vlan.ether.sa, &d->ether.src_addr); in encap_vlan_apply()
658 rte_ether_addr_copy(&p->qinq.ether.da, &d->ether.dst_addr); in encap_qinq_apply()
777 rte_ether_addr_copy(&p->vxlan.ether.da, in encap_vxlan_apply()
779 rte_ether_addr_copy(&p->vxlan.ether.sa, in encap_vxlan_apply()
818 rte_ether_addr_copy(&p->vxlan.ether.da, in encap_vxlan_apply()
820 rte_ether_addr_copy(&p->vxlan.ether.sa, in encap_vxlan_apply()
855 rte_ether_addr_copy(&p->vxlan.ether.da, in encap_vxlan_apply()
857 rte_ether_addr_copy(&p->vxlan.ether.sa, in encap_vxlan_apply()
896 rte_ether_addr_copy(&p->vxlan.ether.da, in encap_vxlan_apply()
[all …]
/dpdk/examples/ethtool/ethtool-app/
H A Dmain.c175 rte_ether_addr_copy(&ptr_mac_hdr->src_addr, &ptr_mac_hdr->dst_addr); in process_frame()
176 rte_ether_addr_copy(&ptr_port->mac_addr, &ptr_mac_hdr->src_addr); in process_frame()
/dpdk/examples/l2fwd-event/
H A Dl2fwd_common.h110 rte_ether_addr_copy(addr, &eth->src_addr); in l2fwd_mac_updating()
/dpdk/drivers/net/qede/
H A Dqede_ethdev.c667 rte_ether_addr_copy(mac_addr, &u->mac); in qede_ucast_filter()
710 rte_ether_addr_copy(&mc_addrs[i], &m->mac); in qede_add_mcast_filters()
717 rte_ether_addr_copy(&mc_addrs[i], (struct rte_ether_addr *) in qede_add_mcast_filters()
742 rte_ether_addr_copy(&tmp->mac, in qede_del_mcast_filters()
830 rte_ether_addr_copy(&eth_dev->data->mac_addrs[index], in qede_mac_addr_remove()
2662 rte_ether_addr_copy((struct rte_ether_addr *)edev->hwfns[0]. in qede_common_dev_init()
2665 rte_ether_addr_copy(&eth_dev->data->mac_addrs[0], in qede_common_dev_init()
2678 rte_ether_addr_copy( in qede_common_dev_init()
2681 rte_ether_addr_copy( in qede_common_dev_init()
2696 rte_ether_addr_copy(mac_addr, in qede_common_dev_init()
[all …]
/dpdk/drivers/net/sfc/
H A Dsfc_sriov.c131 rte_ether_addr_copy(&sa->port.default_mac_addr, in sfc_sriov_vswitch_create()

1234