Home
last modified time | relevance | path

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

1234

/openbmc/linux/tools/testing/selftests/tc-testing/
H A 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)
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A 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
H A 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"
H A 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 \
H A Dtc_shblocks.sh78 $tcflags indev $swp1 dst_mac $swmac action drop
80 $tcflags indev $swp2 dst_mac $swmac action drop
H A 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 \
H A Dsch_ets_core.sh82 local dst_mac=$(mac_get $h2)
85 start_traffic $h1.1$i $(sip $i) $(dip $i) $dst_mac
H A 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
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A 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()
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A 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
/openbmc/qemu/hw/net/rocker/
H A Drocker_of_dpa.c182 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 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()
H A Dice_tc_lib.c218 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()
1500 ether_addr_copy(headers->l2_key.dst_mac, in ice_parse_cls_flower()
1502 ether_addr_copy(headers->l2_mask.dst_mac, in ice_parse_cls_flower()
1722 ether_addr_copy(fltr->outer_headers.l2_key.dst_mac, in ice_prep_adq_filter()
1724 eth_broadcast_addr(fltr->outer_headers.l2_mask.dst_mac); in ice_prep_adq_filter()
H A Dice_tc_lib.h78 u8 dst_mac[ETH_ALEN]; member
/openbmc/linux/drivers/infiniband/hw/qedr/
H A 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()
/openbmc/linux/net/atm/
H A Dlec.h46 int (*resolve) (struct net_device *dev, const u8 *dst_mac, int force,
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dcpl5_cmd.h228 u8 dst_mac[6]; member
499 u8 dst_mac[6]; member
518 u8 dst_mac[6]; member
/openbmc/linux/include/linux/qed/
H A Dqed_fcoe_if.h43 u8 dst_mac[ETH_ALEN]; member
/openbmc/linux/drivers/net/wireless/ath/wil6210/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A 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()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.h172 u8 dst_mac[ETH_ALEN]; member
/openbmc/linux/drivers/net/ethernet/sfc/
H A 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()
/openbmc/linux/drivers/scsi/qedi/
H A Dqedi_iscsi.h73 u8 dst_mac[ETH_ALEN]; member
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c106 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); in setup_l2e_send_pending()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c3611 if (mask.dst_mac[0] && !mask.dst_ip[0]) { in i40e_validate_cloud_filter()
3613 f = i40e_find_mac(vsi, data.dst_mac); in i40e_validate_cloud_filter()
3618 data.dst_mac, vf->vf_id); in i40e_validate_cloud_filter()
3647 if (mask.dst_mac[0] & data.dst_mac[0]) { in i40e_validate_cloud_filter()
3648 if (is_broadcast_ether_addr(data.dst_mac) || in i40e_validate_cloud_filter()
3649 is_zero_ether_addr(data.dst_mac)) { in i40e_validate_cloud_filter()
3651 vf->vf_id, data.dst_mac); in i40e_validate_cloud_filter()
3805 cfilter.dst_mac[i] = mask.dst_mac[i] & tcf.dst_mac[i]; in i40e_vc_del_cloud_filter()
3867 if (mask.dst_mac[0]) in i40e_vc_del_cloud_filter()
3941 cfilter->dst_mac[i] = mask.dst_mac[i] & tcf.dst_mac[i]; in i40e_vc_add_cloud_filter()

1234