Repository navigation
Commit 841b07f
IB/mlx5: Block MR WR if UMR is not possible
Check conditions that are mandatory to post_send UMR WQEs.
1. Modifying page size.
2. Modifying remote atomic permissions if atomic access is required.
If either condition is not fulfilled then fail to post_send() flow.
Fixes: c8d75a9 ("IB/mlx5: Respect new UMR capabilities")
Signed-off-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Guy Levi <guyle@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Link: https://lore.kernel.org/r/20190815083834.9245-9-leon@kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>1 parent 25a4517 commit 841b07f
1 file changed
Lines changed: 19 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4162 | 4162 | | |
4163 | 4163 | | |
4164 | 4164 | | |
4165 | | - | |
| 4165 | + | |
4166 | 4166 | | |
4167 | 4167 | | |
4168 | 4168 | | |
| |||
4175 | 4175 | | |
4176 | 4176 | | |
4177 | 4177 | | |
4178 | | - | |
4179 | 4178 | | |
4180 | 4179 | | |
4181 | 4180 | | |
| 4181 | + | |
| 4182 | + | |
| 4183 | + | |
4182 | 4184 | | |
4183 | 4185 | | |
4184 | 4186 | | |
| |||
4204 | 4206 | | |
4205 | 4207 | | |
4206 | 4208 | | |
4207 | | - | |
| 4209 | + | |
4208 | 4210 | | |
4209 | 4211 | | |
4210 | 4212 | | |
4211 | 4213 | | |
4212 | 4214 | | |
4213 | 4215 | | |
4214 | 4216 | | |
4215 | | - | |
| 4217 | + | |
4216 | 4218 | | |
4217 | 4219 | | |
4218 | 4220 | | |
| |||
4811 | 4813 | | |
4812 | 4814 | | |
4813 | 4815 | | |
| 4816 | + | |
4814 | 4817 | | |
4815 | 4818 | | |
| 4819 | + | |
4816 | 4820 | | |
4817 | 4821 | | |
| 4822 | + | |
| 4823 | + | |
| 4824 | + | |
| 4825 | + | |
| 4826 | + | |
| 4827 | + | |
| 4828 | + | |
| 4829 | + | |
| 4830 | + | |
| 4831 | + | |
4818 | 4832 | | |
4819 | 4833 | | |
4820 | 4834 | | |
| |||
4826 | 4840 | | |
4827 | 4841 | | |
4828 | 4842 | | |
4829 | | - | |
| 4843 | + | |
4830 | 4844 | | |
4831 | 4845 | | |
4832 | 4846 | | |
| |||
0 commit comments