OSDN Git Service

IB/core: Don't advertise SA in RoCE port capabilities
authorMoni Shoua <monis@mellanox.com>
Wed, 10 Jun 2015 08:43:35 +0000 (11:43 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 11 Jun 2015 03:54:33 +0000 (23:54 -0400)
The Subnet Administrator (SA) is not a component of the RoCE spec.
Therefore, it should not be a capability of a RoCE port.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/rdma/ib_verbs.h

index 7d78794..7725cee 100644 (file)
@@ -381,7 +381,6 @@ union rdma_protocol_stats {
 #define RDMA_CORE_PORT_IBA_ROCE        (RDMA_CORE_CAP_PROT_ROCE \
                                        | RDMA_CORE_CAP_IB_MAD  \
                                        | RDMA_CORE_CAP_IB_CM   \
-                                       | RDMA_CORE_CAP_IB_SA   \
                                        | RDMA_CORE_CAP_AF_IB   \
                                        | RDMA_CORE_CAP_ETH_AH)
 #define RDMA_CORE_PORT_IWARP           (RDMA_CORE_CAP_PROT_IWARP \