diff options
author | Weihang Li <liweihang@huawei.com> | 2020-12-11 09:37:31 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-12-11 15:21:34 -0400 |
commit | f75506833eed65cc537293508b7edd5788d67e23 (patch) | |
tree | dab0184c12bd8a58149e4cf126476ca20b1c741f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 94a8c4dfcdb2b4fcb3dfafc39c1033a0b4637c86 (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions