diff mbox

[for-next,3/3] RDMA/vmw_pvrdma: Add new port_cap flag

Message ID a7af1415fad6c6de00486002cdb6b95efec4e891.1503073950.git.aditr@vmware.com (mailing list archive)
State Superseded
Headers show

Commit Message

Adit Ranadive Aug. 18, 2017, 4:44 p.m. UTC
Set the IP_BASED_GIDS port cap flag for vmw_pvrdma.

Acked-by: Aditya Sarwade <asarwade@vmware.com>
Signed-off-by: Adit Ranadive <aditr@vmware.com>
---
 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Leon Romanovsky Aug. 20, 2017, 5:56 a.m. UTC | #1
On Fri, Aug 18, 2017 at 09:44:49AM -0700, Adit Ranadive wrote:
> Set the IP_BASED_GIDS port cap flag for vmw_pvrdma.
>
> Acked-by: Aditya Sarwade <asarwade@vmware.com>
> Signed-off-by: Adit Ranadive <aditr@vmware.com>
> ---


Adit,

Please reread the Documentation/process/5.Posting.rst and
the Documentation/process/submitting-patches.rst for the meaning
of the tags ("12) When to use Acked-by: and Cc:").

I think that you wanted to write Reviewed-by instead.

Thanks,
Adit Ranadive Aug. 21, 2017, 6:57 a.m. UTC | #2
On Sun, Aug 20, 2017 at 08:56:17AM +0300, Leon Romanovsky wrote:
> On Fri, Aug 18, 2017 at 09:44:49AM -0700, Adit Ranadive wrote:
> > Set the IP_BASED_GIDS port cap flag for vmw_pvrdma.
> >
> > Acked-by: Aditya Sarwade <asarwade@vmware.com>
> > Signed-off-by: Adit Ranadive <aditr@vmware.com>
> > ---
> 
> 
> Adit,
> 
> Please reread the Documentation/process/5.Posting.rst and
> the Documentation/process/submitting-patches.rst for the meaning
> of the tags ("12) When to use Acked-by: and Cc:").
> 
> I think that you wanted to write Reviewed-by instead.

Sure, thanks for the pointers.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c
index 0b19d1a..1a367b7 100644
--- a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c
+++ b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c
@@ -152,6 +152,7 @@  int pvrdma_query_port(struct ib_device *ibdev, u8 port,
 	props->gid_tbl_len = resp->attrs.gid_tbl_len;
 	props->port_cap_flags =
 		pvrdma_port_cap_flags_to_ib(resp->attrs.port_cap_flags);
+	props->port_cap_flags |= IB_PORT_CM_SUP | IB_PORT_IP_BASED_GIDS;
 	props->max_msg_sz = resp->attrs.max_msg_sz;
 	props->bad_pkey_cntr = resp->attrs.bad_pkey_cntr;
 	props->qkey_viol_cntr = resp->attrs.qkey_viol_cntr;