Home
last modified time | relevance | path

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

1234

/linux-6.12.1/tools/testing/selftests/tc-testing/
Dtdc_batch.py73 def format_add_filter(device, prio, handle, skip, src_mac, dst_mac, argument
77 device, prio, handle, skip, src_mac, dst_mac, share_action))
80 def format_rep_filter(device, prio, handle, skip, src_mac, dst_mac, argument
84 device, prio, handle, skip, src_mac, dst_mac, share_action))
87 def format_del_filter(device, prio, handle, skip, src_mac, dst_mac, argument
105 dst_mac = "e4:12:00:" + mac variable
107 dst_mac, share_action)
/linux-6.12.1/tools/testing/selftests/net/forwarding/
Dtc_chains.sh39 flower $tcflags dst_mac $h2mac action drop
58 flower $tcflags dst_mac $h2mac action drop
60 $tcflags dst_mac $h2mac action drop
62 $tcflags dst_mac $h2mac action goto chain 1
129 flower dst_mac 00:00:00:00:00:00/FF:FF:FF:FF:FF:FF &> /dev/null
134 flower dst_mac $h2mac action drop
146 flower dst_mac $h2mac action drop &> /dev/null
Dmirror_gre.sh69 ingress) local src_mac=$(mac_get $h1); local dst_mac=$(mac_get $h2)
71 egress) local src_mac=$(mac_get $h2); local dst_mac=$(mac_get $h1)
78 icmp_capture_install h3-${tundev} "src_mac $src_mac dst_mac $dst_mac"
Dtc_flower_l2_miss.sh81 flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \
85 flower indev $swp1 l2_miss 0 dst_mac $dmac src_ip $sip \
255 flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \
306 flower l2_miss 1 dst_mac $dmac src_mac $smac \
309 flower l2_miss 0 dst_mac $dmac src_mac $smac \
Dtc_shblocks.sh78 $tcflags indev $swp1 dst_mac $swmac action drop
80 $tcflags indev $swp2 dst_mac $swmac action drop
Dtc_mpls_l2vpn.sh85 action vlan push_eth dst_mac $mpls2mac src_mac $mpls1mac \
114 action vlan push_eth dst_mac $mpls1mac src_mac $mpls2mac \
Dsch_ets_core.sh82 local dst_mac=$(mac_get $h2)
85 start_traffic $h1.1$i $(sip $i) $(dip $i) $dst_mac
Dtc_flower.sh45 $tcflags dst_mac $dummy_mac action drop
47 $tcflags dst_mac $h2mac action drop
233 flower vlan_prio 6 $tcflags dst_mac $h2mac action drop
235 flower vlan_prio 7 $tcflags dst_mac $h2mac action drop
357 $tcflags indev $h1 dst_mac $h2mac action drop
359 $tcflags indev $h2 dst_mac $h2mac action drop
/linux-6.12.1/drivers/net/dsa/microchip/
Dksz9477_tc_flower.c37 u8 *dst_mac = NULL; in ksz9477_flower_parse_key_l2() local
70 dst_mac = ematch.key->dst; in ksz9477_flower_parse_key_l2()
76 required_entries = src_mac && dst_mac ? 2 : 1; in ksz9477_flower_parse_key_l2()
84 ksz9477_acl_match_process_l2(dev, port, ethtype, src_mac, dst_mac, in ksz9477_flower_parse_key_l2()
Dksz9477_acl.c1401 u16 ethtype, u8 *src_mac, u8 *dst_mac, in ksz9477_acl_match_process_l2() argument
1411 if (src_mac && dst_mac) { in ksz9477_acl_match_process_l2()
1423 ksz9477_acl_matching_rule_cfg_l2(entry->entry, 0, dst_mac, in ksz9477_acl_match_process_l2()
1427 u8 *mac = src_mac ? src_mac : dst_mac; in ksz9477_acl_match_process_l2()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_tc_peer.c17 static const __u8 dst_mac[] = {0x00, 0x22, 0x33, 0x44, 0x55, 0x66}; variable
54 if (bpf_skb_store_bytes(skb, ETH_ALEN, &dst_mac, ETH_ALEN, 0) != 0) in tc_src_l3()
/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l2_drops.sh129 flower dst_mac $dmac action drop
189 flower dst_mac $dmac action drop
232 flower dst_mac $dmac action drop
302 flower dst_mac $dmac action drop
347 flower dst_mac $dmac action drop
393 flower dst_mac $dmac action drop
Ddevlink_trap_l3_exceptions.sh271 local dst_mac=$1; shift
290 -a 00:11:22:33:44:55 -b $dst_mac \
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_fdir.c950 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
965 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
980 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
991 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1071 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1084 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1097 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1108 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
Dice_tc_lib.c225 hdr->l2_key.dst_mac); in ice_tc_fill_tunnel_outer()
227 hdr->l2_mask.dst_mac); in ice_tc_fill_tunnel_outer()
423 l2_key->dst_mac); in ice_tc_fill_rules()
425 l2_mask->dst_mac); in ice_tc_fill_rules()
1565 ether_addr_copy(headers->l2_key.dst_mac, in ice_parse_cls_flower()
1567 ether_addr_copy(headers->l2_mask.dst_mac, in ice_parse_cls_flower()
1791 ether_addr_copy(fltr->outer_headers.l2_key.dst_mac, in ice_prep_adq_filter()
1793 eth_broadcast_addr(fltr->outer_headers.l2_mask.dst_mac); in ice_prep_adq_filter()
/linux-6.12.1/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c442 struct sockaddr_in *dst_in, u8 *dst_mac) in qedr_addr4_resolve() argument
462 ether_addr_copy(dst_mac, neigh->ha); in qedr_addr4_resolve()
463 DP_DEBUG(dev, QEDR_MSG_QP, "mac_addr=[%pM]\n", dst_mac); in qedr_addr4_resolve()
479 struct sockaddr_in6 *dst_in, u8 *dst_mac) in qedr_addr6_resolve() argument
505 ether_addr_copy(dst_mac, neigh->ha); in qedr_addr6_resolve()
506 DP_DEBUG(dev, QEDR_MSG_QP, "mac_addr=[%pM]\n", dst_mac); in qedr_addr6_resolve()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h228 u8 dst_mac[6]; member
499 u8 dst_mac[6]; member
518 u8 dst_mac[6]; member
/linux-6.12.1/net/atm/
Dlec.h46 int (*resolve) (struct net_device *dev, const u8 *dst_mac, int force,
/linux-6.12.1/drivers/net/wireless/ath/wil6210/
Dwmi.h388 u8 dst_mac[WMI_MAC_LEN]; member
394 u8 dst_mac[WMI_MAC_LEN]; member
583 u8 dst_mac[WMI_MAC_LEN]; member
851 u8 dst_mac[WMI_MAC_LEN]; member
858 u8 dst_mac[WMI_MAC_LEN]; member
1518 u8 dst_mac[WMI_MAC_LEN]; member
1524 u8 dst_mac[WMI_MAC_LEN]; member
1563 u8 dst_mac[WMI_MAC_LEN]; member
3232 u8 dst_mac[WMI_MAC_LEN]; member
3614 u8 dst_mac[WMI_MAC_LEN]; member
[all …]
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_fcoe.c938 con->dst_mac_addr_hi = (conn_info->dst_mac[5] << 8) | in qed_fcoe_offload_conn()
939 conn_info->dst_mac[4]; in qed_fcoe_offload_conn()
940 con->dst_mac_addr_mid = (conn_info->dst_mac[3] << 8) | in qed_fcoe_offload_conn()
941 conn_info->dst_mac[2]; in qed_fcoe_offload_conn()
942 con->dst_mac_addr_lo = (conn_info->dst_mac[1] << 8) | in qed_fcoe_offload_conn()
943 conn_info->dst_mac[0]; in qed_fcoe_offload_conn()
/linux-6.12.1/include/linux/qed/
Dqed_fcoe_if.h43 u8 dst_mac[ETH_ALEN]; member
/linux-6.12.1/tools/testing/selftests/bpf/
Dxskxceiver.h96 u8 dst_mac[ETH_ALEN]; member
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c106 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); in setup_l2e_send_pending()
/linux-6.12.1/drivers/scsi/qedi/
Dqedi_iscsi.h73 u8 dst_mac[ETH_ALEN]; member
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c3607 if (mask.dst_mac[0] && !mask.dst_ip[0]) { in i40e_validate_cloud_filter()
3609 f = i40e_find_mac(vsi, data.dst_mac); in i40e_validate_cloud_filter()
3614 data.dst_mac, vf->vf_id); in i40e_validate_cloud_filter()
3643 if (mask.dst_mac[0] & data.dst_mac[0]) { in i40e_validate_cloud_filter()
3644 if (is_broadcast_ether_addr(data.dst_mac) || in i40e_validate_cloud_filter()
3645 is_zero_ether_addr(data.dst_mac)) { in i40e_validate_cloud_filter()
3647 vf->vf_id, data.dst_mac); in i40e_validate_cloud_filter()
3801 cfilter.dst_mac[i] = mask.dst_mac[i] & tcf.dst_mac[i]; in i40e_vc_del_cloud_filter()
3863 if (mask.dst_mac[0]) in i40e_vc_del_cloud_filter()
3937 cfilter->dst_mac[i] = mask.dst_mac[i] & tcf.dst_mac[i]; in i40e_vc_add_cloud_filter()

1234