summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-12-02 19:00:17 -0800
committerJakub Kicinski <kuba@kernel.org>2021-12-02 19:00:53 -0800
commit0109841fc4565bb3cefcdfb2991da0c47cd94b23 (patch)
tree00f71290ace350221bf521ab32c88eb06cdbab0c /include/linux
parentfc993be36f9ea7fc286d84d8471a1a20e871aad4 (diff)
parentb247f32aecad09e6cf7edff7739e6f2c9dc5fca9 (diff)
downloadcachepc-linux-0109841fc4565bb3cefcdfb2991da0c47cd94b23.tar.gz
cachepc-linux-0109841fc4565bb3cefcdfb2991da0c47cd94b23.zip
Merge tag 'mlx5-updates-2021-12-02' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux
Saeed Mahameed says: ==================== mlx5-updates-2021-12-02 Misc updates to mlx5 driver 1) Various code cleanups 2) Error path handling fixes of latest features 3) Print more information on pci error handling 4) Dynamically resize flow counters query buffer ==================== Link: https://lore.kernel.org/r/20211203005622.183325-1-saeed@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mlx5/driver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index a623ec635947..78655d8d13a7 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -478,6 +478,10 @@ struct mlx5_fc_stats {
unsigned long next_query;
unsigned long sampling_interval; /* jiffies */
u32 *bulk_query_out;
+ int bulk_query_len;
+ size_t num_counters;
+ bool bulk_query_alloc_failed;
+ unsigned long next_bulk_query_alloc;
struct mlx5_fc_pool fc_pool;
};