/openbmc/linux/tools/testing/selftests/tc-testing/ |
H A D | tdc_batch.py | 73 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)
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | tc_chains.sh | 39 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
|
H A D | mirror_gre.sh | 69 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"
|
H A D | tc_flower_l2_miss.sh | 81 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 \
|
H A D | tc_shblocks.sh | 78 $tcflags indev $swp1 dst_mac $swmac action drop 80 $tcflags indev $swp2 dst_mac $swmac action drop
|
H A D | tc_mpls_l2vpn.sh | 85 action vlan push_eth dst_mac $mpls2mac src_mac $mpls1mac \ 114 action vlan push_eth dst_mac $mpls1mac src_mac $mpls2mac \
|
H A D | sch_ets_core.sh | 82 local dst_mac=$(mac_get $h2) 85 start_traffic $h1.1$i $(sip $i) $(dip $i) $dst_mac
|
H A D | tc_flower.sh | 45 $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
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_peer.c | 17 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()
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_l2_drops.sh | 129 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
|
/openbmc/qemu/hw/net/rocker/ |
H A D | rocker_of_dpa.c | 182 MACAddr dst_mac; member 192 MACAddr dst_mac; member 493 if (src_mac || dst_mac) { in of_dpa_flow_pkt_hdr_rewrite() 498 if (dst_mac && memcmp(dst_mac, zero_mac.a, ETH_ALEN)) { in of_dpa_flow_pkt_hdr_rewrite() 1265 bool dst_mac = false; in of_dpa_cmd_add_bridging() local 1304 dst_mac = true; in of_dpa_cmd_add_bridging() 1319 if (dst_mac && !dst_mac_mask) { in of_dpa_cmd_add_bridging() 1322 } else if ((dst_mac && dst_mac_mask) || !dst_mac) { in of_dpa_cmd_add_bridging() 1326 if (dst_mac && !dst_mac_mask) { in of_dpa_cmd_add_bridging() 1329 } else if ((dst_mac && dst_mac_mask) || !dst_mac) { in of_dpa_cmd_add_bridging() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_fdir.c | 951 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()
|
H A D | ice_tc_lib.c | 218 hdr->l2_key.dst_mac); in ice_tc_fill_tunnel_outer() 220 hdr->l2_mask.dst_mac); in ice_tc_fill_tunnel_outer() 398 l2_key->dst_mac); in ice_tc_fill_rules() 400 l2_mask->dst_mac); in ice_tc_fill_rules() 1489 ether_addr_copy(headers->l2_key.dst_mac, in ice_parse_cls_flower() 1491 ether_addr_copy(headers->l2_mask.dst_mac, in ice_parse_cls_flower() 1711 ether_addr_copy(fltr->outer_headers.l2_key.dst_mac, in ice_prep_adq_filter() 1713 eth_broadcast_addr(fltr->outer_headers.l2_mask.dst_mac); in ice_prep_adq_filter()
|
H A D | ice_tc_lib.h | 78 u8 dst_mac[ETH_ALEN]; member
|
/openbmc/linux/drivers/infiniband/hw/qedr/ |
H A D | qedr_iw_cm.c | 442 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()
|
/openbmc/linux/net/atm/ |
H A D | lec.h | 46 int (*resolve) (struct net_device *dev, const u8 *dst_mac, int force,
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cpl5_cmd.h | 228 u8 dst_mac[6]; member 499 u8 dst_mac[6]; member 518 u8 dst_mac[6]; member
|
/openbmc/linux/include/linux/qed/ |
H A D | qed_fcoe_if.h | 43 u8 dst_mac[ETH_ALEN]; member
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | wmi.h | 388 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 …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_fcoe.c | 938 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()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xskxceiver.h | 172 u8 dst_mac[ETH_ALEN]; member
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | tc.c | 201 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()
|
/openbmc/linux/drivers/scsi/qedi/ |
H A D | qedi_iscsi.h | 73 u8 dst_mac[ETH_ALEN]; member
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | l2t.c | 106 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); in setup_l2e_send_pending()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_virtchnl_pf.c | 3609 if (mask.dst_mac[0] && !mask.dst_ip[0]) { in i40e_validate_cloud_filter() 3611 f = i40e_find_mac(vsi, data.dst_mac); in i40e_validate_cloud_filter() 3616 data.dst_mac, vf->vf_id); in i40e_validate_cloud_filter() 3645 if (mask.dst_mac[0] & data.dst_mac[0]) { in i40e_validate_cloud_filter() 3646 if (is_broadcast_ether_addr(data.dst_mac) || in i40e_validate_cloud_filter() 3647 is_zero_ether_addr(data.dst_mac)) { in i40e_validate_cloud_filter() 3649 vf->vf_id, data.dst_mac); in i40e_validate_cloud_filter() 3803 cfilter.dst_mac[i] = mask.dst_mac[i] & tcf.dst_mac[i]; in i40e_vc_del_cloud_filter() 3865 if (mask.dst_mac[0]) in i40e_vc_del_cloud_filter() 3939 cfilter->dst_mac[i] = mask.dst_mac[i] & tcf.dst_mac[i]; in i40e_vc_add_cloud_filter()
|