/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | gid.c | 93 int mlx5_core_reserved_gid_alloc(struct mlx5_core_dev *dev, int *gid_index) in mlx5_core_reserved_gid_alloc() argument 106 *gid_index = index; in mlx5_core_reserved_gid_alloc() 110 void mlx5_core_reserved_gid_free(struct mlx5_core_dev *dev, int gid_index) in mlx5_core_reserved_gid_free() argument 112 mlx5_core_dbg(dev, "Freeing reserved GID %u\n", gid_index); in mlx5_core_reserved_gid_free() 113 ida_simple_remove(&dev->roce.reserved_gids.ida, gid_index); in mlx5_core_reserved_gid_free()
|
D | mlx5.h | 42 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);
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_ah.c | 70 ah->av.gid_index = grh->sgid_index; in hns_roce_create_ah() 73 dev_dbg(dev, "gid_index = 0x%x,vlan = 0x%x\n", ah->av.gid_index, in hns_roce_create_ah() 95 ah->av.gid_index, ah->av.hop_limit, ah->av.tclass); in hns_roce_query_ah()
|
D | hns_roce_device.h | 577 u8 gid_index; member 941 int (*set_gid)(struct hns_roce_dev *hr_dev, u8 port, int gid_index, 1280 int hns_get_gid_index(struct hns_roce_dev *hr_dev, u8 port, int gid_index);
|
D | hns_roce_main.c | 56 int hns_get_gid_index(struct hns_roce_dev *hr_dev, u8 port, int gid_index) in hns_get_gid_index() argument 58 return gid_index * hr_dev->caps.num_ports + port; in hns_get_gid_index()
|
D | hns_roce_hw_v2.c | 421 ah->av.gid_index)); in hns_roce_v2_post_send() 2134 int gid_index, const union ib_gid *gid, in hns_roce_config_sgid_table() argument 2146 CFG_SGID_TB_TABLE_IDX_S, gid_index); in hns_roce_config_sgid_table() 2167 int gid_index, const union ib_gid *gid, in hns_roce_v2_set_gid() argument 2186 ret = hns_roce_config_sgid_table(hr_dev, gid_index, gid, sgid_type); in hns_roce_v2_set_gid()
|
D | hns_roce_hw_v1.c | 187 ah->av.gid_index)); in hns_roce_v1_post_send() 1743 int gid_index, const union ib_gid *gid, in hns_roce_v1_set_gid() argument 1750 gid_idx = hns_get_gid_index(hr_dev, port, gid_index); in hns_roce_v1_set_gid()
|
/drivers/infiniband/hw/mlx4/ |
D | ah.c | 57 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() 224 tc_fl & 0xfffff, ah->av.ib.gid_index, in mlx4_ib_query_ah()
|
D | qp.c | 3066 ah->av.ib.gid_index, &sgid.raw[0]); in build_mlx_header() 3071 ah->av.ib.gid_index, in build_mlx_header() 3123 guid_cache[ah->av.ib.gid_index]; in build_mlx_header() 3554 ah->av.ib.gid_index, in _mlx4_ib_post_send() 3560 ah->av.ib.gid_index); in _mlx4_ib_post_send()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_av.c | 62 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()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | vport.c | 531 u8 port_num, u16 vf_num, u16 gid_index, in mlx5_query_hca_vport_gid() argument 547 vf_num, gid_index, tbsz); in mlx5_query_hca_vport_gid() 549 if (gid_index > tbsz && gid_index != 0xffff) in mlx5_query_hca_vport_gid() 552 if (gid_index == 0xffff) in mlx5_query_hca_vport_gid() 576 MLX5_SET(query_hca_vport_gid_in, in, gid_index, gid_index); in mlx5_query_hca_vport_gid()
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_send.c | 648 u16 gid_index = 0; in dr_prepare_qp_to_rts() local 658 ret = mlx5dr_cmd_query_gid(dmn->mdev, port, gid_index, &rtr_attr.dgid_attr); in dr_prepare_qp_to_rts() 666 rtr_attr.sgid_index = gid_index; in dr_prepare_qp_to_rts()
|
/drivers/infiniband/hw/bnxt_re/ |
D | roce_hsi.h | 1530 __le16 gid_index; member 1564 __le16 gid_index; member 1582 __le16 gid_index; member 2566 __le16 gid_index; member
|
D | qplib_sp.c | 260 req.gid_index = cpu_to_le16(sgid_tbl->hw_id[index]); in bnxt_qplib_del_sgid() 401 req.gid_index = cpu_to_le16(gid_idx); in bnxt_qplib_update_sgid()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.c | 534 ah->av.gid_index = grh->sgid_index; in pvrdma_create_ah()
|
/drivers/infiniband/core/ |
D | user_mad.c | 274 packet->mad.hdr.gid_index = grh->sgid_index; in recv_handler() 541 packet->mad.hdr.gid_index, in ib_umad_write()
|