summaryrefslogtreecommitdiffstats
path: root/security/smack
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2021-03-18 15:52:59 +0200
committerJason Gunthorpe <jgg@nvidia.com>2021-03-26 11:57:38 -0300
commite5dc370bd9d6ea1c692c83f2b64a4204c0fa48fb (patch)
tree86f565c04240b6a4cebc8be2bad5806f47355dfe /security/smack
parentc73700806d4e430d182c2be069d230076818a99a (diff)
downloadlinux-stable-e5dc370bd9d6ea1c692c83f2b64a4204c0fa48fb.tar.gz
linux-stable-e5dc370bd9d6ea1c692c83f2b64a4204c0fa48fb.tar.bz2
linux-stable-e5dc370bd9d6ea1c692c83f2b64a4204c0fa48fb.zip
RDMA/mlx5: Set ODP caps only if device profile support ODP
Currently, ODP caps are set during the init stage of mlx5_ib_dev, regardless of whether the device profile supports ODP or not. There is no point in setting ODP caps if the device profile doesn't support ODP. Hence, move setting the ODP caps to the odp_init stage. Link: https://lore.kernel.org/r/20210318135259.681264-1-leon@kernel.org Reviewed-by: Maor Gottlieb <maorg@nvidia.com> Signed-off-by: Shay Drory <shayd@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions