Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mlx4/
Dsysfs.c446 (p->dev->dev->caps.pkey_table_len[p->port_num])) in show_port_pkey()
470 idx >= p->dev->dev->caps.pkey_table_len[p->port_num] || in store_port_pkey()
660 dev->dev->caps.pkey_table_len[port_num]); in add_port()
693 for (i = 0; i < dev->dev->caps.pkey_table_len[port_num]; ++i) in add_port()
Dmad.c320 ix < dev->dev->caps.pkey_table_len[port_num]; ix++) { in __propagate_pkey_ev()
426 for (i = 0; i < dev->dev->caps.pkey_table_len[port]; i++) { in find_slave_port_pkey_ix()
Dmain.c475 props->max_pkeys = dev->dev->caps.pkey_table_len[1]; in mlx4_ib_query_device()
555 props->pkey_tbl_len = to_mdev(ibdev)->dev->caps.pkey_table_len[port]; in ib_link_query_port()
Dqp.c1695 dev->dev->caps.pkey_table_len[attr->alt_port_num]) in __mlx4_ib_modify_qp()
2092 if (attr->pkey_index >= dev->dev->caps.pkey_table_len[p]) { in mlx4_ib_modify_qp()
/drivers/infiniband/hw/mthca/
Dmthca_qp.c320 param.pkey_cap = dev->limits.pkey_table_len; in init_port()
670 if (attr->alt_pkey_index >= dev->limits.pkey_table_len) { in __mthca_modify_qp()
672 attr->alt_pkey_index, dev->limits.pkey_table_len-1); in __mthca_modify_qp()
873 attr->pkey_index >= dev->limits.pkey_table_len) { in mthca_modify_qp()
875 attr->pkey_index, dev->limits.pkey_table_len-1); in mthca_modify_qp()
Dmthca_dev.h139 int pkey_table_len; member
Dmthca_provider.c114 props->max_pkeys = mdev->limits.pkey_table_len; in mthca_query_device()
169 props->pkey_tbl_len = to_mdev(ibdev)->limits.pkey_table_len; in mthca_query_port()
Dmthca_main.c201 mdev->limits.pkey_table_len = dev_lim->max_pkeys; in mthca_dev_lim()
/drivers/infiniband/hw/mlx5/
Dmad.c395 props->pkey_tbl_len = mdev->port_caps[port - 1].pkey_table_len; in mlx5_query_mad_ifc_port()
Dmain.c1043 dev->mdev->port_caps[port - 1].pkey_table_len = in get_port_caps()
Dqp.c1816 dev->mdev->port_caps[port - 1].pkey_table_len) in mlx5_ib_modify_qp()
/drivers/net/ethernet/mellanox/mlx4/
Dmain.c272 dev->caps.pkey_table_len[port] = port_cap->max_pkeys; in _mlx4_dev_port()
895 &dev->caps.pkey_table_len[i]); in mlx4_slave_cap()
1881 dev->caps.pkey_table_len[i] = in mlx4_parav_master_pf_caps()
2588 dev->caps.pkey_table_len[port] : -1); in mlx4_setup_hca()
Dfw.c1323 short_field = dev->caps.pkey_table_len[vhcr->in_modifier]; in mlx4_QUERY_PORT_wrapper()
2168 field = dev->caps.pkey_table_len[port]; in mlx4_INIT_PORT()
Dcmd.c872 for (i = 0; i < dev->caps.pkey_table_len[port]; i += 32) { in get_full_pkey_table()
927 table = kcalloc((dev->caps.pkey_table_len[port] / 32) + 1, in mlx4_MAD_IFC_wrapper()