Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dgid.c88 int mlx5_core_reserved_gid_alloc(struct mlx5_core_dev *dev, int *gid_index) in mlx5_core_reserved_gid_alloc() argument
101 *gid_index = index; in mlx5_core_reserved_gid_alloc()
105 void mlx5_core_reserved_gid_free(struct mlx5_core_dev *dev, int gid_index) in mlx5_core_reserved_gid_free() argument
107 mlx5_core_dbg(dev, "Freeing reserved GID %u\n", gid_index); in mlx5_core_reserved_gid_free()
108 ida_free(&dev->roce.reserved_gids.ida, gid_index); in mlx5_core_reserved_gid_free()
A Dmlx5.h42 int mlx5_core_reserved_gid_alloc(struct mlx5_core_dev *dev, int *gid_index);
43 void mlx5_core_reserved_gid_free(struct mlx5_core_dev *dev, int gid_index);
/linux-6.3-rc2/include/trace/events/
A Dib_umad.h33 __field(u8, gid_index)
67 __entry->gid_index = umad_hdr->gid_index;
97 __entry->gid_index, __entry->hop_limit,
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/
A Dah.c57 ah->av.ib.gid_index = grh->sgid_index; in create_ib_ah()
110 ah->av.eth.gid_index = ret; in create_iboe_ah()
113 ah->av.eth.gid_index = ah_attr->grh.sgid_index; in create_iboe_ah()
227 tc_fl & 0xfffff, ah->av.ib.gid_index, in mlx4_ib_query_ah()
A Dqp.c3047 ah->av.ib.gid_index, &sgid.raw[0]); in build_mlx_header()
3052 ah->av.ib.gid_index, &sgid, in build_mlx_header()
3109 .guid_cache[ah->av.ib.gid_index]; in build_mlx_header()
3547 ah->av.ib.gid_index, in _mlx4_ib_post_send()
3553 ah->av.ib.gid_index); in _mlx4_ib_post_send()
/linux-6.3-rc2/include/uapi/rdma/
A Dib_user_mad.h85 __u8 gid_index; member
129 __u8 gid_index; member
A Dib_user_ioctl_verbs.h267 __u32 gid_index; member
A Dvmw_pvrdma-abi.h214 __u8 gid_index; member
/linux-6.3-rc2/drivers/infiniband/hw/hns/
A Dhns_roce_ah.c65 ah->av.gid_index = grh->sgid_index; in hns_roce_create_ah()
102 ah->av.gid_index, ah->av.hop_limit, ah->av.tclass); in hns_roce_query_ah()
A Dhns_roce_device.h501 u8 gid_index; member
853 int (*set_gid)(struct hns_roce_dev *hr_dev, int gid_index,
1209 u8 hns_get_gid_index(struct hns_roce_dev *hr_dev, u32 port, int gid_index);
A Dhns_roce_hw_v2.c459 ud_sq_wqe->sgid_index = ah->av.gid_index; in fill_ud_av()
3175 int gid_index, const union ib_gid *gid, in config_sgid_table() argument
3184 hr_reg_write(sgid_tb, CFG_SGID_TB_TABLE_IDX, gid_index); in config_sgid_table()
3193 int gid_index, const union ib_gid *gid, in config_gmv_table() argument
3227 hr_reg_write(tb_b, GMV_TB_B_SGID_IDX, gid_index); in config_gmv_table()
3232 static int hns_roce_v2_set_gid(struct hns_roce_dev *hr_dev, int gid_index, in hns_roce_v2_set_gid() argument
3251 ret = config_gmv_table(hr_dev, gid_index, gid, sgid_type, attr); in hns_roce_v2_set_gid()
3253 ret = config_sgid_table(hr_dev, gid_index, gid, sgid_type); in hns_roce_v2_set_gid()
/linux-6.3-rc2/drivers/infiniband/core/
A Duverbs_std_types_device.c375 u32 gid_index; in UVERBS_HANDLER() local
390 ret = uverbs_get_const(&gid_index, attrs, in UVERBS_HANDLER()
403 gid_attr = rdma_get_gid_attr(ib_dev, port_num, gid_index); in UVERBS_HANDLER()
408 entry.gid_index = gid_attr->index; in UVERBS_HANDLER()
A Duser_mad.c274 packet->mad.hdr.gid_index = grh->sgid_index; in recv_handler()
551 packet->mad.hdr.gid_index, in ib_umad_write()
A Dcache.c1279 entries->gid_index = gid_attr->index; in rdma_query_gid_table()
/linux-6.3-rc2/drivers/infiniband/hw/mthca/
A Dmthca_av.c62 u8 gid_index; member
211 av->gid_index = (rdma_ah_get_port_num(ah_attr) - 1) * in mthca_create_ah()
316 ah->av->gid_index & in mthca_ah_query()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dvport.c517 u8 port_num, u16 vf_num, u16 gid_index, in mlx5_query_hca_vport_gid() argument
533 vf_num, gid_index, tbsz); in mlx5_query_hca_vport_gid()
535 if (gid_index > tbsz && gid_index != 0xffff) in mlx5_query_hca_vport_gid()
538 if (gid_index == 0xffff) in mlx5_query_hca_vport_gid()
562 MLX5_SET(query_hca_vport_gid_in, in, gid_index, gid_index); in mlx5_query_hca_vport_gid()
/linux-6.3-rc2/samples/bpf/
A Dibumad_kern.c58 u8 gid_index; member
/linux-6.3-rc2/include/linux/mlx5/
A Dvport.h81 u8 port_num, u16 vf_num, u16 gid_index,
A Dmlx5_ifc.h5859 u8 gid_index[0x10]; member
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_send.c834 u16 gid_index = 0; in dr_prepare_qp_to_rts() local
858 ret = mlx5dr_cmd_query_gid(dmn->mdev, port, gid_index, in dr_prepare_qp_to_rts()
863 rtr_attr.sgid_index = gid_index; in dr_prepare_qp_to_rts()
/linux-6.3-rc2/drivers/infiniband/hw/bnxt_re/
A Dqplib_sp.c259 req.gid_index = cpu_to_le16(sgid_tbl->hw_id[index]); in bnxt_qplib_del_sgid()
400 req.gid_index = cpu_to_le16(gid_idx); in bnxt_qplib_update_sgid()
A Droce_hsi.h1642 __le16 gid_index; member
1676 __le16 gid_index; member
1694 __le16 gid_index; member
2678 __le16 gid_index; member
/linux-6.3-rc2/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_verbs.c535 ah->av.gid_index = grh->sgid_index; in pvrdma_create_ah()
/linux-6.3-rc2/include/linux/mlx4/
A Ddevice.h781 u8 gid_index; member
794 u8 gid_index; member

Completed in 158 milliseconds