diff options
| author | Ingo Molnar <mingo@kernel.org> | 2014-02-09 07:13:45 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2014-02-09 07:13:45 -0500 |
| commit | 3c3d7cb1db4af176dab843f22ea092a4ef1eb989 (patch) | |
| tree | 9c1b2951432ed10d0654a8e13cbe57b51260d06b /include/linux/mlx5/device.h | |
| parent | 0e9f2204cfa6d79abe3e525ddf7c4ab5792cc751 (diff) | |
| parent | 494479038d97f1b9f76fc633a360a681acdf035c (diff) | |
Merge branch 'linus' into perf/core
Refresh the branch to a v3.14-rc base before queueing up new devel patches.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/mlx5/device.h')
| -rw-r--r-- | include/linux/mlx5/device.h | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/include/linux/mlx5/device.h b/include/linux/mlx5/device.h index da78875807fc..817a6fae6d2c 100644 --- a/include/linux/mlx5/device.h +++ b/include/linux/mlx5/device.h | |||
| @@ -104,9 +104,10 @@ enum { | |||
| 104 | }; | 104 | }; |
| 105 | 105 | ||
| 106 | enum { | 106 | enum { |
| 107 | MLX5_BF_REGS_PER_PAGE = 4, | 107 | MLX5_BF_REGS_PER_PAGE = 4, |
| 108 | MLX5_MAX_UAR_PAGES = 1 << 8, | 108 | MLX5_MAX_UAR_PAGES = 1 << 8, |
| 109 | MLX5_MAX_UUARS = MLX5_MAX_UAR_PAGES * MLX5_BF_REGS_PER_PAGE, | 109 | MLX5_NON_FP_BF_REGS_PER_PAGE = 2, |
| 110 | MLX5_MAX_UUARS = MLX5_MAX_UAR_PAGES * MLX5_NON_FP_BF_REGS_PER_PAGE, | ||
| 110 | }; | 111 | }; |
| 111 | 112 | ||
| 112 | enum { | 113 | enum { |
| @@ -176,6 +177,8 @@ enum { | |||
| 176 | MLX5_DEV_CAP_FLAG_APM = 1LL << 17, | 177 | MLX5_DEV_CAP_FLAG_APM = 1LL << 17, |
| 177 | MLX5_DEV_CAP_FLAG_ATOMIC = 1LL << 18, | 178 | MLX5_DEV_CAP_FLAG_ATOMIC = 1LL << 18, |
| 178 | MLX5_DEV_CAP_FLAG_ON_DMND_PG = 1LL << 24, | 179 | MLX5_DEV_CAP_FLAG_ON_DMND_PG = 1LL << 24, |
| 180 | MLX5_DEV_CAP_FLAG_CQ_MODER = 1LL << 29, | ||
| 181 | MLX5_DEV_CAP_FLAG_RESIZE_CQ = 1LL << 30, | ||
| 179 | MLX5_DEV_CAP_FLAG_RESIZE_SRQ = 1LL << 32, | 182 | MLX5_DEV_CAP_FLAG_RESIZE_SRQ = 1LL << 32, |
| 180 | MLX5_DEV_CAP_FLAG_REMOTE_FENCE = 1LL << 38, | 183 | MLX5_DEV_CAP_FLAG_REMOTE_FENCE = 1LL << 38, |
| 181 | MLX5_DEV_CAP_FLAG_TLP_HINTS = 1LL << 39, | 184 | MLX5_DEV_CAP_FLAG_TLP_HINTS = 1LL << 39, |
| @@ -231,7 +234,8 @@ enum { | |||
| 231 | }; | 234 | }; |
| 232 | 235 | ||
| 233 | enum { | 236 | enum { |
| 234 | MLX5_ADAPTER_PAGE_SHIFT = 12 | 237 | MLX5_ADAPTER_PAGE_SHIFT = 12, |
| 238 | MLX5_ADAPTER_PAGE_SIZE = 1 << MLX5_ADAPTER_PAGE_SHIFT, | ||
| 235 | }; | 239 | }; |
| 236 | 240 | ||
| 237 | enum { | 241 | enum { |
| @@ -697,6 +701,20 @@ struct mlx5_query_cq_mbox_out { | |||
| 697 | __be64 pas[0]; | 701 | __be64 pas[0]; |
| 698 | }; | 702 | }; |
| 699 | 703 | ||
| 704 | struct mlx5_modify_cq_mbox_in { | ||
| 705 | struct mlx5_inbox_hdr hdr; | ||
| 706 | __be32 cqn; | ||
| 707 | __be32 field_select; | ||
| 708 | struct mlx5_cq_context ctx; | ||
| 709 | u8 rsvd[192]; | ||
| 710 | __be64 pas[0]; | ||
| 711 | }; | ||
| 712 | |||
| 713 | struct mlx5_modify_cq_mbox_out { | ||
| 714 | struct mlx5_outbox_hdr hdr; | ||
| 715 | u8 rsvd[8]; | ||
| 716 | }; | ||
| 717 | |||
| 700 | struct mlx5_enable_hca_mbox_in { | 718 | struct mlx5_enable_hca_mbox_in { |
| 701 | struct mlx5_inbox_hdr hdr; | 719 | struct mlx5_inbox_hdr hdr; |
| 702 | u8 rsvd[8]; | 720 | u8 rsvd[8]; |
| @@ -831,8 +849,8 @@ struct mlx5_create_mkey_mbox_in { | |||
| 831 | struct mlx5_mkey_seg seg; | 849 | struct mlx5_mkey_seg seg; |
| 832 | u8 rsvd1[16]; | 850 | u8 rsvd1[16]; |
| 833 | __be32 xlat_oct_act_size; | 851 | __be32 xlat_oct_act_size; |
| 834 | __be32 bsf_coto_act_size; | 852 | __be32 rsvd2; |
| 835 | u8 rsvd2[168]; | 853 | u8 rsvd3[168]; |
| 836 | __be64 pas[0]; | 854 | __be64 pas[0]; |
| 837 | }; | 855 | }; |
| 838 | 856 | ||
| @@ -871,6 +889,7 @@ struct mlx5_modify_mkey_mbox_in { | |||
| 871 | 889 | ||
| 872 | struct mlx5_modify_mkey_mbox_out { | 890 | struct mlx5_modify_mkey_mbox_out { |
| 873 | struct mlx5_outbox_hdr hdr; | 891 | struct mlx5_outbox_hdr hdr; |
| 892 | u8 rsvd[8]; | ||
| 874 | }; | 893 | }; |
| 875 | 894 | ||
| 876 | struct mlx5_dump_mkey_mbox_in { | 895 | struct mlx5_dump_mkey_mbox_in { |
