Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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.12.1/drivers/net/ethernet/mediatek/
Dmtk_ppe.c214 u8 *dest_mac) in mtk_foe_entry_prepare() argument
244 if (is_multicast_ether_addr(dest_mac)) in mtk_foe_entry_prepare()
255 ether_addr_copy(entry->bridge.dest_mac, dest_mac); in mtk_foe_entry_prepare()
266 l2->dest_mac_hi = get_unaligned_be32(dest_mac); in mtk_foe_entry_prepare()
267 l2->dest_mac_lo = get_unaligned_be16(dest_mac + 4); in mtk_foe_entry_prepare()
781 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.c188 struct net_device *dev, const u8 *dest_mac, in mtk_flow_set_output_device() argument
194 if (mtk_flow_get_wdma_info(dev, dest_mac, &info) == 0) { in mtk_flow_set_output_device()
/linux-6.12.1/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.12.1/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c464 req.dest_mac[0] = cpu_to_le16(temp16[0]); in bnxt_qplib_create_ah()
465 req.dest_mac[1] = cpu_to_le16(temp16[1]); in bnxt_qplib_create_ah()
466 req.dest_mac[2] = cpu_to_le16(temp16[2]); in bnxt_qplib_create_ah()
Droce_hsi.h638 __le16 dest_mac[3]; member
794 __le16 dest_mac[3]; member
1855 __le16 dest_mac[3]; member
Dqplib_fp.c1342 memcpy(req.dest_mac, qp->ah.dmac, 6); in bnxt_qplib_modify_qp()
1449 memcpy(qp->ah.dmac, sb->dest_mac, 6); in bnxt_qplib_query_qp()
/linux-6.12.1/drivers/net/ethernet/via/
Dvia-velocity.h1197 u8 dest_mac[ETH_ALEN]; member
1212 u8 dest_mac[6]; member
/linux-6.12.1/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.12.1/drivers/infiniband/hw/mana/
Dmana_ib.h303 u8 dest_mac[ETH_ALEN]; member
Dqp.c549 copy_in_reverse(req.ah_attr.dest_mac, attr->ah_attr.roce.dmac, ETH_ALEN); in mana_ib_gd_modify_qp()
/linux-6.12.1/drivers/scsi/qedf/
Dqedf_main.c2478 u8 *dest_mac = NULL; in qedf_recv_frame() local
2494 dest_mac = eth_hdr(skb)->h_dest; in qedf_recv_frame()
2550 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in qedf_recv_frame()
2552 "FC frame d_id mismatch with MAC %pM.\n", dest_mac); in qedf_recv_frame()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h7482 const char *dest_mac) in mlxsw_reg_ratr_eth_entry_pack() argument
7484 mlxsw_reg_ratr_eth_destination_mac_memcpy_to(payload, dest_mac); in mlxsw_reg_ratr_eth_entry_pack()