Home
last modified time | relevance | path

Searched refs:subnet_prefix (Results 1 – 25 of 29) sorted by relevance

12

/drivers/infiniband/core/
Dsecurity.c66 u64 *subnet_prefix) in get_pkey_and_subnet_prefix() argument
75 ib_get_cached_subnet_prefix(dev, pp->port_num, subnet_prefix); in get_pkey_and_subnet_prefix()
81 u64 subnet_prefix, in enforce_qp_pkey_security() argument
87 ret = security_ib_pkey_access(qp_sec->security, subnet_prefix, pkey); in enforce_qp_pkey_security()
95 subnet_prefix, in enforce_qp_pkey_security()
114 u64 subnet_prefix; in check_qp_port_pkey_settings() local
124 &subnet_prefix); in check_qp_port_pkey_settings()
129 subnet_prefix, in check_qp_port_pkey_settings()
138 &subnet_prefix); in check_qp_port_pkey_settings()
143 subnet_prefix, in check_qp_port_pkey_settings()
[all …]
Dcache.c542 gid->global.subnet_prefix = cpu_to_be64(0xfe80000000000000LL); in make_default_gid()
1078 *sn_pfx = device->port_data[port_num].cache.subnet_prefix; in ib_get_cached_subnet_prefix()
1455 tprops->subnet_prefix = in config_non_roce_gid_cache()
1456 be64_to_cpu(gid_attr.gid.global.subnet_prefix); in config_non_roce_gid_cache()
1528 device->port_data[port].cache.subnet_prefix = tprops->subnet_prefix; in ib_cache_update()
1534 tprops->subnet_prefix); in ib_cache_update()
Dcore_priv.h224 u64 subnet_prefix);
249 u64 subnet_prefix) in ib_security_cache_change() argument
Duverbs_marshall.c56 cpu_to_be64(port_attr.subnet_prefix)); in rdma_ah_conv_opa_to_ib()
Ddevice.c2060 if (err || port_attr->subnet_prefix) in __ib_query_port()
2068 &port_attr->subnet_prefix); in __ib_query_port()
Dsa_query.c2063 cpu_to_be64(port_attr.subnet_prefix)); in update_sm_ah()
Dnldev.c333 attr.subnet_prefix, RDMA_NLDEV_ATTR_PAD)) in fill_port_info()
/drivers/infiniband/hw/qib/
Dqib_ruc.c72 (gid->global.subnet_prefix == gid_prefix || in gid_ok()
73 gid->global.subnet_prefix == IB_DEFAULT_GID_PREFIX)); in gid_ok()
105 grh->dgid.global.subnet_prefix, in qib_ruc_check_hdr()
144 grh->dgid.global.subnet_prefix, in qib_ruc_check_hdr()
195 hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in qib_make_grh()
/drivers/infiniband/hw/hfi1/
Druc.c17 (gid->global.subnet_prefix == gid_prefix || in gid_ok()
18 gid->global.subnet_prefix == IB_DEFAULT_GID_PREFIX)); in gid_ok()
58 grh->dgid.global.subnet_prefix, in hfi1_ruc_check_hdr()
95 grh->dgid.global.subnet_prefix, in hfi1_ruc_check_hdr()
138 hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_grh()
Dhfi.h2584 grh->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_ext_grh()
2598 grh->dgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_ext_grh()
Dmad.c227 grh->dgid.global.subnet_prefix = in hfi1_update_sm_ah_attr()
796 pi->subnet_prefix = ibp->rvp.gid_prefix; in __subn_get_opa_portinfo()
1366 if (ibp->rvp.gid_prefix != pi->subnet_prefix) { in __subn_set_opa_portinfo()
1367 ibp->rvp.gid_prefix = pi->subnet_prefix; in __subn_set_opa_portinfo()
/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c1075 priv->local_gid.global.subnet_prefix = gid0.global.subnet_prefix; in ipoib_dev_addr_changed_valid()
1076 netdev_gid->global.subnet_prefix = gid0.global.subnet_prefix; in ipoib_dev_addr_changed_valid()
1077 search_gid.global.subnet_prefix = gid0.global.subnet_prefix; in ipoib_dev_addr_changed_valid()
Dipoib_main.c2363 4 + sizeof(gid->global.subnet_prefix)) || in ipoib_check_lladdr()
/drivers/infiniband/hw/mlx4/
Dmad.c757 grh->dgid.global.subnet_prefix == cpu_to_be64( in mlx4_ib_demux_mad()
758 atomic64_read(&dev->sriov.demux[port - 1].subnet_prefix))) { in mlx4_ib_demux_mad()
1212 gid.global.subnet_prefix = in handle_port_mgmt_change_event()
1220 (u64)atomic64_read(&dev->sriov.demux[port - 1].subnet_prefix), in handle_port_mgmt_change_event()
1221 be64_to_cpu(gid.global.subnet_prefix)); in handle_port_mgmt_change_event()
1222 atomic64_set(&dev->sriov.demux[port - 1].subnet_prefix, in handle_port_mgmt_change_event()
1223 be64_to_cpu(gid.global.subnet_prefix)); in handle_port_mgmt_change_event()
2344 atomic64_set(&dev->sriov.demux[i].subnet_prefix, in mlx4_ib_init_sriov()
2345 be64_to_cpu(gid.global.subnet_prefix)); in mlx4_ib_init_sriov()
Dmcg.c760 be64_to_cpu(group->rec.mgid.global.subnet_prefix), in search_relocate_mgid0_group()
841 be64_to_cpu(group->rec.mgid.global.subnet_prefix), in acquire_group()
Dmlx4_ib.h496 atomic64_t subnet_prefix; member
Dqp.c3068 .subnet_prefix = in build_mlx_header()
3073 .subnet_prefix))); in build_mlx_header()
/drivers/net/ethernet/mellanox/mlx5/core/
Drdma.c127 gid->global.subnet_prefix = cpu_to_be64(0xfe80000000000000LL); in mlx5_rdma_make_default_gid()
Dvport.c570 gid->global.subnet_prefix = tmp->global.subnet_prefix; in mlx5_query_hca_vport_gid()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h54 __be64 subnet_prefix; member
/drivers/infiniband/sw/rxe/
Drxe.c102 port->subnet_prefix = cpu_to_be64(RXE_PORT_SUBNET_PREFIX); in rxe_init_port_param()
Drxe_verbs.h380 __be64 subnet_prefix; member
/drivers/infiniband/sw/rdmavt/
Dvt.c234 gid->global.subnet_prefix = rvp->gid_prefix; in rvt_query_gid()
/drivers/infiniband/hw/qedr/
Dmain.c993 sgid->global.subnet_prefix = cpu_to_be64(0xfe80000000000000LL); in qedr_mac_address_change()
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c783 __be64 subnet_prefix; in hns_roce_v1_rsv_lp_qp() local
847 subnet_prefix = cpu_to_be64(0xfe80000000000000LL); in hns_roce_v1_rsv_lp_qp()
891 memcpy(&dgid.raw, &subnet_prefix, sizeof(u64)); in hns_roce_v1_rsv_lp_qp()

12