Home
last modified time | relevance | path

Searched refs:dest_mac (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-6.6/samples/bpf/
H A 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()
/kernel/linux/linux-5.10/samples/bpf/
H A 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()
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H A 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
H A 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
H A Dingress_rif_conf_vxlan.sh198 local dest_mac=$(mac_get vlan4001)
206 )"$dest_mac:"$( : ETH daddr
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
H A 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
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.c211 u8 *dest_mac) in mtk_foe_entry_prepare()
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()
209 mtk_foe_entry_prepare(struct mtk_eth *eth, struct mtk_foe_entry *entry, int type, int l4proto, u8 pse_port, u8 *src_mac, u8 *dest_mac) mtk_foe_entry_prepare() argument
H A Dmtk_ppe.h131 u8 dest_mac[ETH_ALEN]; member
377 u8 *dest_mac);
H A Dmtk_ppe_offload.c187 struct net_device *dev, const u8 *dest_mac, in mtk_flow_set_output_device()
193 if (mtk_flow_get_wdma_info(dev, dest_mac, &info) == 0) { in mtk_flow_set_output_device()
186 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, struct net_device *dev, const u8 *dest_mac, int *wed_index) mtk_flow_set_output_device() argument
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dqplib_sp.c523 req.dest_mac[0] = cpu_to_le16(temp16[0]); in bnxt_qplib_create_ah()
524 req.dest_mac[1] = cpu_to_le16(temp16[1]); in bnxt_qplib_create_ah()
525 req.dest_mac[2] = cpu_to_le16(temp16[2]); in bnxt_qplib_create_ah()
H A Droce_hsi.h1272 __le16 dest_mac[3]; member
1800 __le16 dest_mac[3]; member
2293 __le16 dest_mac[3]; member
H A Dqplib_fp.c1296 memcpy(req.dest_mac, qp->ah.dmac, 6); in bnxt_qplib_modify_qp()
1399 memcpy(qp->ah.dmac, sb->dest_mac, 6); in bnxt_qplib_query_qp()
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A 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()
H A Droce_hsi.h629 __le16 dest_mac[3]; member
778 __le16 dest_mac[3]; member
1827 __le16 dest_mac[3]; member
H A 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()
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A Dvxlan_bridge_1d.sh558 local dest_mac=$1; shift
569 )"$dest_mac:"$( : ETH daddr
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dvxlan_bridge_1d_ipv6.sh679 local dest_mac=$1; shift
692 )"$dest_mac:"$( : ETH daddr
H A Dvxlan_bridge_1d.sh558 local dest_mac=$1; shift
569 )"$dest_mac:"$( : ETH daddr
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c517 u8 *dest_mac = NULL; in bnx2fc_recv_frame() local
533 dest_mac = eth_hdr(skb)->h_dest; in bnx2fc_recv_frame()
567 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in bnx2fc_recv_frame()
569 dest_mac); in bnx2fc_recv_frame()
577 if (!ether_addr_equal(port->data_src_addr, dest_mac)) { in bnx2fc_recv_frame()
/kernel/linux/linux-6.6/drivers/scsi/bnx2fc/
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/via/
H A Dvia-velocity.h1198 u8 dest_mac[ETH_ALEN]; member
1213 u8 dest_mac[6]; member
/kernel/linux/linux-6.6/drivers/net/ethernet/via/
H A Dvia-velocity.h1197 u8 dest_mac[ETH_ALEN]; member
1212 u8 dest_mac[6]; member
/kernel/linux/linux-5.10/drivers/scsi/qedf/
H A Dqedf_main.c2465 u8 *dest_mac = NULL; in qedf_recv_frame() local
2481 dest_mac = eth_hdr(skb)->h_dest; in qedf_recv_frame()
2537 if (ntoh24(&dest_mac[3]) != ntoh24(fh->fh_d_id)) { in qedf_recv_frame()
2539 "FC frame d_id mismatch with MAC %pM.\n", dest_mac); in qedf_recv_frame()
/kernel/linux/linux-6.6/drivers/scsi/qedf/
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dreg.h6658 const char *dest_mac) in mlxsw_reg_ratr_eth_entry_pack()
6660 mlxsw_reg_ratr_eth_destination_mac_memcpy_to(payload, dest_mac); in mlxsw_reg_ratr_eth_entry_pack()
6657 mlxsw_reg_ratr_eth_entry_pack(char *payload, const char *dest_mac) mlxsw_reg_ratr_eth_entry_pack() argument

Completed in 77 milliseconds

12