/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_ah.c | 45 static int create_ib_ah(struct ib_ah *ib_ah, struct ib_ah_attr *ah_attr) in create_ib_ah() 74 static int create_iboe_ah(struct ib_ah *ib_ah, struct ib_ah_attr *ah_attr) in create_iboe_ah() 132 int mlx4_ib_create_ah(struct ib_ah *ib_ah, struct ib_ah_attr *ah_attr, in mlx4_ib_create_ah() 153 int mlx4_ib_create_ah_slave(struct ib_ah *ah, struct ib_ah_attr *ah_attr, in mlx4_ib_create_ah_slave() 156 struct ib_ah_attr slave_attr = *ah_attr; in mlx4_ib_create_ah_slave() 178 int mlx4_ib_query_ah(struct ib_ah *ibah, struct ib_ah_attr *ah_attr) in mlx4_ib_query_ah()
|
H A D | mlx4_ib_qp.c | 1394 static int _mlx4_set_path(struct mlx4_ib_dev *dev, const struct ib_ah_attr *ah, in _mlx4_set_path() 3392 static void to_ib_ah_attr(struct mlx4_ib_dev *ibdev, struct ib_ah_attr *ib_ah_attr, in to_ib_ah_attr() argument 3398 memset(ib_ah_attr, 0, sizeof *ib_ah_attr); in to_ib_ah_attr() 3399 ib_ah_attr->port_num = path->sched_queue & 0x40 ? 2 : 1; in to_ib_ah_attr() 3401 if (ib_ah_attr->port_num == 0 || ib_ah_attr->port_num > dev->caps.num_ports) in to_ib_ah_attr() 3404 is_eth = rdma_port_get_link_layer(&ibdev->ib_dev, ib_ah_attr->port_num) == in to_ib_ah_attr() 3407 ib_ah_attr->sl = ((path->sched_queue >> 3) & 0x7) | in to_ib_ah_attr() 3410 ib_ah_attr->sl = (path->sched_queue >> 2) & 0xf; in to_ib_ah_attr() 3412 ib_ah_attr->dlid = be16_to_cpu(path->rlid); in to_ib_ah_attr() 3413 ib_ah_attr->src_path_bits = path->grh_mylmc & 0x7f; in to_ib_ah_attr() [all …]
|
H A D | mlx4_ib.h | 742 int mlx4_ib_create_ah(struct ib_ah *ah, struct ib_ah_attr *ah_attr, u32 flags, 744 int mlx4_ib_create_ah_slave(struct ib_ah *ah, struct ib_ah_attr *ah_attr, 746 int mlx4_ib_query_ah(struct ib_ah *ibah, struct ib_ah_attr *ah_attr); 834 u32 qkey, struct ib_ah_attr *attr, u8 *s_mac,
|
H A D | mlx4_ib_mad.c | 190 struct ib_ah_attr ah_attr; in update_sm_ah() 492 struct ib_ah_attr attr; in mlx4_ib_send_to_slave() 1325 u32 remote_qpn, u32 qkey, struct ib_ah_attr *attr, in mlx4_ib_send_to_wire() 1435 struct ib_ah_attr *ah_attr) in fill_in_real_sgid_index() 1450 struct ib_ah_attr ah_attr; in mlx4_ib_multiplex_mad()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_ah.c | 33 struct ib_ah_attr *ah_attr, in create_ib_ah() 61 int mlx5_ib_create_ah(struct ib_ah *ibah, struct ib_ah_attr *ah_attr, in mlx5_ib_create_ah() 99 int mlx5_ib_query_ah(struct ib_ah *ibah, struct ib_ah_attr *ah_attr) in mlx5_ib_query_ah()
|
H A D | mlx5_ib_qp.c | 2325 const struct ib_ah_attr *ah, in mlx5_set_path() 4331 static void to_ib_ah_attr(struct mlx5_ib_dev *ibdev, struct ib_ah_attr *ib_ah_attr, in to_ib_ah_attr() argument 4336 memset(ib_ah_attr, 0, sizeof(*ib_ah_attr)); in to_ib_ah_attr() 4337 ib_ah_attr->port_num = path->port; in to_ib_ah_attr() 4339 if (ib_ah_attr->port_num == 0 || in to_ib_ah_attr() 4340 ib_ah_attr->port_num > MLX5_CAP_GEN(dev, num_ports)) in to_ib_ah_attr() 4343 ib_ah_attr->sl = path->dci_cfi_prio_sl & 0xf; in to_ib_ah_attr() 4345 ib_ah_attr->dlid = be16_to_cpu(path->rlid); in to_ib_ah_attr() 4346 ib_ah_attr->src_path_bits = path->grh_mlid & 0x7f; in to_ib_ah_attr() 4347 ib_ah_attr->static_rate = path->static_rate ? path->static_rate - 5 : 0; in to_ib_ah_attr() [all …]
|
H A D | mlx5_ib.h | 904 int mlx5_ib_create_ah(struct ib_ah *ah, struct ib_ah_attr *ah_attr, u32 flags, 906 int mlx5_ib_query_ah(struct ib_ah *ibah, struct ib_ah_attr *ah_attr);
|
/freebsd/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_verbs.h | 118 struct ib_ah_attr *attr, u32 flags, 123 struct ib_ah_attr *attr); 126 struct ib_ah_attr *attr);
|
H A D | qlnxr_def.h | 543 struct ib_ah_attr attr; 832 qlnxr_get_dmac(struct qlnxr_dev *dev, struct ib_ah_attr *ah_attr, u8 *mac_addr) in qlnxr_get_dmac()
|
H A D | qlnxr_cm.c | 463 qlnxr_get_vlan_id_gsi(struct ib_ah_attr *ah_attr, u16 *vlan_id) in qlnxr_get_vlan_id_gsi() 488 struct ib_ah_attr *ah_attr = &get_qlnxr_ah((ud_wr(swr)->ah))->attr; in qlnxr_gsi_build_header()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | rdma_vt.h | 174 struct ib_ah_attr attr; 310 int (*check_ah)(struct ib_device *, struct ib_ah_attr *); 313 void (*notify_new_ah)(struct ib_device *, struct ib_ah_attr *, 489 int rvt_check_ah(struct ib_device *ibdev, struct ib_ah_attr *ah_attr);
|
H A D | ib_marshall.h | 47 struct ib_ah_attr *src);
|
H A D | rdmavt_qp.h | 270 struct ib_ah_attr remote_ah_attr; 271 struct ib_ah_attr alt_ah_attr;
|
H A D | ib_verbs.h | 821 struct ib_ah_attr { struct 1167 struct ib_ah_attr ah_attr; 1168 struct ib_ah_attr alt_ah_attr; 2231 int (*create_ah)(struct ib_ah *ah, struct ib_ah_attr *ah_attr, 2234 struct ib_ah_attr *ah_attr); 2236 struct ib_ah_attr *ah_attr); 3003 struct ib_ah *ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr, 3019 struct ib_ah_attr *ah_attr, 3035 struct ib_ah_attr *ah_attr); 3059 int ib_modify_ah(struct ib_ah *ah, struct ib_ah_attr *ah_attr); [all …]
|
H A D | ib_sa.h | 428 struct ib_ah_attr *ah_attr); 436 struct ib_ah_attr *ah_attr);
|
H A D | rdma_cm.h | 111 struct ib_ah_attr ah_attr;
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_qp.c | 397 static void to_ib_ah_attr(struct mthca_dev *dev, struct ib_ah_attr *ib_ah_attr, in to_ib_ah_attr() argument 400 memset(ib_ah_attr, 0, sizeof *ib_ah_attr); in to_ib_ah_attr() 401 ib_ah_attr->port_num = (be32_to_cpu(path->port_pkey) >> 24) & 0x3; in to_ib_ah_attr() 403 if (ib_ah_attr->port_num == 0 || ib_ah_attr->port_num > dev->limits.num_ports) in to_ib_ah_attr() 406 ib_ah_attr->dlid = be16_to_cpu(path->rlid); in to_ib_ah_attr() 407 ib_ah_attr->sl = be32_to_cpu(path->sl_tclass_flowlabel) >> 28; in to_ib_ah_attr() 408 ib_ah_attr->src_path_bits = path->g_mylmc & 0x7f; in to_ib_ah_attr() 409 ib_ah_attr->static_rate = mthca_rate_to_ib(dev, in to_ib_ah_attr() 411 ib_ah_attr->port_num); in to_ib_ah_attr() 412 ib_ah_attr->ah_flags = (path->g_mylmc & (1 << 7)) ? IB_AH_GRH : 0; in to_ib_ah_attr() [all …]
|
H A D | mthca_av.c | 155 struct ib_ah_attr *ah_attr, in mthca_create_ah() 292 int mthca_ah_query(struct ib_ah *ibah, struct ib_ah_attr *attr) in mthca_ah_query()
|
H A D | mthca_dev.h | 568 struct ib_ah_attr *ah_attr, 573 int mthca_ah_query(struct ib_ah *ibah, struct ib_ah_attr *attr);
|
H A D | mthca_mad.c | 78 struct ib_ah_attr ah_attr; in update_sm_ah()
|
/freebsd/sys/dev/irdma/ |
H A D | fbsd_kcompat.h | 135 struct ib_ah_attr *attr, u32 flags, 138 struct ib_ah_attr *attr, u32 flags, 140 void irdma_ether_copy(u8 *dmac, struct ib_ah_attr *attr);
|
H A D | irdma_verbs.h | 78 struct ib_ah_attr attrs;
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | ib_verbs.h | 290 int bnxt_re_create_ah(struct ib_ah *ah_in, struct ib_ah_attr *attr, 293 int bnxt_re_modify_ah(struct ib_ah *ah, struct ib_ah_attr *ah_attr); 294 int bnxt_re_query_ah(struct ib_ah *ah, struct ib_ah_attr *ah_attr);
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_verbs.c | 356 struct ib_ah_attr *ah_attr, in _ib_create_ah() 399 struct ib_ah *ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr, in ib_create_ah() 425 struct ib_ah_attr *ah_attr, in ib_create_user_ah() 574 struct ib_ah_attr *ah_attr) in ib_init_ah_from_wc() 659 struct ib_ah_attr ah_attr; in ib_create_ah_from_wc() 670 int ib_modify_ah(struct ib_ah *ah, struct ib_ah_attr *ah_attr) in ib_modify_ah() 678 int ib_query_ah(struct ib_ah *ah, struct ib_ah_attr *ah_attr) in ib_query_ah() 1274 struct ib_ah_attr *ah_attr) in ib_resolve_eth_dmac()
|
H A D | ib_uverbs_marshall.c | 39 struct ib_ah_attr *src) in ib_copy_ah_attr_to_user()
|