/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_vlan.c | 52 int ipoib_vlan_add(struct net_device *pdev, unsigned short pkey) argument 71 if (ppriv->pkey == pkey) { 78 if (priv->pkey == pkey) { 86 ppriv->dev->name, pkey); 103 priv->pkey = pkey; 106 priv->dev->broadcast[8] = pkey >> 8; 107 priv->dev->broadcast[9] = pkey 160 ipoib_vlan_delete(struct net_device *pdev, unsigned short pkey) argument [all...] |
H A D | ipoib_main.c | 520 path->pathrec.pkey = cpu_to_be16(priv->pkey); 650 n->ha[8] = (priv->pkey >> 8) & 0xff; 651 n->ha[9] = priv->pkey & 0xff; 777 cb->hwaddr[8] = (priv->pkey >> 8) & 0xff; 778 cb->hwaddr[9] = priv->pkey & 0xff; 1061 return sprintf(buf, "0x%04x\n", priv->pkey); 1063 static DEVICE_ATTR(pkey, S_IRUGO, show_pkey, NULL); 1100 int pkey; local 1103 if (sscanf(buf, "%i", &pkey) ! 1125 int pkey; local [all...] |
H A D | ipoib.h | 297 u16 pkey; member in struct:ipoib_dev_priv 493 int ipoib_vlan_add(struct net_device *pdev, unsigned short pkey); 494 int ipoib_vlan_delete(struct net_device *pdev, unsigned short pkey);
|
H A D | ipoib_ib.c | 667 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &priv->pkey_index)) { 668 ipoib_warn(priv, "P_Key 0x%04x not found\n", priv->pkey); 709 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &pkey_index)) 959 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &new_index)) { 1070 /* Look for the interface pkey value in the IB Port P_Key table and */ 1071 /* set the interface pkey assigment flag */
|
H A D | ipoib_multicast.c | 338 rec.pkey = cpu_to_be16(priv->pkey); 461 rec.pkey = cpu_to_be16(priv->pkey); 780 /* signature lower, pkey */
|
H A D | ipoib_verbs.c | 45 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &pkey_index)) {
|
/drivers/infiniband/core/ |
H A D | uverbs_marshall.c | 108 dst->pkey = src->pkey; 134 dst->pkey = src->pkey;
|
H A D | cache.c | 137 u16 *pkey) 153 *pkey = cache->table[index]; 163 u16 pkey, 181 if ((cache->table[i] & 0x7fff) == (pkey & 0x7fff)) { 134 ib_get_cached_pkey(struct ib_device *device, u8 port_num, int index, u16 *pkey) argument 161 ib_find_cached_pkey(struct ib_device *device, u8 port_num, u16 pkey, u16 *index) argument
|
H A D | device.c | 606 * @pkey:Returned P_Key 611 u8 port_num, u16 index, u16 *pkey) 613 return device->query_pkey(device, port_num, index, pkey); 702 * @pkey: The PKey value to search for. 706 u8 port_num, u16 pkey, u16 *index) 716 if ((pkey & 0x7fff) == (tmp_pkey & 0x7fff)) { 610 ib_query_pkey(struct ib_device *device, u8 port_num, u16 index, u16 *pkey) argument 705 ib_find_pkey(struct ib_device *device, u8 port_num, u16 pkey, u16 *index) argument
|
H A D | cm.c | 229 __be16 pkey; member in struct:cm_id_private 371 be16_to_cpu(path->pkey), &av->pkey_index); 1022 req_msg->pkey = param->primary_path->pkey; 1098 (param->alternate_path->pkey != param->primary_path->pkey || 1154 cm_id_priv->pkey = param->primary_path->pkey; 1244 primary_path->pkey = req_msg->pkey; [all...] |
H A D | multicast.c | 302 if (comp_mask & IB_SA_MCMEMBER_REC_PKEY && src->pkey != dst->pkey) 402 be16_to_cpu(group->rec.pkey), &pkey_index); 529 be16_to_cpu(rec->pkey), &pkey_index);
|
H A D | cm_msgs.h | 86 __be16 pkey; member in struct:cm_req_msg 812 __be16 pkey; member in struct:cm_sidr_req_msg
|
H A D | ud_header.c | 175 { STRUCT_FIELD(bth, pkey),
|
H A D | cma.c | 610 u16 pkey; local 614 pkey = ib_addr_get_pkey(dev_addr); 616 pkey = 0xffff; 619 pkey, &qp_attr->pkey_index); 1113 ib_addr_set_pkey(&rt->addr.dev_addr, be16_to_cpu(rt->path_rec[0].pkey)); 1632 path_rec.pkey = cpu_to_be16(ib_addr_get_pkey(&addr->dev_addr)); 1827 route->path_rec->pkey = cpu_to_be16(0xffff); 1905 u16 pkey; local 1928 ret = ib_get_cached_pkey(cma_dev->device, p, 0, &pkey); 1937 ib_addr_set_pkey(&id_priv->id.route.addr.dev_addr, pkey); [all...] |
H A D | sa_query.c | 172 { PATH_REC_FIELD(pkey), 252 { MCMEMBER_REC_FIELD(pkey), 316 { SERVICE_REC_FIELD(pkey),
|
H A D | sysfs.c | 304 u16 pkey; local 307 ret = ib_query_pkey(p->ibdev, p->port_num, tab_attr->index, &pkey); 311 return sprintf(buf, "0x%04x\n", pkey);
|
/drivers/infiniband/hw/qib/ |
H A D | qib_ud.c | 392 static unsigned qib_lookup_pkey(struct qib_ibport *ibp, u16 pkey) argument 399 pkey &= 0x7fff; /* remove limited/full membership bit */ 402 if ((dd->rcd[ctxt]->pkeys[i] & 0x7fff) == pkey)
|
/drivers/infiniband/hw/ehca/ |
H A D | ehca_hca.c | 281 int ehca_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) argument 307 memcpy(pkey, &rblock->pkey_entries + index, sizeof(u16));
|
H A D | ehca_iverbs.h | 55 int ehca_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 * pkey);
|
/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 87 __be16 pkey; member in struct:__anon970 100 ext_info->pkey = cpu_to_be16(in_wc->pkey_index);
|
/drivers/infiniband/hw/cxgb4/ |
H A D | provider.c | 230 u16 *pkey) 233 *pkey = 0; 229 c4iw_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) argument
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_mad.c | 348 * @pkeys: the pkey table is placed here 761 u64 pkey; local 763 pkey = (u64) dd->ipath_pkeys[0] | 767 ipath_cdbg(VERBOSE, "p0 new pkey reg %llx\n", 768 (unsigned long long) pkey); 770 pkey);
|
H A D | ipath_file_ops.c | 598 * error for a process to set the same pkey multiple times. We provide no 599 * mechanism to de-allocate a pkey at this time, we may eventually need to 618 ipath_cdbg(VERBOSE, "p%u try to set pkey %hx, current keys " 645 ipath_cdbg(VERBOSE, "p%u tries to set same pkey " 704 u64 pkey; local 709 pkey = 715 "portidx %d, new pkey reg %llx\n", 717 (unsigned long long) pkey); 719 dd, dd->ipath_kregs->kr_partitionkey, pkey); 834 u64 pkey local [all...] |
/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 185 be16_to_cpu(target->path.pkey), 1459 target->path.pkey = cpi->redirect_pkey; 1724 return sprintf(buf, "0x%04x\n", be16_to_cpu(target->path.pkey)); 1794 static DEVICE_ATTR(pkey, S_IRUGO, show_pkey, NULL); 1886 * pkey=<P_Key>,service_id=<service ID> 1915 { SRP_OPT_PKEY, "pkey=%x" }, 1996 target->path.pkey = cpu_to_be16(token); 2179 "new target: id_ext %016llx ioc_guid %016llx pkey %04x " 2183 be16_to_cpu(target->path.pkey),
|
/drivers/infiniband/hw/amso1100/ |
H A D | c2_provider.c | 103 u8 port, u16 index, u16 * pkey) 106 *pkey = 0; 102 c2_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 * pkey) argument
|