Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/tools/testing/selftests/drivers/net/mlxsw/
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
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
Dingress_rif_conf_vxlan.sh198 local dest_mac=$(mac_get vlan4001)
206 )"$dest_mac:"$( : ETH daddr
/linux-6.6.21/drivers/net/ethernet/mediatek/
Dmtk_ppe.c211 u8 *dest_mac) in mtk_foe_entry_prepare() argument
241 if (is_multicast_ether_addr(dest_mac)) in mtk_foe_entry_prepare()
252 ether_addr_copy(entry->bridge.dest_mac, dest_mac); in mtk_foe_entry_prepare()
263 l2->dest_mac_hi = get_unaligned_be32(dest_mac); in mtk_foe_entry_prepare()
264 l2->dest_mac_lo = get_unaligned_be16(dest_mac + 4); in mtk_foe_entry_prepare()
779 ether_addr_copy(key.dest_mac, eh->h_dest); in __mtk_ppe_check_skb()
Dmtk_ppe.h131 u8 dest_mac[ETH_ALEN]; member
377 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.6.21/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.6.21/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c450 req.dest_mac[0] = cpu_to_le16(temp16[0]); in bnxt_qplib_create_ah()
451 req.dest_mac[1] = cpu_to_le16(temp16[1]); in bnxt_qplib_create_ah()
452 req.dest_mac[2] = cpu_to_le16(temp16[2]); in bnxt_qplib_create_ah()
Droce_hsi.h629 __le16 dest_mac[3]; member
778 __le16 dest_mac[3]; member
1827 __le16 dest_mac[3]; member
Dqplib_fp.c1318 memcpy(req.dest_mac, qp->ah.dmac, 6); in bnxt_qplib_modify_qp()
1425 memcpy(qp->ah.dmac, sb->dest_mac, 6); in bnxt_qplib_query_qp()
/linux-6.6.21/drivers/net/ethernet/via/
Dvia-velocity.h1197 u8 dest_mac[ETH_ALEN]; member
1212 u8 dest_mac[6]; member
/linux-6.6.21/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c515 u8 *dest_mac = NULL; in bnx2fc_recv_frame() local
531 dest_mac = eth_hdr(skb)->h_dest; in bnx2fc_recv_frame()
563 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in bnx2fc_recv_frame()
565 dest_mac); in bnx2fc_recv_frame()
573 if (!ether_addr_equal(port->data_src_addr, dest_mac)) { in bnx2fc_recv_frame()
/linux-6.6.21/drivers/scsi/qedf/
Dqedf_main.c2467 u8 *dest_mac = NULL; in qedf_recv_frame() local
2483 dest_mac = eth_hdr(skb)->h_dest; in qedf_recv_frame()
2539 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in qedf_recv_frame()
2541 "FC frame d_id mismatch with MAC %pM.\n", dest_mac); in qedf_recv_frame()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h7407 const char *dest_mac) in mlxsw_reg_ratr_eth_entry_pack() argument
7409 mlxsw_reg_ratr_eth_destination_mac_memcpy_to(payload, dest_mac); in mlxsw_reg_ratr_eth_entry_pack()