Searched refs:max_counters (Results 1 – 5 of 5) sorted by relevance
127 u32 max_counters; member
542 dev->caps.max_counters = dev_cap->max_counters; in mlx4_dev_cap()2424 if (!dev->caps.max_counters) in mlx4_init_counters_table()2427 nent_pow2 = roundup_pow_of_two(dev->caps.max_counters); in mlx4_init_counters_table()2431 nent_pow2 - dev->caps.max_counters + 1); in mlx4_init_counters_table()2439 if (!dev->caps.max_counters) in mlx4_cleanup_counters_table()
475 return (dev->caps.max_counters - 1 - in get_max_gauranteed_vfs_counter()523 res_alloc->res_free = dev->caps.max_counters - 1; in mlx4_init_resource_tracker()601 res_alloc->quota[t] = dev->caps.max_counters; in mlx4_init_resource_tracker()1190 counters_arr = kmalloc_array(dev->caps.max_counters, in mlx4_calc_vf_counters()5158 counters_arr = kmalloc_array(dev->caps.max_counters, in rem_slave_counters()
1051 MLX4_GET(dev_cap->max_counters, outbox, in mlx4_QUERY_DEV_CAP()1151 mlx4_dbg(dev, "Max counters: %d\n", dev_cap->max_counters); in mlx4_dev_cap_dump()
609 u32 max_counters; member1019 #define MLX4_SINK_COUNTER_INDEX(dev) (dev->caps.max_counters - 1)