]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
RDMA/hns: Bugfix for RoCE loopback test
authorLijun Ou <oulijun@huawei.com>
Sat, 8 Dec 2018 10:40:11 +0000 (18:40 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 11 Dec 2018 19:04:06 +0000 (12:04 -0700)
commit0c1c3880442f07532780533457ba0784790d8de2
tree1f6591af6124d3b739c74e9275eae9a3c2669d62
parentf747b689451821fdf4bea53998feb38000595095
RDMA/hns: Bugfix for RoCE loopback test

This patch implements a cmdq to enable the loopback of ssu module
according to the modified hardware desgin.

The ssu consists of ingress unit, packet buffer and programmable packet
process unit. if the loopback bit of ssu is not enabled, the roce packet
with loopback bit will fail.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h