linux/drivers/infiniband
Weihang Li f75506833e RDMA/hns: WARN_ON if get a reserved sl from users
According to the RoCE v1 specification, the sl (service level) 0-7 are
mapped directly to priorities 0-7 respectively, sl 8-15 are reserved. The
driver should verify whether the value of sl is larger than 7, if so, an
exception should be returned.

Link: https://lore.kernel.org/r/1607650657-35992-6-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-12-11 15:21:34 -04:00
..
core RDMA/uverbs: Fix incorrect variable type 2020-12-10 15:05:17 -04:00
hw RDMA/hns: WARN_ON if get a reserved sl from users 2020-12-11 15:21:34 -04:00
sw IB: Fix kernel-doc markups 2020-12-07 15:45:00 -04:00
ulp RDMA/iser: Remove in_interrupt() usage 2020-12-07 16:05:12 -04:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-12 13:27:41 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00