Commit 676b570
RDMA/mlx5: Pull comp_mask validation into ib_copy_validate_udata_in_cm()
Directly check the supported comp_mask bitmap using
ib_copy_validate_udata_in_cm() and remove the open coding.
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>1 parent 604caeb commit 676b570
1 file changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4707 | 4707 | | |
4708 | 4708 | | |
4709 | 4709 | | |
4710 | | - | |
| 4710 | + | |
| 4711 | + | |
4711 | 4712 | | |
4712 | 4713 | | |
4713 | 4714 | | |
4714 | | - | |
4715 | | - | |
| 4715 | + | |
4716 | 4716 | | |
4717 | 4717 | | |
4718 | 4718 | | |
| |||
5381 | 5381 | | |
5382 | 5382 | | |
5383 | 5383 | | |
5384 | | - | |
5385 | | - | |
| 5384 | + | |
| 5385 | + | |
| 5386 | + | |
| 5387 | + | |
5386 | 5388 | | |
5387 | 5389 | | |
5388 | 5390 | | |
5389 | 5391 | | |
5390 | 5392 | | |
5391 | | - | |
5392 | | - | |
5393 | | - | |
5394 | | - | |
| 5393 | + | |
5395 | 5394 | | |
5396 | 5395 | | |
5397 | 5396 | | |
| |||
0 commit comments