Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dgid.c93 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()
Dmlx5.h40 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/
Dhns_roce_ah.c97 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()
Dhns_roce_device.h346 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);
Dhns_roce_main.c56 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()
Dhns_roce_hw_v1.c184 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/
Dmthca_av.c62 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/
Dah.c58 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()
Dqp.c3092 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()
Dmad.c1404 to_mah(ah)->av.ib.gid_index = sgid_index; in mlx4_ib_send_to_wire()
/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c595 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/
Dverbs.c402 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()
Dmulticast.c726 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()
Duser_mad.c256 packet->mad.hdr.gid_index = grh->sgid_index; in recv_handler()
513 packet->mad.hdr.gid_index, in ib_umad_write()
Dsa_query.c1235 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/
Dqplib_sp.c209 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()
Droce_hsi.h1461 __le16 gid_index; member
1495 __le16 gid_index; member
1513 __le16 gid_index; member
2473 __le16 gid_index; member
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c562 ah->av.gid_index = grh->sgid_index; in pvrdma_create_ah()