Home
last modified time | relevance | path

Searched refs:max_eqs (Results 1 – 6 of 6) 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()
/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.c4868 u32 max_eqs; in mlx5_devlink_port_fn_max_io_eqs_get() local
4897 max_eqs = MLX5_GET(cmd_hca_cap_2, hca_caps, max_num_eqs_24b); in mlx5_devlink_port_fn_max_io_eqs_get()
4898 if (max_eqs < MLX5_ESW_MAX_CTRL_EQS) in mlx5_devlink_port_fn_max_io_eqs_get()
4901 *max_io_eqs = max_eqs - MLX5_ESW_MAX_CTRL_EQS; in mlx5_devlink_port_fn_max_io_eqs_get()
4918 u16 max_eqs; in mlx5_devlink_port_fn_max_io_eqs_set() local
4934 if (check_add_overflow(max_io_eqs, MLX5_ESW_MAX_CTRL_EQS, &max_eqs)) { in mlx5_devlink_port_fn_max_io_eqs_set()
4952 MLX5_SET(cmd_hca_cap_2, hca_caps, max_num_eqs_24b, max_eqs); in mlx5_devlink_port_fn_max_io_eqs_set()