Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dsysfs.c449 if (key >= p->dev->dev->caps.pkey_table_len[p->port_num]) in show_port_pkey()
469 idx >= p->dev->dev->caps.pkey_table_len[p->port_num] || in store_port_pkey()
651 dev->dev->caps.pkey_table_len[port_num]); in add_port()
684 for (i = 0; i < dev->dev->caps.pkey_table_len[port_num]; ++i) in add_port()
Dmain.c549 props->max_pkeys = dev->dev->caps.pkey_table_len[1]; in mlx4_ib_query_device()
689 props->pkey_tbl_len = to_mdev(ibdev)->dev->caps.pkey_table_len[port]; in ib_link_query_port()
777 if (mdev->dev->caps.pkey_table_len[port]) in eth_link_query_port()
Dmad.c350 ix < dev->dev->caps.pkey_table_len[port_num]; ix++) { in __propagate_pkey_ev()
458 for (i = 0; i < dev->dev->caps.pkey_table_len[port]; i++) { in find_slave_port_pkey_ix()
Dqp.c2300 dev->dev->caps.pkey_table_len[attr->alt_port_num]) in __mlx4_ib_modify_qp()
2731 if (attr->pkey_index >= dev->dev->caps.pkey_table_len[p]) { in _mlx4_ib_modify_qp()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_qp.c321 param.pkey_cap = dev->limits.pkey_table_len; in init_port()
686 if (attr->alt_pkey_index >= dev->limits.pkey_table_len) { in __mthca_modify_qp()
688 attr->alt_pkey_index, dev->limits.pkey_table_len-1); in __mthca_modify_qp()
892 attr->pkey_index >= dev->limits.pkey_table_len) { in mthca_modify_qp()
894 attr->pkey_index, dev->limits.pkey_table_len-1); in mthca_modify_qp()
Dmthca_provider.c108 props->max_pkeys = mdev->limits.pkey_table_len; in mthca_query_device()
153 props->pkey_tbl_len = to_mdev(ibdev)->limits.pkey_table_len; in mthca_query_port()
Dmthca_dev.h139 int pkey_table_len; member
Dmthca_main.c200 mdev->limits.pkey_table_len = dev_lim->max_pkeys; in mthca_dev_lim()
/linux-6.1.9/include/linux/qed/
Dqed_rdma_if.h160 u8 pkey_table_len; member
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmad.c579 props->pkey_tbl_len = dev->pkey_table_len; in mlx5_query_mad_ifc_port()
Dmlx5_ib.h1107 u16 pkey_table_len; member
Dmain.c830 props->max_pkeys = dev->pkey_table_len; in mlx5_ib_query_device()
3645 err = mlx5_query_max_pkeys(&dev->ib_dev, &dev->pkey_table_len); in mlx5_ib_stage_init_init()
Dqp.c4621 attr->pkey_index >= dev->pkey_table_len) { in mlx5_ib_modify_qp()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmain.c408 dev->caps.pkey_table_len[port] = port_cap->max_pkeys; in _mlx4_dev_port()
892 &caps->pkey_table_len[i]); in mlx4_slave_special_qp_cap()
2128 dev->caps.pkey_table_len[i] = in mlx4_parav_master_pf_caps()
2848 dev->caps.pkey_table_len[port] : -1); in mlx4_setup_hca()
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()
Dfw.c1479 short_field = dev->caps.pkey_table_len[vhcr->in_modifier]; in mlx4_QUERY_PORT_wrapper()
2333 field = dev->caps.pkey_table_len[port]; in mlx4_INIT_PORT()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_device.h723 int pkey_table_len[HNS_ROCE_MAX_PORTS]; member
Dhns_roce_hw_v2.h1205 u8 pkey_table_len; member
Dhns_roce_qp.c1339 if (attr->pkey_index >= hr_dev->caps.pkey_table_len[p]) { in hns_roce_check_qp_attr()
Dhns_roce_hw_v2.c2039 caps->pkey_table_len[0] = 1; in set_default_caps()
2313 caps->pkey_table_len[0] = resp_b->pkey_table_len; in hns_roce_query_pf_caps()
/linux-6.1.9/include/linux/mlx4/
Ddevice.h543 int pkey_table_len[MLX4_MAX_PORTS + 1]; member