Home
last modified time | relevance | path

Searched refs:max_eqs (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dprofile.c130 min_t(unsigned, dev_cap->max_eqs, MAX_MSIX); in mlx4_make_profile()
222 dev_cap->max_eqs, in mlx4_make_profile()
H A Dfw.h80 int max_eqs; member
H A Dfw.c866 dev_cap->max_eqs = 1 << (field & 0xf); in mlx4_QUERY_DEV_CAP()
1149 dev_cap->num_sys_eqs, dev_cap->max_eqs, dev_cap->reserved_eqs, in mlx4_dev_cap_dump()
H A Dmain.c349 dev_cap->max_eqs = func.max_eq; in mlx4_query_func()
2405 dev->caps.num_eqs = dev_cap->max_eqs; in mlx4_init_hca()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cmd.h134 int max_eqs; member
H A Dmthca_cmd.c1093 dev_lim->max_eqs = 1 << (field & 0x7); in mthca_QUERY_DEV_LIM()
1223 dev_lim->max_eqs, dev_lim->reserved_eqs, dev_lim->eqc_entry_sz); in mthca_QUERY_DEV_LIM()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c4620 u32 max_eqs; in mlx5_devlink_port_fn_max_io_eqs_get() local
4649 max_eqs = MLX5_GET(cmd_hca_cap_2, hca_caps, max_num_eqs_24b); in mlx5_devlink_port_fn_max_io_eqs_get()
4650 if (max_eqs < MLX5_ESW_MAX_CTRL_EQS) in mlx5_devlink_port_fn_max_io_eqs_get()
4653 *max_io_eqs = max_eqs - MLX5_ESW_MAX_CTRL_EQS; in mlx5_devlink_port_fn_max_io_eqs_get()
4670 u16 max_eqs; in mlx5_devlink_port_fn_max_io_eqs_set() local
4686 if (check_add_overflow(max_io_eqs, MLX5_ESW_MAX_CTRL_EQS, &max_eqs)) { in mlx5_devlink_port_fn_max_io_eqs_set()
4704 MLX5_SET(cmd_hca_cap_2, hca_caps, max_num_eqs_24b, max_eqs); in mlx5_devlink_port_fn_max_io_eqs_set()