]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
IB/rxe: Drop QP0 silently
authorZhu Yanjun <yanjun.zhu@oracle.com>
Fri, 13 Jul 2018 07:10:20 +0000 (03:10 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 24 Jul 2018 21:28:31 +0000 (15:28 -0600)
commit536ca245c512aedfd84cde072d7b3ca14b6e1792
treefb60bff399c9c162ef37c64e85062e3b73c550f0
parent99a7e2bf704d64c966dfacede1ba2d9b47cb676e
IB/rxe: Drop QP0 silently

According to "Annex A16: RDMA over Converged Ethernet (RoCE)":

A16.4.3 MANAGEMENT INTERFACES

As defined in the base specification, a special Queue Pair, QP0 is defined
solely for communication between subnet manager(s) and subnet management
agents. Since such an IB-defined subnet management architecture is outside
the scope of this annex, it follows that there is also no requirement that
a port which conforms to this annex be associated with a QP0. Thus, for
end nodes designed to conform to this annex, the concept of QP0 is
undefined and unused for any port connected to an Ethernet network.

CA16-8: A packet arriving at a RoCE port containing a BTH with the
destination QP field set to QP0 shall be silently dropped.

Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Acked-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_recv.c