On 2020/9/18 22:11, Jason Gunthorpe wrote: > On Wed, Sep 09, 2020 at 04:57:30PM +0800, Weihang Li wrote: >> From: Jiaran Zhang <zhangjiaran@xxxxxxxxxx> >> >> 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 the value of sl is larger than 7, if so, >> an exception should be returned. >> >> Signed-off-by: Jiaran Zhang <zhangjiaran@xxxxxxxxxx> >> Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx> >> --- >> drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 12 ++++++++++-- >> drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 2 ++ >> 2 files changed, 12 insertions(+), 2 deletions(-) > > Missing fixes line > > Jason > I will add one. Thank you :) Weihang