Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/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.sh42 $tcflags dst_mac $dummy_mac action drop
44 $tcflags dst_mac $h2mac action drop
230 flower vlan_prio 6 $tcflags dst_mac $h2mac action drop
232 flower vlan_prio 7 $tcflags dst_mac $h2mac action drop
354 $tcflags indev $h1 dst_mac $h2mac action drop
356 $tcflags indev $h2 dst_mac $h2mac action drop
Dtc_shblocks.sh78 $tcflags indev $swp1 dst_mac $swmac action drop
80 $tcflags indev $swp2 dst_mac $swmac action drop
Dsch_ets_core.sh82 local dst_mac=$(mac_get $h2)
85 start_traffic $h1.1$i $(sip $i) $(dip $i) $dst_mac
Dbridge_igmp.sh95 flower dst_mac $mac action drop
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l2_drops.sh128 flower dst_mac $dmac action drop
188 flower dst_mac $dmac action drop
231 flower dst_mac $dmac action drop
301 flower dst_mac $dmac action drop
346 flower dst_mac $dmac action drop
392 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 \
Dvxlan_flooding.sh182 flower skip_hw dst_mac de:ad:be:ef:13:37 action pass
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/atm/
Dlec.h46 int (*resolve) (struct net_device *dev, const u8 *dst_mac, int force,
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h237 u8 dst_mac[6]; member
508 u8 dst_mac[6]; member
527 u8 dst_mac[6]; member
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_fcoe_if.h43 u8 dst_mac[ETH_ALEN]; member
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_iscsi.h73 u8 dst_mac[ETH_ALEN]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_fdir.h105 u8 dst_mac[ETH_ALEN]; /* dest MAC address */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c106 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); in setup_l2e_send_pending()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c3396 if (mask.dst_mac[0] && !mask.dst_ip[0]) { in i40e_validate_cloud_filter()
3398 f = i40e_find_mac(vsi, data.dst_mac); in i40e_validate_cloud_filter()
3403 data.dst_mac, vf->vf_id); in i40e_validate_cloud_filter()
3432 if (mask.dst_mac[0] & data.dst_mac[0]) { in i40e_validate_cloud_filter()
3433 if (is_broadcast_ether_addr(data.dst_mac) || in i40e_validate_cloud_filter()
3434 is_zero_ether_addr(data.dst_mac)) { in i40e_validate_cloud_filter()
3436 vf->vf_id, data.dst_mac); in i40e_validate_cloud_filter()
3590 cfilter.dst_mac[i] = mask.dst_mac[i] & tcf.dst_mac[i]; in i40e_vc_del_cloud_filter()
3652 if (mask.dst_mac[0]) in i40e_vc_del_cloud_filter()
3724 cfilter->dst_mac[i] = mask.dst_mac[i] & tcf.dst_mac[i]; in i40e_vc_add_cloud_filter()
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
Dnft_concat_range.sh907 -m "${dst_mac}" \
914 -m "${dst_mac}" \
1134 dst_mac="$(format_mac "${1}")"
1135 ip link set veth_a address "${dst_mac}"
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmain.c1359 memcpy(mlx4_spec->eth.dst_mac, ib_spec->eth.val.dst_mac, in parse_flow_attr()
1361 memcpy(mlx4_spec->eth.dst_mac_msk, ib_spec->eth.mask.dst_mac, in parse_flow_attr()
1632 err = mlx4_tunnel_steer_add(to_mdev(qp->device)->dev, ib_spec->eth.val.dst_mac, in mlx4_ib_tunnel_steer_add()
1662 if (is_zero_ether_addr(ib_spec->eth.mask.dst_mac)) { in mlx4_ib_add_dont_trap_rule()
1666 u8 mac[ETH_ALEN] = {ib_spec->eth.mask.dst_mac[0] ^ 0x01, in mlx4_ib_add_dont_trap_rule()
1667 ib_spec->eth.mask.dst_mac[1], in mlx4_ib_add_dont_trap_rule()
1668 ib_spec->eth.mask.dst_mac[2], in mlx4_ib_add_dont_trap_rule()
1669 ib_spec->eth.mask.dst_mac[3], in mlx4_ib_add_dont_trap_rule()
1670 ib_spec->eth.mask.dst_mac[4], in mlx4_ib_add_dont_trap_rule()
1671 ib_spec->eth.mask.dst_mac[5]}; in mlx4_ib_add_dont_trap_rule()
[all …]
/kernel/linux/linux-5.10/net/core/
Dpktgen.c362 unsigned char dst_mac[ETH_ALEN]; member
599 seq_printf(seq, "%pM\n", pkt_dev->dst_mac); in pktgen_if_show()
1430 if (!mac_pton(valstr, pkt_dev->dst_mac)) in pktgen_if_write()
1433 ether_addr_copy(&pkt_dev->hh[0], pkt_dev->dst_mac); in pktgen_if_write()
1435 sprintf(pg_result, "OK: dstmac %pM", pkt_dev->dst_mac); in pktgen_if_write()
2057 ether_addr_copy(&(pkt_dev->hh[0]), pkt_dev->dst_mac); in pktgen_setup_inject()
2343 tmp = pkt_dev->dst_mac[5] + (mc & 0xFF); in mod_cur_headers()
2345 tmp = (pkt_dev->dst_mac[4] + ((mc >> 8) & 0xFF) + (tmp >> 8)); in mod_cur_headers()
2347 tmp = (pkt_dev->dst_mac[3] + ((mc >> 16) & 0xFF) + (tmp >> 8)); in mod_cur_headers()
2349 tmp = (pkt_dev->dst_mac[2] + ((mc >> 24) & 0xFF) + (tmp >> 8)); in mod_cur_headers()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dfs.c238 ib_spec->eth.mask.dst_mac); in parse_flow_attr()
241 ib_spec->eth.val.dst_mac); in parse_flow_attr()
581 return is_multicast_ether_addr(eth_spec->mask.dst_mac) && in flow_is_multicast_only()
582 is_multicast_ether_addr(eth_spec->val.dst_mac); in flow_is_multicast_only()
1069 .mask = {.dst_mac = {0x1} }, in create_leftovers_rule()
1070 .val = {.dst_mac = {0x1} } in create_leftovers_rule()
1081 .mask = {.dst_mac = {0x1} }, in create_leftovers_rule()
1082 .val = {.dst_mac = {} } in create_leftovers_rule()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c847 memcpy(rule_hw->eth.dst_mac, spec->eth.dst_mac, ETH_ALEN); in parse_trans_rule()
917 "dmac = %pM ", &cur->eth.dst_mac); in mlx4_err_rule()
1072 memcpy(spec_eth_outer.eth.dst_mac, addr, ETH_ALEN); in mlx4_tunnel_steer_add()
1390 memcpy(spec.eth.dst_mac, &gid[10], ETH_ALEN); in mlx4_trans_to_dmfs_attach()

123