在 2018/11/24 4:34, Jason Gunthorpe 写道: > On Fri, Nov 23, 2018 at 03:59:56PM +0800, Lijun Ou wrote: >> From: Yangyang Li <liyangyang20@xxxxxxxxxx> >> >> This patch adds SCC context allocation and initialization support >> for DCQCN in kernel space driver. >> >> Signed-off-by: Yangyang Li <liyangyang20@xxxxxxxxxx> >> --- >> drivers/infiniband/hw/hns/hns_roce_cmd.h | 4 ++++ >> drivers/infiniband/hw/hns/hns_roce_device.h | 6 +++++ >> drivers/infiniband/hw/hns/hns_roce_hem.c | 26 ++++++++++++++++++--- >> drivers/infiniband/hw/hns/hns_roce_hem.h | 1 + >> drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 35 ++++++++++++++++++++++++++++- >> drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 23 +++++++++++++++++-- >> drivers/infiniband/hw/hns/hns_roce_main.c | 18 +++++++++++++++ >> drivers/infiniband/hw/hns/hns_roce_qp.c | 20 ++++++++++++++++- >> 8 files changed, 126 insertions(+), 7 deletions(-) > This also doesn't apply: > > Applying: RDMA/hns: Add SCC context allocation support for hip08 > error: sha1 information is lacking or useless (drivers/infiniband/hw/hns/hns_roce_device.h). > error: could not build fake ancestor > Patch failed at 0001 RDMA/hns: Add SCC context allocation support for hip08 > > Jason Sorry. It is my careless. I should note the patch depend on the srq series patch. I will send the patch v3 and note it. thanks >