Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c450 u8 unassigned_pkey_ix, pkey_ix, partial_ix = 0xFF; in find_slave_port_pkey_ix() local
462 pkey_ix = dev->pkeys.virt2phys_pkey[slave][port - 1][i]; in find_slave_port_pkey_ix()
464 ret = ib_get_cached_pkey(&dev->ib_dev, port, pkey_ix, &slot_pkey); in find_slave_port_pkey_ix()
469 *ix = (u16) pkey_ix; in find_slave_port_pkey_ix()
474 partial_ix = pkey_ix; in find_slave_port_pkey_ix()
549 u16 pkey_ix; in mlx4_ib_send_to_slave() local
558 ret = find_slave_port_pkey_ix(dev, slave, port, cached_pkey, &pkey_ix); in mlx4_ib_send_to_slave()
565 tun_pkey_ix = pkey_ix; in mlx4_ib_send_to_slave()