summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/driver.h
diff options
context:
space:
mode:
authorEli Cohen2013-10-23 08:53:19 +0200
committerRoland Dreier2013-11-08 23:43:00 +0100
commitbf0bf77f6519e5dcd57a77b47e1d151c1e81b7ec (patch)
tree18f449ec92393cb3f828c9f9c95c25234f807d3a /include/linux/mlx5/driver.h
parentmlx5: Fix cleanup flow when DMA mapping fails (diff)
downloadkernel-qcow2-linux-bf0bf77f6519e5dcd57a77b47e1d151c1e81b7ec.tar.gz
kernel-qcow2-linux-bf0bf77f6519e5dcd57a77b47e1d151c1e81b7ec.tar.xz
kernel-qcow2-linux-bf0bf77f6519e5dcd57a77b47e1d151c1e81b7ec.zip
mlx5: Support communicating arbitrary host page size to firmware
Connect-IB firmware requires 4K pages to be communicated with the driver. This patch breaks larger pages to 4K units to enable support for architectures utilizing larger page size, such as PowerPC. This patch also fixes several places that referred to PAGE_SHIFT instead of explicit 12 which is the inherent page shift on Connect-IB. Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/linux/mlx5/driver.h')
-rw-r--r--include/linux/mlx5/driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index 513619a75695..554548cd3dd4 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -483,6 +483,7 @@ struct mlx5_priv {
struct rb_root page_root;
int fw_pages;
int reg_pages;
+ struct list_head free_list;
struct mlx5_core_health health;