Home
last modified time | relevance | path

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

/dpdk/app/test/
H A Dtest_link_bonding_mode4.c786 struct rte_ether_addr *dst_mac, uint16_t count) in generate_and_put_packets() argument
820 struct rte_ether_addr dst_mac; in test_mode4_rx() local
833 rte_ether_addr_copy(&bonded_mac, &dst_mac); in test_mode4_rx()
839 dst_mac.addr_bytes[0] += 2; in test_mode4_rx()
1008 struct rte_ether_addr dst_mac = { in test_mode4_tx_burst() local
1023 dst_mac.addr_bytes[RTE_ETHER_ADDR_LEN - 1] = pkts_cnt; in test_mode4_tx_burst()
1096 dst_mac.addr_bytes[RTE_ETHER_ADDR_LEN - 1] = pkts_cnt; in test_mode4_tx_burst()
1387 struct rte_ether_addr src_mac, dst_mac; in test_mode4_ext_ctrl() local
1395 rte_ether_addr_copy(&slow_protocol_mac_addr, &dst_mac); in test_mode4_ext_ctrl()
1441 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.c487 static uint8_t dst_mac[] = { 0x00, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA }; in init_ipv4_udp_traffic() local
492 (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPV4, 0, 0); in init_ipv4_udp_traffic()
524 static uint8_t dst_mac[] = { 0x00, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA }; in init_ipv4_tcp_traffic() local
529 (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPV4, 0, 0); in init_ipv4_tcp_traffic()
561 static uint8_t dst_mac[] = { 0x00, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA }; in init_ipv4_sctp_traffic() local
566 (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPV4, 0, 0); in init_ipv4_sctp_traffic()
H A Dpacket_burst_generator.c57 struct rte_ether_addr *dst_mac, uint16_t ether_type, in initialize_eth_header() argument
60 rte_ether_addr_copy(dst_mac, &eth_hdr->dst_addr); in initialize_eth_header()
79 struct rte_ether_addr *dst_mac, in initialize_arp_header() argument
90 rte_ether_addr_copy(dst_mac, &arp_hdr->arp_data.arp_tha); in initialize_arp_header()
H A Dtest_pmd_perf.c194 static uint8_t dst_mac[] = { 0x00, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA }; in init_traffic() local
199 (struct rte_ether_addr *)dst_mac, RTE_ETHER_TYPE_IPV4, 0, 0); in init_traffic()
H A Dtest_bpf.c98 uint8_t dst_mac[] = { 0x00, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA }; variable
1038 rte_ether_addr_copy((struct rte_ether_addr *)dst_mac, in test_jump2_prepare()
/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.c2001 rte_memcpy(&p_ext_data->dst_mac, in ice_fdir_parse_pattern()
/dpdk/drivers/net/ice/base/
H A Dice_fdir.c3511 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
3534 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
3548 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
3559 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
3582 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
3607 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
3635 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
3659 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
4035 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
4048 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
[all …]
H A Dice_fdir.h226 u8 dst_mac[ETH_ALEN]; /* dest MAC address */ member
/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()
/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()
1428 if (eth->val.dst_mac[j] != mac->addr_bytes[j] || in mlx4_flow_internal()
1429 eth->mask.dst_mac[j] != UINT8_C(0xff) || in mlx4_flow_internal()
/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.c1904 bool ecore_vf_bulletin_get_forced_mac(struct ecore_hwfn *hwfn, u8 *dst_mac, in ecore_vf_bulletin_get_forced_mac() argument
1921 OSAL_MEMCPY(dst_mac, bulletin->mac, ETH_ALEN); in ecore_vf_bulletin_get_forced_mac()
/dpdk/drivers/net/hns3/
H A Dhns3_fdir.h83 uint8_t dst_mac[RTE_ETHER_ADDR_LEN]; member
H A Dhns3_fdir.c568 hns3_fd_convert_mac(key_conf->spec.dst_mac, in hns3_fd_convert_tuple()
569 key_conf->mask.dst_mac, key_x, key_y); in hns3_fd_convert_tuple()
H A Dhns3_flow.c518 memcpy(rule->key_conf.mask.dst_mac, in hns3_parse_eth()
527 memcpy(rule->key_conf.spec.dst_mac, eth_spec->dst.addr_bytes, in hns3_parse_eth()
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c433 memcpy(&eth.val.dst_mac, spec->dst.addr_bytes, in flow_verbs_translate_item_eth()
438 memcpy(&eth.mask.dst_mac, mask->dst.addr_bytes, in flow_verbs_translate_item_eth()
445 eth.val.dst_mac[i] &= eth.mask.dst_mac[i]; in flow_verbs_translate_item_eth()
/dpdk/drivers/net/cxgbe/base/
H A Dt4_msg.h447 __u8 dst_mac[6]; member
/dpdk/drivers/net/sfc/
H A Dsfc_mae.c944 struct sfc_mae_mac_addr *dst_mac; member
968 action_set->dst_mac_addr == ctx->dst_mac && in sfc_mae_action_set_attach()
1040 action_set->dst_mac_addr = ctx->dst_mac; in sfc_mae_action_set_add()
3128 mac_addrp = &ctx->dst_mac; in sfc_mae_rule_parse_action_set_mac()
4162 sfc_mae_mac_addr_del(sa, ctx.dst_mac); in sfc_mae_rule_parse_actions()
/dpdk/drivers/common/iavf/
H A Dvirtchnl.h1262 u8 dst_mac[VIRTCHNL_ETH_LENGTH_OF_ADDRESS]; member
/dpdk/doc/guides/sample_app_ug/
H A Dipsec_secgw.rst959 neigh <port> <dst_mac>
972 ``<dst_mac>``