Home
last modified time | relevance | path

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

/Linux-v5.15/samples/bpf/
Dxdp_router_ipv4_kern.c112 __be64 *dest_mac = NULL, *src_mac = NULL; in xdp_router_ipv4_prog() local
149 dest_mac = &direct_entry->arp.mac; in xdp_router_ipv4_prog()
164 dest_mac = bpf_map_lookup_elem(&arp_table, &dest_ip); in xdp_router_ipv4_prog()
165 if (!dest_mac) { in xdp_router_ipv4_prog()
169 dest_mac = bpf_map_lookup_elem(&arp_table, &dest_ip); in xdp_router_ipv4_prog()
176 if (src_mac && dest_mac) { in xdp_router_ipv4_prog()
177 set_src_dst_mac(data, src_mac, dest_mac); in xdp_router_ipv4_prog()
/Linux-v5.15/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)
271 dest_mac=$(mac_get $h1)
278 )"$dest_mac:"$( : ETH daddr
/Linux-v5.15/drivers/net/ethernet/mediatek/
Dmtk_ppe.c143 u8 pse_port, u8 *src_mac, u8 *dest_mac) in mtk_foe_entry_prepare() argument
161 if (is_multicast_ether_addr(dest_mac)) in mtk_foe_entry_prepare()
178 l2->dest_mac_hi = get_unaligned_be32(dest_mac); in mtk_foe_entry_prepare()
179 l2->dest_mac_lo = get_unaligned_be16(dest_mac + 4); in mtk_foe_entry_prepare()
Dmtk_ppe.h273 u8 pse_port, u8 *src_mac, u8 *dest_mac);
/Linux-v5.15/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c534 req.dest_mac[0] = cpu_to_le16(temp16[0]); in bnxt_qplib_create_ah()
535 req.dest_mac[1] = cpu_to_le16(temp16[1]); in bnxt_qplib_create_ah()
536 req.dest_mac[2] = cpu_to_le16(temp16[2]); in bnxt_qplib_create_ah()
Droce_hsi.h1272 __le16 dest_mac[3]; member
1800 __le16 dest_mac[3]; member
2293 __le16 dest_mac[3]; member
Dqplib_fp.c1283 memcpy(req.dest_mac, qp->ah.dmac, 6); in bnxt_qplib_modify_qp()
1386 memcpy(qp->ah.dmac, sb->dest_mac, 6); in bnxt_qplib_query_qp()
/Linux-v5.15/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1d.sh558 local dest_mac=$1; shift
569 )"$dest_mac:"$( : ETH daddr
/Linux-v5.15/drivers/net/ethernet/via/
Dvia-velocity.h1198 u8 dest_mac[ETH_ALEN]; member
1213 u8 dest_mac[6]; member
/Linux-v5.15/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c521 u8 *dest_mac = NULL; in bnx2fc_recv_frame() local
537 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-v5.15/drivers/scsi/qedf/
Dqedf_main.c2446 u8 *dest_mac = NULL; in qedf_recv_frame() local
2462 dest_mac = eth_hdr(skb)->h_dest; in qedf_recv_frame()
2518 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in qedf_recv_frame()
2520 "FC frame d_id mismatch with MAC %pM.\n", dest_mac); in qedf_recv_frame()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h6924 const char *dest_mac) in mlxsw_reg_ratr_eth_entry_pack() argument
6926 mlxsw_reg_ratr_eth_destination_mac_memcpy_to(payload, dest_mac); in mlxsw_reg_ratr_eth_entry_pack()