1
0
Fork 0
remarkable-linux/drivers/infiniband/sw/rxe
Zhu Yanjun 394df59143 IB/rxe: Drop QP0 silently
[ Upstream commit 536ca245c5 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-26 08:38:00 +02:00
..
Kconfig IB/rxe: Offload CRC calculation when possible 2017-04-21 10:45:02 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rxe.c RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
rxe.h IB/rxe: Use "foo *bar" instead of "foo * bar" 2017-07-24 08:43:12 -04:00
rxe_av.c IB/rxe: Remove unneeded check 2017-08-18 14:01:10 -04:00
rxe_comp.c RDMA/rxe: Set wqe->status correctly if an unexpected response is received 2018-09-09 19:55:54 +02:00
rxe_cq.c IB/rxe: Disable completion upcalls when a CQ is destroyed 2017-08-28 19:12:32 -04:00
rxe_hdr.h IB/rxe: Enable type checking on SKB_TO_PKT() and PKT_TO_SKB() arguments 2017-01-10 16:52:47 -05:00
rxe_hw_counters.c IB/rxe: Make rxe_counter_name static 2017-08-24 16:44:48 -04:00
rxe_hw_counters.h IB/rxe: Add port protocol stats 2017-04-21 10:43:28 -04:00
rxe_icrc.c IB/rxe: Offload CRC calculation when possible 2017-04-21 10:45:02 -04:00
rxe_loc.h RDMA/rxe: Fix a race condition in rxe_requester() 2018-02-22 15:42:15 +01:00
rxe_mcast.c IB/rxe: Remove a pointless indirection layer 2017-01-10 16:52:47 -05:00
rxe_mmap.c IB/rxe: Constify static rxe_vm_ops 2017-07-24 08:43:12 -04:00
rxe_mr.c IB/rxe: Avoid ICRC errors by copying into the skb first 2017-08-28 19:12:36 -04:00
rxe_net.c IB/rxe: Handle NETDEV_CHANGE events 2017-08-28 19:12:36 -04:00
rxe_net.h IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_opcode.c IB/rxe: add RXE_START_MASK for rxe_opcode IB_OPCODE_RC_SEND_ONLY_INV 2018-06-21 04:02:51 +09:00
rxe_opcode.h
rxe_param.h rxe: expose num_possible_cpus() cnum_comp_vectors 2017-05-04 19:33:02 -04:00
rxe_pool.c IB/rxe: check for allocation failure on elem 2017-12-25 14:26:26 +01:00
rxe_pool.h IB/rxe: Let the compiler check the type of the cleanup functions 2017-01-10 16:52:47 -05:00
rxe_qp.c RDMA/rxe: Fix rxe_qp_cleanup() 2018-02-22 15:42:15 +01:00
rxe_queue.c IB/rxe: Clear queue buffer when modifying QP to reset 2016-11-16 20:03:44 -05:00
rxe_queue.h IB/rxe: Clear queue buffer when modifying QP to reset 2016-11-16 20:03:44 -05:00
rxe_recv.c IB/rxe: Drop QP0 silently 2018-09-26 08:38:00 +02:00
rxe_req.c IB/rxe: Fix missing completion for mem_reg work requests 2018-08-24 13:09:00 +02:00
rxe_resp.c IB/rxe: avoid double kfree_skb 2018-06-21 04:02:51 +09:00
rxe_srq.c IB/rxe: Remove unneeded cast in rxe_srq_from_attr() 2016-12-12 16:31:45 -05:00
rxe_sysfs.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_task.c IB/rxe: Use __func__ to print function's name 2017-07-24 08:43:12 -04:00
rxe_task.h IB/rxe: Wait for tasklets to finish before tearing down QP 2016-12-12 16:31:45 -05:00
rxe_verbs.c IB/rxe: Fix for oops in rxe_register_device on ppc64le arch 2018-05-30 07:52:24 +02:00
rxe_verbs.h RDMA/rxe: Fix rxe_qp_cleanup() 2018-02-22 15:42:15 +01:00