/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 | 40 int mlx5_core_reserved_gid_alloc(struct mlx5_core_dev *dev, int *gid_index); 41 void mlx5_core_reserved_gid_free(struct mlx5_core_dev *dev, int gid_index);
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_ah.c | 97 ah->av.gid_index = grh->sgid_index; in hns_roce_create_ah() 99 dev_dbg(dev, "gid_index = 0x%x,vlan = 0x%x\n", ah->av.gid_index, in hns_roce_create_ah() 125 HNS_ROCE_FLOW_LABLE_MASK), ah->av.gid_index, in hns_roce_query_ah()
|
D | hns_roce_device.h | 346 u8 gid_index; member 512 void (*set_gid)(struct hns_roce_dev *hr_dev, u8 port, int gid_index, 751 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_v1.c | 184 ah->av.gid_index)); in hns_roce_v1_post_send() 1624 void hns_roce_v1_set_gid(struct hns_roce_dev *hr_dev, u8 port, int gid_index, in hns_roce_v1_set_gid() argument 1630 gid_idx = hns_get_gid_index(hr_dev, port, gid_index); in hns_roce_v1_set_gid()
|
/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() 286 ah->av->gid_index % dev->limits.gid_table_len, in mthca_read_ah() 319 ah->av->gid_index & in mthca_ah_query()
|
/drivers/infiniband/hw/mlx4/ |
D | ah.c | 58 ah->av.ib.gid_index = grh->sgid_index; in create_ib_ah() 121 ah->av.eth.gid_index = ret; in create_iboe_ah() 210 tc_fl & 0xfffff, ah->av.ib.gid_index, in mlx4_ib_query_ah()
|
D | qp.c | 3092 ah->av.ib.gid_index, &sgid.raw[0]); in build_mlx_header() 3097 ah->av.ib.gid_index, in build_mlx_header() 3149 guid_cache[ah->av.ib.gid_index]; in build_mlx_header() 3153 ah->av.ib.gid_index, in build_mlx_header() 3582 ah->av.ib.gid_index, in mlx4_ib_post_send() 3588 ah->av.ib.gid_index); in mlx4_ib_post_send()
|
D | mad.c | 1404 to_mah(ah)->av.ib.gid_index = sgid_index; in mlx4_ib_send_to_wire()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | vport.c | 595 u8 port_num, u16 vf_num, u16 gid_index, in mlx5_query_hca_vport_gid() argument 611 vf_num, gid_index, tbsz); in mlx5_query_hca_vport_gid() 613 if (gid_index > tbsz && gid_index != 0xffff) in mlx5_query_hca_vport_gid() 616 if (gid_index == 0xffff) in mlx5_query_hca_vport_gid() 640 MLX5_SET(query_hca_vport_gid_in, in, gid_index, gid_index); in mlx5_query_hca_vport_gid()
|
/drivers/infiniband/core/ |
D | verbs.c | 402 u16 *gid_index) in get_sgid_index_from_eth() argument 408 &context, gid_index); in get_sgid_index_from_eth() 463 u16 gid_index; in ib_init_ah_from_wc() local 526 &dgid, gid_type, &gid_index); in ib_init_ah_from_wc() 542 &gid_index); in ib_init_ah_from_wc() 546 gid_index = 0; in ib_init_ah_from_wc() 553 (u8)gid_index, hoplimit, in ib_init_ah_from_wc()
|
D | multicast.c | 726 u16 gid_index; in ib_init_ah_from_mcmember() local 739 &gid_index); in ib_init_ah_from_mcmember() 753 (u8)gid_index, in ib_init_ah_from_mcmember()
|
D | user_mad.c | 256 packet->mad.hdr.gid_index = grh->sgid_index; in recv_handler() 513 packet->mad.hdr.gid_index, in ib_umad_write()
|
D | sa_query.c | 1235 u16 gid_index; in ib_init_ah_from_path() local 1318 port_num, ndev, &gid_index); in ib_init_ah_from_path() 1327 gid_index, rec->hop_limit, in ib_init_ah_from_path()
|
/drivers/infiniband/hw/bnxt_re/ |
D | qplib_sp.c | 209 req.gid_index = cpu_to_le16(sgid_tbl->hw_id[index]); in bnxt_qplib_del_sgid() 348 req.gid_index = cpu_to_le16(gid_idx); in bnxt_qplib_update_sgid()
|
D | roce_hsi.h | 1461 __le16 gid_index; member 1495 __le16 gid_index; member 1513 __le16 gid_index; member 2473 __le16 gid_index; member
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.c | 562 ah->av.gid_index = grh->sgid_index; in pvrdma_create_ah()
|