Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dsysfs.c447 (p->dev->dev->caps.pkey_table_len[p->port_num])) in show_port_pkey()
471 idx >= p->dev->dev->caps.pkey_table_len[p->port_num] || in store_port_pkey()
661 dev->dev->caps.pkey_table_len[port_num]); in add_port()
694 for (i = 0; i < dev->dev->caps.pkey_table_len[port_num]; ++i) in add_port()
Dmain.c556 props->max_pkeys = dev->dev->caps.pkey_table_len[1]; in mlx4_ib_query_device()
696 props->pkey_tbl_len = to_mdev(ibdev)->dev->caps.pkey_table_len[port]; in ib_link_query_port()
784 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()
457 for (i = 0; i < dev->dev->caps.pkey_table_len[port]; i++) { in find_slave_port_pkey_ix()
Dqp.c2302 dev->dev->caps.pkey_table_len[attr->alt_port_num]) in __mlx4_ib_modify_qp()
2733 if (attr->pkey_index >= dev->dev->caps.pkey_table_len[p]) { in _mlx4_ib_modify_qp()
/kernel/linux/linux-5.10/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()
889 attr->pkey_index >= dev->limits.pkey_table_len) { in mthca_modify_qp()
891 attr->pkey_index, dev->limits.pkey_table_len-1); in mthca_modify_qp()
Dmthca_dev.h139 int pkey_table_len; member
Dmthca_provider.c116 props->max_pkeys = mdev->limits.pkey_table_len; in mthca_query_device()
161 props->pkey_tbl_len = to_mdev(ibdev)->limits.pkey_table_len; in mthca_query_port()
Dmthca_main.c200 mdev->limits.pkey_table_len = dev_lim->max_pkeys; in mthca_dev_lim()
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_rdma_if.h160 u8 pkey_table_len; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmad.c558 props->pkey_tbl_len = mdev->port_caps[port - 1].pkey_table_len; in mlx5_query_mad_ifc_port()
Dmain.c2990 dev->mdev->port_caps[port - 1].pkey_table_len = in __get_port_caps()
Dqp.c4382 dev->mdev->port_caps[port - 1].pkey_table_len) { in mlx5_ib_modify_qp()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h307 int pkey_table_len; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_device.h760 int pkey_table_len[HNS_ROCE_MAX_PORTS]; member
Dhns_roce_hw_v2.h1614 u8 pkey_table_len; member
Dhns_roce_qp.c1115 if (attr->pkey_index >= hr_dev->caps.pkey_table_len[p]) { in hns_roce_check_qp_attr()
Dhns_roce_hw_v2.c1870 caps->pkey_table_len[0] = 1; in set_default_caps()
2013 caps->pkey_table_len[0] = resp_b->pkey_table_len; in hns_roce_query_pf_caps()
Dhns_roce_hw_v1.c1489 caps->pkey_table_len[i] = 1; in hns_roce_v1_profile()
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h544 int pkey_table_len[MLX4_MAX_PORTS + 1]; member