]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Configure ecn field of ip header
authorLijun Ou <oulijun@huawei.com>
Sun, 30 Sep 2018 09:00:32 +0000 (17:00 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 3 Oct 2018 22:21:17 +0000 (16:21 -0600)
commitcd7f766134cca28e7741d9b8a7154f8715da5767
tree7917410455a2fad31b45774ce80238251202feb7
parentf9e0e085767e3747441534dbd55f1751e1259820
RDMA/hns: Configure ecn field of ip header

In order to compatible with the third party RoCE device, The hardware
modify the set method for the ecn field of ip header in new hip08
version. The high 6bit of tclass be assigned for dscp field of packet.

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