summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNimrod Oren <noren@nvidia.com>2026-08-03 16:25:18 +0300
committerJakub Kicinski <kuba@kernel.org>2026-08-05 19:02:15 -0700
commit46f636cd620e2ff5a941fe8c6af19f8d82122b40 (patch)
tree58c26c131ed4b809d43be42fe5ec854ad792653f /include/linux
parent59d3b0a5f1110415feaf8981e07f73e639fd1fae (diff)
net/mlx5: initialize doorbell dma pools
Add per-node doorbell dma pool creation and cleanup to mdev lifecycle. Signed-off-by: Nimrod Oren <noren@nvidia.com> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260803132520.2891860-2-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mlx5/driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index b1871c0821d0..4246d6d904ba 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -569,6 +569,7 @@ enum mlx5_page_mgt_mode {
};
struct mlx5_frag_buf_node_pools;
+struct mlx5_dma_pool;
struct mlx5_ft_pool;
struct mlx5_priv {
/* IRQ table valid only for real pci devices PF or VF */
@@ -602,6 +603,7 @@ struct mlx5_priv {
struct list_head pgdir_list;
struct mlx5_frag_buf_node_pools **frag_buf_node_pools;
+ struct mlx5_dma_pool **db_node_pools;
/* end: alloc stuff */
struct mlx5_adev **adev;