/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | smt.c | 66 static struct smt_entry *find_or_alloc_smte(struct smt_data *s, u8 *smac) in find_or_alloc_smte() argument 80 if (memcmp(e->src_mac, smac, ETH_ALEN) == 0) in find_or_alloc_smte() 210 u8 *smac) in t4_smt_alloc_switching() argument 216 e = find_or_alloc_smte(s, smac); in t4_smt_alloc_switching() 223 memcpy(e->src_mac, smac, ETH_ALEN); in t4_smt_alloc_switching() 241 struct smt_entry *cxgb4_smt_alloc_switching(struct net_device *dev, u8 *smac) in cxgb4_smt_alloc_switching() argument 245 return t4_smt_alloc_switching(adap, 0x0, smac); in cxgb4_smt_alloc_switching()
|
D | smt.h | 73 struct smt_entry *cxgb4_smt_alloc_switching(struct net_device *dev, u8 *smac);
|
D | cxgb4_tc_flower.c | 49 PEDIT_FIELDS(ETH_, SMAC_15_0, 2, smac, 0), 50 PEDIT_FIELDS(ETH_, SMAC_47_16, 4, smac, 2),
|
/Linux-v4.19/net/bridge/netfilter/ |
D | ebt_among.c | 135 const char *dmac, *smac; in ebt_among_mt() local 143 smac = eth_hdr(skb)->h_source; in ebt_among_mt() 148 if (!ebt_mac_wormhash_contains(wh_src, smac, sip)) in ebt_among_mt() 152 if (ebt_mac_wormhash_contains(wh_src, smac, sip)) in ebt_among_mt()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.c | 234 ether_addr_copy(flow->l2_key.smac, key->src); in bnxt_tc_parse_flow() 235 ether_addr_copy(flow->l2_mask.smac, mask->src); in bnxt_tc_parse_flow() 463 memcpy(req.smac, flow->l2_key.smac, ETH_ALEN); in bnxt_hwrm_cfa_flow_alloc() 530 memcpy(&req.l2_rewrite_smac, &req.smac, ETH_ALEN); in bnxt_hwrm_cfa_flow_alloc() 538 memcpy(&req.l2_rewrite_smac, &req.smac, ETH_ALEN); in bnxt_hwrm_cfa_flow_alloc() 665 ether_addr_copy(encap->src_mac_addr, l2_info->smac); in hwrm_cfa_encap_record_alloc() 822 if (bits_set(&flow->l2_key.smac, sizeof(flow->l2_key.smac)) && in bnxt_tc_can_offload() 823 !is_exactmatch(flow->l2_mask.smac, sizeof(flow->l2_mask.smac))) { in bnxt_tc_can_offload() 1056 ether_addr_copy(l2_info->smac, dst_dev->dev_addr); in bnxt_tc_resolve_tunnel_hdrs() 1111 ether_addr_copy(decap_l2_info->dmac, l2_info.smac); in bnxt_tc_get_decap_handle()
|
D | bnxt_tc.h | 21 u8 smac[ETH_ALEN]; member
|
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/ |
D | qplib_sp.c | 270 struct bnxt_qplib_gid *gid, u8 *smac, u16 vlan_id, in bnxt_qplib_add_sgid() argument 334 req.src_mac[0] = cpu_to_be16(((u16 *)smac)[0]); in bnxt_qplib_add_sgid() 335 req.src_mac[1] = cpu_to_be16(((u16 *)smac)[1]); in bnxt_qplib_add_sgid() 336 req.src_mac[2] = cpu_to_be16(((u16 *)smac)[2]); in bnxt_qplib_add_sgid() 361 u8 *smac) in bnxt_qplib_update_sgid() argument 385 req.src_mac[0] = cpu_to_be16(((u16 *)smac)[0]); in bnxt_qplib_update_sgid() 386 req.src_mac[1] = cpu_to_be16(((u16 *)smac)[1]); in bnxt_qplib_update_sgid() 387 req.src_mac[2] = cpu_to_be16(((u16 *)smac)[2]); in bnxt_qplib_update_sgid()
|
D | qplib_fp.h | 281 u8 smac[6]; member 358 u8 smac[6]; member
|
D | qplib_sp.h | 219 struct bnxt_qplib_gid *gid, u16 gid_idx, u8 *smac);
|
D | ib_verbs.c | 991 ether_addr_copy(qp->qplib_qp.smac, rdev->netdev->dev_addr); in bnxt_re_create_shadow_qp() 1062 ether_addr_copy(qp->qplib_qp.smac, rdev->netdev->dev_addr); in bnxt_re_create_qp() 1684 memcpy(qp->qplib_qp.smac, sgid_attr->ndev->dev_addr, in bnxt_re_modify_qp() 1943 ether_addr_copy(qp->qp1_hdr.eth.smac_h, qp->qplib_qp.smac); in bnxt_re_build_qp1_send_v2() 3101 memcpy(wc->smac, orig_cqe->smac, ETH_ALEN); in bnxt_re_process_res_shadow_qp_wc() 3220 memcpy(wc->smac, cqe->smac, ETH_ALEN); in bnxt_re_poll_cq()
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | qp.c | 1345 if (qp->pri.smac || (!qp->pri.smac && qp->pri.smac_port)) { in destroy_qp_common() 1346 mlx4_unregister_mac(dev->dev, qp->pri.smac_port, qp->pri.smac); in destroy_qp_common() 1347 qp->pri.smac = 0; in destroy_qp_common() 1350 if (qp->alt.smac) { in destroy_qp_common() 1351 mlx4_unregister_mac(dev->dev, qp->alt.smac_port, qp->alt.smac); in destroy_qp_common() 1352 qp->alt.smac = 0; in destroy_qp_common() 1712 u64 smac, u16 vlan_tag, struct mlx4_qp_path *path, in _mlx4_set_path() argument 1802 if ((!smac_info->smac && !smac_info->smac_port) || in _mlx4_set_path() 1803 smac_info->smac != smac) { in _mlx4_set_path() 1805 smac_index = mlx4_register_mac(dev->dev, port, smac); in _mlx4_set_path() [all …]
|
D | cq.c | 606 memcpy(&(wc->smac[0]), (char *)&hdr->tun.mac_31_0, 4); in use_tunnel_data() 607 memcpy(&(wc->smac[4]), (char *)&hdr->tun.slid_mac_47_32, 2); in use_tunnel_data() 872 memcpy(wc->smac, cqe->smac, ETH_ALEN); in mlx4_ib_poll_one()
|
/Linux-v4.19/samples/bpf/ |
D | test_lwt_bpf.c | 170 uint64_t smac = SRC_MAC, dmac = DST_MAC; in __do_push_ll_and_redirect() local 180 memcpy(&ehdr.h_source, &smac, 6); in __do_push_ll_and_redirect()
|
D | xdp_fwd_kern.c | 119 memcpy(eth->h_source, fib_params.smac, ETH_ALEN); in xdp_fwd_flags()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_span.h | 33 unsigned char smac[ETH_ALEN]; member
|
D | spectrum_span.c | 282 memcpy(sparmsp->smac, edev->dev_addr, ETH_ALEN); in mlxsw_sp_span_entry_tunnel_parms_common() 371 sparms.ttl, sparms.smac, in mlxsw_sp_span_entry_gretap4_configure() 471 mlxsw_reg_mpat_eth_rspan_l3_ipv6_pack(mpat_pl, sparms.ttl, sparms.smac, in mlxsw_sp_span_entry_gretap6_configure()
|
/Linux-v4.19/include/linux/mlx4/ |
D | cq.h | 54 u8 smac[ETH_ALEN]; member
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fs_tracepoint.c | 68 DECLARE_MASK_VAL(u64, smac) = { in print_lyr_2_4_hdrs() 80 PRINT_MASKED_VALP(smac, u8 *, p, "%pM"); in print_lyr_2_4_hdrs()
|
/Linux-v4.19/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 112 *((u32 *)&qp->rqe_wr_id[qp->rq.gsi_cons].smac[0]) = in qedr_ll2_complete_rx_packet() 114 *((u16 *)&qp->rqe_wr_id[qp->rq.gsi_cons].smac[4]) = in qedr_ll2_complete_rx_packet() 692 ether_addr_copy(wc[i].smac, qp->rqe_wr_id[qp->rq.cons].smac); in qedr_gsi_poll_cq()
|
D | qedr.h | 435 u8 smac[ETH_ALEN]; member
|
/Linux-v4.19/include/uapi/rdma/ |
D | vmw_pvrdma-abi.h | 292 __u8 smac[6]; member
|
/Linux-v4.19/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 120 memcpy(ð.smac[0], &dev->nic_info.mac_addr[0], ETH_ALEN); in set_av_attr()
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 194 u8 *smac; in hns_roce_v2_post_send() local 263 smac = (u8 *)hr_dev->dev_addr[qp->port]; in hns_roce_v2_post_send() 265 smac) ? 1 : 0; in hns_roce_v2_post_send() 2283 memcpy(wc->smac, cqe->smac, 4); in hns_roce_v2_poll_one() 2284 wc->smac[4] = roce_get_field(cqe->byte_28, in hns_roce_v2_poll_one() 2287 wc->smac[5] = roce_get_field(cqe->byte_28, in hns_roce_v2_poll_one() 2985 u8 *smac; in modify_qp_init_to_rtr() local 3144 smac = (u8 *)hr_dev->dev_addr[port]; in modify_qp_init_to_rtr() 3146 if (ether_addr_equal_unaligned(dmac, smac) || in modify_qp_init_to_rtr()
|
/Linux-v4.19/tools/include/uapi/linux/ |
D | bpf.h | 2768 __u8 smac[6]; /* ETH_ALEN */ member
|
/Linux-v4.19/include/uapi/linux/ |
D | bpf.h | 2768 __u8 smac[6]; /* ETH_ALEN */ member
|