Searched refs:dev_cap (Results 1 - 8 of 8) sorted by last modified time

/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dmain.c295 struct mlx4_dev_cap *dev_cap)
304 dev_cap->reserved_uars /
344 static int mlx4_query_func(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) argument
355 dev_cap->max_eqs = func.max_eq;
356 dev_cap->reserved_eqs = func.rsvd_eqs;
357 dev_cap->reserved_uars = func.rsvd_uars;
365 struct mlx4_caps *dev_cap = &dev->caps; local
368 if (!(dev_cap->flags2 & MLX4_DEV_CAP_FLAG2_EQE_STRIDE) ||
369 !(dev_cap->flags2 & MLX4_DEV_CAP_FLAG2_CQE_STRIDE))
375 if (!(dev_cap
294 mlx4_set_num_reserved_uars(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) argument
458 mlx4_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) argument
843 slave_adjust_steering_mode(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap, struct mlx4_init_hca_param *hca_param) argument
912 struct mlx4_dev_cap *dev_cap; local
1669 mlx4_init_icm(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap, struct mlx4_init_hca_param *init_hca, u64 icm_size) argument
2198 choose_steering_mode(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) argument
2251 choose_tunnel_offload_mode(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) argument
2328 struct mlx4_dev_cap *dev_cap = NULL; local
3350 mlx4_check_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap, int *nvfs) argument
3402 struct mlx4_dev_cap *dev_cap = NULL; local
[all...]
H A Dfw.c725 int mlx4_QUERY_DEV_CAP(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) argument
832 dev_cap->flags2 = 0;
846 dev_cap->map_clock_to_user = field & 0x80;
848 dev_cap->reserved_qps = 1 << (field & 0xf);
850 dev_cap->max_qps = 1 << (field & 0x1f);
852 dev_cap->reserved_srqs = 1 << (field >> 4);
854 dev_cap->max_srqs = 1 << (field & 0x1f);
856 dev_cap->max_cq_sz = 1 << field;
858 dev_cap->reserved_cqs = 1 << (field & 0xf);
860 dev_cap
1130 mlx4_dev_cap_dump(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) argument
[all...]
H A Dmlx4.h1068 struct mlx4_dev_cap *dev_cap,
H A Dfw.h230 void mlx4_dev_cap_dump(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap);
231 int mlx4_QUERY_DEV_CAP(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap);
H A Dprofile.c71 struct mlx4_dev_cap *dev_cap,
111 profile[MLX4_RES_QP].size = dev_cap->qpc_entry_sz;
112 profile[MLX4_RES_RDMARC].size = dev_cap->rdmarc_entry_sz;
113 profile[MLX4_RES_ALTC].size = dev_cap->altc_entry_sz;
114 profile[MLX4_RES_AUXC].size = dev_cap->aux_entry_sz;
115 profile[MLX4_RES_SRQ].size = dev_cap->srq_entry_sz;
116 profile[MLX4_RES_CQ].size = dev_cap->cqc_entry_sz;
117 profile[MLX4_RES_EQ].size = dev_cap->eqc_entry_sz;
118 profile[MLX4_RES_DMPT].size = dev_cap->dmpt_entry_sz;
119 profile[MLX4_RES_CMPT].size = dev_cap
69 mlx4_make_profile(struct mlx4_dev *dev, struct mlx4_profile *request, struct mlx4_dev_cap *dev_cap, struct mlx4_init_hca_param *init_hca) argument
[all...]
/linux-master/include/linux/mlx4/
H A Ddevice.h52 #define MLX4_IS_LEGACY_EQ_MODE(dev_cap) ((dev_cap).num_comp_vectors < \
53 (dev_cap).num_ports * MIN_MSIX_P_PORT)
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.c1080 struct hinic_dev_cap *dev_cap = buf_out; local
1085 memset(dev_cap, 0, sizeof(*dev_cap));
1087 dev_cap->max_vf = cap->max_vf;
1088 dev_cap->max_sqs = cap->max_vf_qps;
1089 dev_cap->max_rqs = cap->max_vf_qps;
1090 dev_cap->port_id = dev->port_id;
1092 *out_size = sizeof(*dev_cap);
H A Dhinic_hw_dev.c47 * @dev_cap: device capabilities from FW
52 struct hinic_dev_cap *dev_cap)
57 if (!HINIC_IS_VF(hwdev->hwif) && dev_cap->intr_type != INTR_MSIX_TYPE)
71 nic_cap->max_qps = dev_cap->max_sqs + 1;
73 nic_cap->max_qps = dev_cap->max_sqs;
79 nic_cap->max_vf = dev_cap->max_vf;
80 nic_cap->max_vf_qps = dev_cap->max_vf_sqs + 1;
83 hwdev->port_id = dev_cap->port_id;
99 struct hinic_dev_cap dev_cap; local
103 out_len = sizeof(dev_cap);
51 parse_capability(struct hinic_hwdev *hwdev, struct hinic_dev_cap *dev_cap) argument
[all...]

Completed in 825 milliseconds