Home
last modified time | relevance | path

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

1234

/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/net/ethernet/intel/ice/
Dice_fdir.c951 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
966 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
981 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
992 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1072 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1085 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1098 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1109 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
Dice_tc_lib.c216 hdr->l2_key.dst_mac); in ice_tc_fill_tunnel_outer()
218 hdr->l2_mask.dst_mac); in ice_tc_fill_tunnel_outer()
391 l2_key->dst_mac); in ice_tc_fill_rules()
393 l2_mask->dst_mac); in ice_tc_fill_rules()
1478 ether_addr_copy(headers->l2_key.dst_mac, in ice_parse_cls_flower()
1480 ether_addr_copy(headers->l2_mask.dst_mac, in ice_parse_cls_flower()
1700 ether_addr_copy(fltr->outer_headers.l2_key.dst_mac, in ice_prep_adq_filter()
1702 eth_broadcast_addr(fltr->outer_headers.l2_mask.dst_mac); in ice_prep_adq_filter()
Dice_tc_lib.h78 u8 dst_mac[ETH_ALEN]; member
/linux-6.6.21/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c442 struct sockaddr_in *dst_in, u8 *dst_mac) in qedr_addr4_resolve() argument
461 ether_addr_copy(dst_mac, neigh->ha); in qedr_addr4_resolve()
462 DP_DEBUG(dev, QEDR_MSG_QP, "mac_addr=[%pM]\n", dst_mac); in qedr_addr4_resolve()
478 struct sockaddr_in6 *dst_in, u8 *dst_mac) in qedr_addr6_resolve() argument
504 ether_addr_copy(dst_mac, neigh->ha); in qedr_addr6_resolve()
505 DP_DEBUG(dev, QEDR_MSG_QP, "mac_addr=[%pM]\n", dst_mac); in qedr_addr6_resolve()
/linux-6.6.21/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.6.21/net/atm/
Dlec.h46 int (*resolve) (struct net_device *dev, const u8 *dst_mac, int force,
/linux-6.6.21/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.6.21/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.6.21/include/linux/qed/
Dqed_fcoe_if.h43 u8 dst_mac[ETH_ALEN]; member
/linux-6.6.21/drivers/net/ethernet/sfc/
Dtc.c201 if (act->dst_mac) in efx_tc_free_action_set()
202 efx_tc_flower_put_mac(efx, act->dst_mac); in efx_tc_free_action_set()
788 if (act->dst_mac || act->src_mac) in efx_tc_flower_action_order_ok()
1008 unsigned char dst_mac[ETH_ALEN]; member
1031 ped = efx_tc_flower_get_mac(efx, mung->dst_mac, extack); in efx_tc_complete_mac_mangle()
1036 if (act->dst_mac) in efx_tc_complete_mac_mangle()
1037 efx_tc_flower_put_mac(efx, act->dst_mac); in efx_tc_complete_mac_mangle()
1039 act->dst_mac = ped; in efx_tc_complete_mac_mangle()
1173 memcpy(mung->dst_mac, &mac32, sizeof(mac32)); in efx_tc_mangle()
1183 memcpy(mung->dst_mac + 4, &mac16, sizeof(mac16)); in efx_tc_mangle()
/linux-6.6.21/tools/testing/selftests/bpf/
Dxskxceiver.h172 u8 dst_mac[ETH_ALEN]; member
/linux-6.6.21/drivers/scsi/qedi/
Dqedi_iscsi.h73 u8 dst_mac[ETH_ALEN]; member
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c106 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); in setup_l2e_send_pending()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c3608 if (mask.dst_mac[0] && !mask.dst_ip[0]) { in i40e_validate_cloud_filter()
3610 f = i40e_find_mac(vsi, data.dst_mac); in i40e_validate_cloud_filter()
3615 data.dst_mac, vf->vf_id); in i40e_validate_cloud_filter()
3644 if (mask.dst_mac[0] & data.dst_mac[0]) { in i40e_validate_cloud_filter()
3645 if (is_broadcast_ether_addr(data.dst_mac) || in i40e_validate_cloud_filter()
3646 is_zero_ether_addr(data.dst_mac)) { in i40e_validate_cloud_filter()
3648 vf->vf_id, data.dst_mac); in i40e_validate_cloud_filter()
3802 cfilter.dst_mac[i] = mask.dst_mac[i] & tcf.dst_mac[i]; in i40e_vc_del_cloud_filter()
3864 if (mask.dst_mac[0]) in i40e_vc_del_cloud_filter()
3938 cfilter->dst_mac[i] = mask.dst_mac[i] & tcf.dst_mac[i]; in i40e_vc_add_cloud_filter()

1234