Home
last modified time | relevance | path

Searched refs:dest_mac (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/samples/bpf/
Dxdp_router_ipv4.bpf.c112 __be64 *dest_mac, *src_mac; in xdp_router_ipv4_prog() local
124 dest_mac = &direct_entry->arp.mac; in xdp_router_ipv4_prog()
146 dest_mac = bpf_map_lookup_elem(&arp_table, &iph->daddr); in xdp_router_ipv4_prog()
147 if (!dest_mac) { in xdp_router_ipv4_prog()
151 dest_mac = bpf_map_lookup_elem(&arp_table, in xdp_router_ipv4_prog()
153 if (!dest_mac) { in xdp_router_ipv4_prog()
165 if (src_mac && dest_mac) { in xdp_router_ipv4_prog()
168 __builtin_memcpy(eth->h_dest, dest_mac, ETH_ALEN); in xdp_router_ipv4_prog()
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_tunnel_vxlan_ipv6.sh137 local dest_mac=$(mac_get $h1)
145 )"$dest_mac:"$( : ETH daddr
197 local dest_mac=$(mac_get $h1)
205 )"$dest_mac:"$( : ETH daddr
225 dest_mac=$(mac_get $h1)
231 )"$dest_mac:"$( : ETH daddr
283 local dest_mac=$(mac_get $h1)
292 )"$dest_mac:"$( : ETH daddr
Ddevlink_trap_tunnel_vxlan.sh136 dest_mac=$(mac_get $h1)
142 )"$dest_mac:"$( : ETH daddr
192 dest_mac=$(mac_get $h1)
198 )"$dest_mac:"$( : ETH daddr
217 dest_mac=$(mac_get $h1)
223 )"$dest_mac:"$( : ETH daddr
274 dest_mac=$(mac_get $h1)
281 )"$dest_mac:"$( : ETH daddr
Dingress_rif_conf_vxlan.sh198 local dest_mac=$(mac_get vlan4001)
206 )"$dest_mac:"$( : ETH daddr
/linux-6.1.9/drivers/net/ethernet/mediatek/
Dmtk_ppe.c161 u8 *dest_mac) in mtk_foe_entry_prepare() argument
189 if (is_multicast_ether_addr(dest_mac)) in mtk_foe_entry_prepare()
200 ether_addr_copy(entry->bridge.dest_mac, dest_mac); in mtk_foe_entry_prepare()
211 l2->dest_mac_hi = get_unaligned_be32(dest_mac); in mtk_foe_entry_prepare()
212 l2->dest_mac_lo = get_unaligned_be16(dest_mac + 4); in mtk_foe_entry_prepare()
672 ether_addr_copy(key.dest_mac, eh->h_dest); in __mtk_ppe_check_skb()
Dmtk_ppe.h111 u8 dest_mac[ETH_ALEN]; member
335 u8 *dest_mac);
Dmtk_ppe_offload.c187 struct net_device *dev, const u8 *dest_mac, in mtk_flow_set_output_device() argument
193 if (mtk_flow_get_wdma_info(dev, dest_mac, &info) == 0) { in mtk_flow_set_output_device()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c438 req.dest_mac[0] = cpu_to_le16(temp16[0]); in bnxt_qplib_create_ah()
439 req.dest_mac[1] = cpu_to_le16(temp16[1]); in bnxt_qplib_create_ah()
440 req.dest_mac[2] = cpu_to_le16(temp16[2]); in bnxt_qplib_create_ah()
Droce_hsi.h1277 __le16 dest_mac[3]; member
1805 __le16 dest_mac[3]; member
2298 __le16 dest_mac[3]; member
Dqplib_fp.c1286 memcpy(req.dest_mac, qp->ah.dmac, 6); in bnxt_qplib_modify_qp()
1389 memcpy(qp->ah.dmac, sb->dest_mac, 6); in bnxt_qplib_query_qp()
/linux-6.1.9/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1d.sh558 local dest_mac=$1; shift
569 )"$dest_mac:"$( : ETH daddr
Dvxlan_bridge_1d_ipv6.sh679 local dest_mac=$1; shift
692 )"$dest_mac:"$( : ETH daddr
/linux-6.1.9/drivers/net/ethernet/via/
Dvia-velocity.h1197 u8 dest_mac[ETH_ALEN]; member
1212 u8 dest_mac[6]; member
/linux-6.1.9/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c518 u8 *dest_mac = NULL; in bnx2fc_recv_frame() local
534 dest_mac = eth_hdr(skb)->h_dest; in bnx2fc_recv_frame()
566 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in bnx2fc_recv_frame()
568 dest_mac); in bnx2fc_recv_frame()
576 if (!ether_addr_equal(port->data_src_addr, dest_mac)) { in bnx2fc_recv_frame()
/linux-6.1.9/drivers/scsi/qedf/
Dqedf_main.c2468 u8 *dest_mac = NULL; in qedf_recv_frame() local
2484 dest_mac = eth_hdr(skb)->h_dest; in qedf_recv_frame()
2540 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in qedf_recv_frame()
2542 "FC frame d_id mismatch with MAC %pM.\n", dest_mac); in qedf_recv_frame()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h7309 const char *dest_mac) in mlxsw_reg_ratr_eth_entry_pack() argument
7311 mlxsw_reg_ratr_eth_destination_mac_memcpy_to(payload, dest_mac); in mlxsw_reg_ratr_eth_entry_pack()