Home
last modified time | relevance | path

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

1234

/f-stack/dpdk/app/test-pmd/
H A Dicmpecho.c365 rte_ether_addr_copy(&arp_h->arp_data.arp_sha, in reply_to_icmp_echo_rqsts()
371 rte_ether_addr_copy(&arp_h->arp_data.arp_tha, in reply_to_icmp_echo_rqsts()
388 rte_ether_addr_copy(&eth_h->s_addr, &eth_h->d_addr); in reply_to_icmp_echo_rqsts()
390 rte_ether_addr_copy(&ports[fs->tx_port].eth_addr, in reply_to_icmp_echo_rqsts()
394 rte_ether_addr_copy(&arp_h->arp_data.arp_tha, in reply_to_icmp_echo_rqsts()
396 rte_ether_addr_copy(&arp_h->arp_data.arp_sha, in reply_to_icmp_echo_rqsts()
398 rte_ether_addr_copy(&eth_h->s_addr, in reply_to_icmp_echo_rqsts()
456 rte_ether_addr_copy(&eth_h->s_addr, &eth_addr); in reply_to_icmp_echo_rqsts()
457 rte_ether_addr_copy(&eth_h->d_addr, &eth_h->s_addr); in reply_to_icmp_echo_rqsts()
458 rte_ether_addr_copy(&eth_addr, &eth_h->d_addr); in reply_to_icmp_echo_rqsts()
H A Dmacswap.h32 rte_ether_addr_copy(&eth_hdr->d_addr, &addr); in do_macswap()
33 rte_ether_addr_copy(&eth_hdr->s_addr, &eth_hdr->d_addr); in do_macswap()
34 rte_ether_addr_copy(&addr, &eth_hdr->s_addr); in do_macswap()
H A Dieee1588fwd.c181 rte_ether_addr_copy(&eth_hdr->d_addr, &addr); in ieee1588_packet_fwd()
182 rte_ether_addr_copy(&eth_hdr->s_addr, &eth_hdr->d_addr); in ieee1588_packet_fwd()
183 rte_ether_addr_copy(&addr, &eth_hdr->s_addr); in ieee1588_packet_fwd()
H A D5tswap.c30 rte_ether_addr_copy(&eth_hdr->d_addr, &addr); in swap_mac()
31 rte_ether_addr_copy(&eth_hdr->s_addr, &eth_hdr->d_addr); in swap_mac()
32 rte_ether_addr_copy(&addr, &eth_hdr->s_addr); in swap_mac()
H A Dmacfwd.c87 rte_ether_addr_copy(&peer_eth_addrs[fs->peer_addr], in pkt_burst_mac_forward()
89 rte_ether_addr_copy(&ports[fs->tx_port].eth_addr, in pkt_burst_mac_forward()
H A Dflowgen.c135 rte_ether_addr_copy(&cfg_ether_dst, &eth_hdr->d_addr); in pkt_burst_flow_gen()
136 rte_ether_addr_copy(&cfg_ether_src, &eth_hdr->s_addr); in pkt_burst_flow_gen()
/f-stack/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->s_addr); in bond_mode_alb_arp_upd()
217 rte_ether_addr_copy(&client_info->cli_mac, &eth_h->d_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()
/f-stack/dpdk/lib/librte_net/
H A Drte_arp.c33 rte_ether_addr_copy(mac, &eth_hdr->s_addr); in rte_net_make_rarp_packet()
44 rte_ether_addr_copy(mac, &rarp->arp_data.arp_sha); in rte_net_make_rarp_packet()
45 rte_ether_addr_copy(mac, &rarp->arp_data.arp_tha); in rte_net_make_rarp_packet()
H A Drte_ether.h222 rte_ether_addr_copy(const struct rte_ether_addr *__restrict ea_from, in rte_ether_addr_copy() function
/f-stack/dpdk/lib/librte_gro/
H A Dgro_vxlan_tcp4.c167 rte_ether_addr_copy(&(src->inner_key.eth_saddr), in insert_new_flow()
169 rte_ether_addr_copy(&(src->inner_key.eth_daddr), in insert_new_flow()
179 rte_ether_addr_copy(&(src->outer_eth_saddr), &(dst->outer_eth_saddr)); in insert_new_flow()
180 rte_ether_addr_copy(&(src->outer_eth_daddr), &(dst->outer_eth_daddr)); in insert_new_flow()
361 rte_ether_addr_copy(&(eth_hdr->s_addr), &(key.inner_key.eth_saddr)); in gro_vxlan_tcp4_reassemble()
362 rte_ether_addr_copy(&(eth_hdr->d_addr), &(key.inner_key.eth_daddr)); in gro_vxlan_tcp4_reassemble()
371 rte_ether_addr_copy(&(outer_eth_hdr->s_addr), &(key.outer_eth_saddr)); in gro_vxlan_tcp4_reassemble()
372 rte_ether_addr_copy(&(outer_eth_hdr->d_addr), &(key.outer_eth_daddr)); in gro_vxlan_tcp4_reassemble()
H A Dgro_vxlan_udp4.c161 rte_ether_addr_copy(&(src->inner_key.eth_saddr), in insert_new_flow()
163 rte_ether_addr_copy(&(src->inner_key.eth_daddr), in insert_new_flow()
171 rte_ether_addr_copy(&(src->outer_eth_saddr), &(dst->outer_eth_saddr)); in insert_new_flow()
172 rte_ether_addr_copy(&(src->outer_eth_daddr), &(dst->outer_eth_daddr)); in insert_new_flow()
341 rte_ether_addr_copy(&(eth_hdr->s_addr), &(key.inner_key.eth_saddr)); in gro_vxlan_udp4_reassemble()
342 rte_ether_addr_copy(&(eth_hdr->d_addr), &(key.inner_key.eth_daddr)); in gro_vxlan_udp4_reassemble()
349 rte_ether_addr_copy(&(outer_eth_hdr->s_addr), &(key.outer_eth_saddr)); in gro_vxlan_udp4_reassemble()
350 rte_ether_addr_copy(&(outer_eth_hdr->d_addr), &(key.outer_eth_daddr)); in gro_vxlan_udp4_reassemble()
H A Dgro_tcp4.c163 rte_ether_addr_copy(&(src->eth_saddr), &(dst->eth_saddr)); in insert_new_flow()
164 rte_ether_addr_copy(&(src->eth_daddr), &(dst->eth_daddr)); in insert_new_flow()
246 rte_ether_addr_copy(&(eth_hdr->s_addr), &(key.eth_saddr)); in gro_tcp4_reassemble()
247 rte_ether_addr_copy(&(eth_hdr->d_addr), &(key.eth_daddr)); in gro_tcp4_reassemble()
H A Dgro_udp4.c161 rte_ether_addr_copy(&(src->eth_saddr), &(dst->eth_saddr)); in insert_new_flow()
162 rte_ether_addr_copy(&(src->eth_daddr), &(dst->eth_daddr)); in insert_new_flow()
241 rte_ether_addr_copy(&(eth_hdr->s_addr), &(key.eth_saddr)); in gro_udp4_reassemble()
242 rte_ether_addr_copy(&(eth_hdr->d_addr), &(key.eth_daddr)); in gro_udp4_reassemble()
/f-stack/dpdk/examples/bond/
H A Dmain.c426 rte_ether_addr_copy(&eth_hdr->s_addr, &eth_hdr->d_addr); in lcore_main()
427 rte_ether_addr_copy(&bond_mac_addr, &eth_hdr->s_addr); in lcore_main()
428 rte_ether_addr_copy(&arp_hdr->arp_data.arp_sha, in lcore_main()
431 rte_ether_addr_copy(&bond_mac_addr, &d_addr); in lcore_main()
432 rte_ether_addr_copy(&d_addr, &arp_hdr->arp_data.arp_sha); in lcore_main()
447 rte_ether_addr_copy(&eth_hdr->s_addr, &eth_hdr->d_addr); in lcore_main()
448 rte_ether_addr_copy(&bond_mac_addr, &eth_hdr->s_addr); in lcore_main()
523 rte_ether_addr_copy(&bond_mac_addr, &eth_hdr->s_addr); in cmd_obj_send_parsed()
535 rte_ether_addr_copy(&bond_mac_addr, &arp_hdr->arp_data.arp_sha); in cmd_obj_send_parsed()
/f-stack/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()
/f-stack/dpdk/examples/eventdev_pipeline/
H A Dpipeline_common.h107 rte_ether_addr_copy(&eth->d_addr, &addr); in exchange_mac()
108 rte_ether_addr_copy(&addr, &eth->d_addr); in exchange_mac()
/f-stack/dpdk/app/test/
H A Dpacket_burst_generator.c59 rte_ether_addr_copy(dst_mac, &eth_hdr->d_addr); in initialize_eth_header()
60 rte_ether_addr_copy(src_mac, &eth_hdr->s_addr); in initialize_eth_header()
87 rte_ether_addr_copy(src_mac, &arp_hdr->arp_data.arp_sha); in initialize_arp_header()
89 rte_ether_addr_copy(dst_mac, &arp_hdr->arp_data.arp_tha); in initialize_arp_header()
H A Dtest_link_bonding_mode4.c236 rte_ether_addr_copy(&slave_mac_default, &addr); in add_slave()
505 rte_ether_addr_copy(&parnter_mac_default, &slow_hdr->eth_hdr.s_addr); in make_lacp_reply()
518 rte_ether_addr_copy(&parnter_system, &lacp->actor.port_params.system); in make_lacp_reply()
835 rte_ether_addr_copy(&bonded_mac, &dst_mac); in test_mode4_rx()
1165 rte_ether_addr_copy(&slow_protocol_mac_addr, in init_marker()
1169 rte_ether_addr_copy(&parnter_mac_default, &marker_hdr->eth_hdr.s_addr); in init_marker()
1395 rte_ether_addr_copy(&parnter_system, &src_mac); in test_mode4_ext_ctrl()
1396 rte_ether_addr_copy(&slow_protocol_mac_addr, &dst_mac); in test_mode4_ext_ctrl()
1449 rte_ether_addr_copy(&parnter_system, &src_mac); in test_mode4_ext_lacp()
1450 rte_ether_addr_copy(&slow_protocol_mac_addr, &dst_mac); in test_mode4_ext_lacp()
/f-stack/dpdk/examples/ethtool/ethtool-app/
H A Dmain.c175 rte_ether_addr_copy(&ptr_mac_hdr->s_addr, &ptr_mac_hdr->d_addr); in process_frame()
176 rte_ether_addr_copy(&ptr_port->mac_addr, &ptr_mac_hdr->s_addr); in process_frame()
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_table_action.c636 rte_ether_addr_copy(&p->vlan.ether.da, &d->ether.d_addr); in encap_vlan_apply()
637 rte_ether_addr_copy(&p->vlan.ether.sa, &d->ether.s_addr); in encap_vlan_apply()
660 rte_ether_addr_copy(&p->qinq.ether.da, &d->ether.d_addr); in encap_qinq_apply()
779 rte_ether_addr_copy(&p->vxlan.ether.da, in encap_vxlan_apply()
781 rte_ether_addr_copy(&p->vxlan.ether.sa, in encap_vxlan_apply()
820 rte_ether_addr_copy(&p->vxlan.ether.da, in encap_vxlan_apply()
822 rte_ether_addr_copy(&p->vxlan.ether.sa, in encap_vxlan_apply()
857 rte_ether_addr_copy(&p->vxlan.ether.da, in encap_vxlan_apply()
859 rte_ether_addr_copy(&p->vxlan.ether.sa, in encap_vxlan_apply()
898 rte_ether_addr_copy(&p->vxlan.ether.da, in encap_vxlan_apply()
[all …]
/f-stack/dpdk/examples/performance-thread/l3fwd-thread/
H A Dmain.c1081 rte_ether_addr_copy(&ports_eth_addr[dst_port[0]], &eth_hdr[0]->s_addr); in simple_ipv4_fwd_8pkts()
1082 rte_ether_addr_copy(&ports_eth_addr[dst_port[1]], &eth_hdr[1]->s_addr); in simple_ipv4_fwd_8pkts()
1083 rte_ether_addr_copy(&ports_eth_addr[dst_port[2]], &eth_hdr[2]->s_addr); in simple_ipv4_fwd_8pkts()
1084 rte_ether_addr_copy(&ports_eth_addr[dst_port[3]], &eth_hdr[3]->s_addr); in simple_ipv4_fwd_8pkts()
1085 rte_ether_addr_copy(&ports_eth_addr[dst_port[4]], &eth_hdr[4]->s_addr); in simple_ipv4_fwd_8pkts()
1086 rte_ether_addr_copy(&ports_eth_addr[dst_port[5]], &eth_hdr[5]->s_addr); in simple_ipv4_fwd_8pkts()
1087 rte_ether_addr_copy(&ports_eth_addr[dst_port[6]], &eth_hdr[6]->s_addr); in simple_ipv4_fwd_8pkts()
1088 rte_ether_addr_copy(&ports_eth_addr[dst_port[7]], &eth_hdr[7]->s_addr); in simple_ipv4_fwd_8pkts()
1274 rte_ether_addr_copy(&ports_eth_addr[dst_port], in l3fwd_simple_forward()
1296 rte_ether_addr_copy(&ports_eth_addr[dst_port], in l3fwd_simple_forward()
[all …]
/f-stack/dpdk/examples/l2fwd-event/
H A Dl2fwd_common.h99 rte_ether_addr_copy(addr, &eth->s_addr); in l2fwd_mac_updating()
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_sriov.c126 rte_ether_addr_copy(&sa->port.default_mac_addr, in sfc_sriov_vswitch_create()
/f-stack/dpdk/drivers/net/qede/
H A Dqede_ethdev.c670 rte_ether_addr_copy(mac_addr, &u->mac); in qede_ucast_filter()
713 rte_ether_addr_copy(&mc_addrs[i], &m->mac); in qede_add_mcast_filters()
720 rte_ether_addr_copy(&mc_addrs[i], (struct rte_ether_addr *) in qede_add_mcast_filters()
745 rte_ether_addr_copy(&tmp->mac, in qede_del_mcast_filters()
833 rte_ether_addr_copy(&eth_dev->data->mac_addrs[index], in qede_mac_addr_remove()
2675 rte_ether_addr_copy((struct rte_ether_addr *)edev->hwfns[0]. in qede_common_dev_init()
2678 rte_ether_addr_copy(&eth_dev->data->mac_addrs[0], in qede_common_dev_init()
2691 rte_ether_addr_copy( in qede_common_dev_init()
2694 rte_ether_addr_copy( in qede_common_dev_init()
2709 rte_ether_addr_copy(mac_addr, in qede_common_dev_init()
[all …]

1234