projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
{net, ib}/mlx5: Make cache line size determination at runtime.
[cascardo/linux.git]
/
include
/
linux
/
mlx5
/
driver.h
diff --git
a/include/linux/mlx5/driver.h
b/include/linux/mlx5/driver.h
index
85c4786
..
5dbda60
100644
(file)
--- a/
include/linux/mlx5/driver.h
+++ b/
include/linux/mlx5/driver.h
@@
-625,10
+625,6
@@
struct mlx5_db {
int index;
};
int index;
};
-enum {
- MLX5_DB_PER_PAGE = PAGE_SIZE / L1_CACHE_BYTES,
-};
-
enum {
MLX5_COMP_EQ_SIZE = 1024,
};
enum {
MLX5_COMP_EQ_SIZE = 1024,
};
@@
-638,13
+634,6
@@
enum {
MLX5_PTYS_EN = 1 << 2,
};
MLX5_PTYS_EN = 1 << 2,
};
-struct mlx5_db_pgdir {
- struct list_head list;
- DECLARE_BITMAP(bitmap, MLX5_DB_PER_PAGE);
- __be32 *db_page;
- dma_addr_t db_dma;
-};
-
typedef void (*mlx5_cmd_cbk_t)(int status, void *context);
struct mlx5_cmd_work_ent {
typedef void (*mlx5_cmd_cbk_t)(int status, void *context);
struct mlx5_cmd_work_ent {