diff mbox series

[v2,07/22] hw/pvrdma: Make default pkey 0xFFFF

Message ID 20181108160818.5485-8-yuval.shaia@oracle.com (mailing list archive)
State New, archived
Headers show
Series Add support for RDMA MAD | expand

Commit Message

Yuval Shaia Nov. 8, 2018, 4:08 p.m. UTC
Commit 6e7dba23af ("hw/pvrdma: Make default pkey 0xFFFF") exports
default pkey as external definition but omit the change from 0x7FFF to
0xFFFF.

Fixes: 6e7dba23af ("hw/pvrdma: Make default pkey 0xFFFF")

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
---
 hw/rdma/vmw/pvrdma.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Marcel Apfelbaum Nov. 10, 2018, 6:17 p.m. UTC | #1
On 11/8/18 6:08 PM, Yuval Shaia wrote:
> Commit 6e7dba23af ("hw/pvrdma: Make default pkey 0xFFFF") exports
> default pkey as external definition but omit the change from 0x7FFF to
> 0xFFFF.
>
> Fixes: 6e7dba23af ("hw/pvrdma: Make default pkey 0xFFFF")
>
> Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
> ---
>   hw/rdma/vmw/pvrdma.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/rdma/vmw/pvrdma.h b/hw/rdma/vmw/pvrdma.h
> index e3742d893a..15c3f28b86 100644
> --- a/hw/rdma/vmw/pvrdma.h
> +++ b/hw/rdma/vmw/pvrdma.h
> @@ -52,7 +52,7 @@
>   #define PVRDMA_FW_VERSION    14
>   
>   /* Some defaults */
> -#define PVRDMA_PKEY          0x7FFF
> +#define PVRDMA_PKEY          0xFFFF
>   
>   typedef struct DSRInfo {
>       dma_addr_t dma;


Reviewed-by: Marcel Apfelbaum<marcel.apfelbaum@gmail.com>

Thanks,
Marcel
diff mbox series

Patch

diff --git a/hw/rdma/vmw/pvrdma.h b/hw/rdma/vmw/pvrdma.h
index e3742d893a..15c3f28b86 100644
--- a/hw/rdma/vmw/pvrdma.h
+++ b/hw/rdma/vmw/pvrdma.h
@@ -52,7 +52,7 @@ 
 #define PVRDMA_FW_VERSION    14
 
 /* Some defaults */
-#define PVRDMA_PKEY          0x7FFF
+#define PVRDMA_PKEY          0xFFFF
 
 typedef struct DSRInfo {
     dma_addr_t dma;