[PATCH kernel-4.19 12/16] RDMA/hns: Add check for the validity of sl configuration