Home
last modified time | relevance | path

Searched refs:dst_mac (Results 1 – 21 of 21) sorted by relevance

/f-stack/dpdk/app/test/
H A Dtest_link_bonding_mode4.c788 struct rte_ether_addr *dst_mac, uint16_t count) in generate_and_put_packets() argument
822 struct rte_ether_addr dst_mac; in test_mode4_rx() local
835 rte_ether_addr_copy(&bonded_mac, &dst_mac); in test_mode4_rx()
841 dst_mac.addr_bytes[0] += 2; in test_mode4_rx()
1010 struct rte_ether_addr dst_mac = { in test_mode4_tx_burst() local
1025 dst_mac.addr_bytes[RTE_ETHER_ADDR_LEN - 1] = pkts_cnt; in test_mode4_tx_burst()
1098 dst_mac.addr_bytes[RTE_ETHER_ADDR_LEN - 1] = pkts_cnt; in test_mode4_tx_burst()
1388 struct rte_ether_addr src_mac, dst_mac; in test_mode4_ext_ctrl() local
1396 rte_ether_addr_copy(&slow_protocol_mac_addr, &dst_mac); in test_mode4_ext_ctrl()
1442 struct rte_ether_addr src_mac, dst_mac; in test_mode4_ext_lacp() local
[all …]
H A Dpacket_burst_generator.h29 struct rte_ether_addr *dst_mac, uint16_t ether_type,
34 struct rte_ether_addr *src_mac, struct rte_ether_addr *dst_mac,
H A Dtest_flow_classify.c476 static uint8_t dst_mac[] = { 0x00, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA }; in init_ipv4_udp_traffic() local
481 (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPV4, 0, 0); in init_ipv4_udp_traffic()
513 static uint8_t dst_mac[] = { 0x00, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA }; in init_ipv4_tcp_traffic() local
518 (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPV4, 0, 0); in init_ipv4_tcp_traffic()
550 static uint8_t dst_mac[] = { 0x00, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA }; in init_ipv4_sctp_traffic() local
555 (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPV4, 0, 0); in init_ipv4_sctp_traffic()
H A Dpacket_burst_generator.c56 struct rte_ether_addr *dst_mac, uint16_t ether_type, in initialize_eth_header() argument
59 rte_ether_addr_copy(dst_mac, &eth_hdr->d_addr); in initialize_eth_header()
78 struct rte_ether_addr *dst_mac, in initialize_arp_header() argument
89 rte_ether_addr_copy(dst_mac, &arp_hdr->arp_data.arp_tha); in initialize_arp_header()
H A Dtest_pmd_perf.c196 static uint8_t dst_mac[] = { 0x00, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA }; in init_traffic() local
201 (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPV4, 0, 0); in init_traffic()
H A Dtest_bpf.c82 uint8_t dst_mac[] = { 0x00, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA }; variable
1010 rte_ether_addr_copy((struct rte_ether_addr *)dst_mac, in test_jump2_prepare()
/f-stack/dpdk/drivers/net/ice/
H A Dice_acl_filter.c173 ext_data.dst_mac); in acl_add_prof_prepare()
175 ext_mask.dst_mac); in acl_add_prof_prepare()
348 ice_memcpy(&input->ext_data.dst_mac, in ice_acl_set_input_set()
349 &filter->input.ext_data.dst_mac, in ice_acl_set_input_set()
352 ice_memcpy(&input->ext_mask.dst_mac, in ice_acl_set_input_set()
353 &filter->input.ext_mask.dst_mac, in ice_acl_set_input_set()
375 ice_memcpy(&input->ext_data.dst_mac, in ice_acl_set_input_set()
376 &filter->input.ext_data.dst_mac, in ice_acl_set_input_set()
379 ice_memcpy(&input->ext_mask.dst_mac, in ice_acl_set_input_set()
380 &filter->input.ext_mask.dst_mac, in ice_acl_set_input_set()
[all …]
H A Dice_fdir_filter.c1678 rte_memcpy(&filter->input.ext_data.dst_mac, in ice_fdir_parse_pattern()
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_fdir.c1055 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1060 ice_pkt_insert_mac_addr(pkt, input->ext_data_outer.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1078 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1092 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1103 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1209 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1222 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1235 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1246 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
H A Dice_fdir.h167 u8 dst_mac[ETH_ALEN]; /* dest MAC address */ member
/f-stack/dpdk/drivers/net/cxgbe/
H A Dl2t.c85 rte_memcpy(req->dst_mac, e->dmac, RTE_ETHER_ADDR_LEN); in write_l2e()
88 memset(req->dst_mac, 0, RTE_ETHER_ADDR_LEN); in write_l2e()
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_vf_api.h125 bool ecore_vf_bulletin_get_forced_mac(struct ecore_hwfn *hwfn, u8 *dst_mac,
H A Decore_vf.c1907 bool ecore_vf_bulletin_get_forced_mac(struct ecore_hwfn *hwfn, u8 *dst_mac, in ecore_vf_bulletin_get_forced_mac() argument
1924 OSAL_MEMCPY(dst_mac, bulletin->mac, ETH_ALEN); in ecore_vf_bulletin_get_forced_mac()
/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4_flow.c249 eth->val.dst_mac[0] = 0xff; in mlx4_flow_merge_eth()
254 memcpy(eth->val.dst_mac, spec->dst.addr_bytes, RTE_ETHER_ADDR_LEN); in mlx4_flow_merge_eth()
255 memcpy(eth->mask.dst_mac, mask->dst.addr_bytes, RTE_ETHER_ADDR_LEN); in mlx4_flow_merge_eth()
258 eth->val.dst_mac[i] &= eth->mask.dst_mac[i]; in mlx4_flow_merge_eth()
1426 if (eth->val.dst_mac[j] != mac->addr_bytes[j] || in mlx4_flow_internal()
1427 eth->mask.dst_mac[j] != UINT8_C(0xff) || in mlx4_flow_internal()
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_fdir.h85 uint8_t dst_mac[RTE_ETHER_ADDR_LEN]; member
H A Dhns3_fdir.c555 hns3_fd_convert_mac(key_conf->spec.dst_mac, in hns3_fd_convert_tuple()
556 key_conf->mask.dst_mac, key_x, key_y); in hns3_fd_convert_tuple()
H A Dhns3_flow.c465 memcpy(rule->key_conf.mask.dst_mac, in hns3_parse_eth()
474 memcpy(rule->key_conf.spec.dst_mac, eth_spec->dst.addr_bytes, in hns3_parse_eth()
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c486 memcpy(&eth.val.dst_mac, spec->dst.addr_bytes, in flow_verbs_translate_item_eth()
491 memcpy(&eth.mask.dst_mac, mask->dst.addr_bytes, in flow_verbs_translate_item_eth()
498 eth.val.dst_mac[i] &= eth.mask.dst_mac[i]; in flow_verbs_translate_item_eth()
/f-stack/dpdk/drivers/net/cxgbe/base/
H A Dt4_msg.h447 __u8 dst_mac[6]; member
/f-stack/dpdk/drivers/common/iavf/
H A Dvirtchnl.h664 u8 dst_mac[VIRTCHNL_ETH_LENGTH_OF_ADDRESS]; member
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dipsec_secgw.rst886 neigh <port> <dst_mac>
899 ``<dst_mac>``