All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-core 0/2] Handle misc issues in mlx5 driver
@ 2017-05-09 16:45 Yishai Hadas
       [not found] ` <1494348322-4526-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Yishai Hadas @ 2017-05-09 16:45 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
  Cc: dledford-H+wXaHxf7aLQT0dZR+AlfA, yishaih-VPRAkNaXOzVWk0Htik3J/w,
	artemyko-VPRAkNaXOzVWk0Htik3J/w, noaos-VPRAkNaXOzVWk0Htik3J/w,
	majd-VPRAkNaXOzVWk0Htik3J/w

This patchset handles misc issues in the mlx5 driver, details below.

Patch #1: Few cleanup fixes.
Patch #2  Update the supported PCI devices list.

Pull request was sent:
https://github.com/linux-rdma/rdma-core/pull/127

Artemy Kovalyov (1):
  mlx5: Few small fixes

Noa Osherovich (1):
  mlx5: Update supported PCI devices list

 providers/mlx5/cq.c   | 4 +---
 providers/mlx5/mlx5.c | 2 ++
 providers/mlx5/qp.c   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH rdma-core 1/2] mlx5: Few small fixes
       [not found] ` <1494348322-4526-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
@ 2017-05-09 16:45   ` Yishai Hadas
  2017-05-09 16:45   ` [PATCH rdma-core 2/2] mlx5: Update supported PCI devices list Yishai Hadas
  2017-05-09 20:09   ` [PATCH rdma-core 0/2] Handle misc issues in mlx5 driver Doug Ledford
  2 siblings, 0 replies; 4+ messages in thread
From: Yishai Hadas @ 2017-05-09 16:45 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
  Cc: dledford-H+wXaHxf7aLQT0dZR+AlfA, yishaih-VPRAkNaXOzVWk0Htik3J/w,
	artemyko-VPRAkNaXOzVWk0Htik3J/w, noaos-VPRAkNaXOzVWk0Htik3J/w,
	majd-VPRAkNaXOzVWk0Htik3J/w

From: Artemy Kovalyov <artemyko-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

1) Drop redundant line as part of CQE parsing and fix indentation.
2) Under DEBUG mode add a missing 'static' declaration.

Signed-off-by: Artemy Kovalyov <artemyko-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Reviewed-by: Yishai Hadas <yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 providers/mlx5/cq.c | 4 +---
 providers/mlx5/qp.c | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/providers/mlx5/cq.c b/providers/mlx5/cq.c
index 2e8b584..288e08f 100644
--- a/providers/mlx5/cq.c
+++ b/providers/mlx5/cq.c
@@ -177,7 +177,7 @@ static inline int handle_responder_lazy(struct mlx5_cq *cq, struct mlx5_cqe64 *c
 		else if (cqe->op_own & MLX5_INLINE_SCATTER_64)
 			err = mlx5_copy_to_recv_wqe(qp, wqe_ctr, cqe - 1,
 						    be32toh(cqe->byte_cnt));
-}
+	}
 
 	return err;
 }
@@ -228,8 +228,6 @@ static inline int handle_responder(struct ibv_wc *wc, struct mlx5_cqe64 *cqe,
 	if (err)
 		return err;
 
-	wc->byte_len = be32toh(cqe->byte_cnt);
-
 	switch (cqe->op_own >> 4) {
 	case MLX5_CQE_RESP_WR_IMM:
 		wc->opcode	= IBV_WC_RECV_RDMA_WITH_IMM;
diff --git a/providers/mlx5/qp.c b/providers/mlx5/qp.c
index 1d5a2f9..5975755 100644
--- a/providers/mlx5/qp.c
+++ b/providers/mlx5/qp.c
@@ -317,7 +317,7 @@ static uint8_t wq_sig(struct mlx5_wqe_ctrl_seg *ctrl)
 }
 
 #ifdef MLX5_DEBUG
-void dump_wqe(FILE *fp, int idx, int size_16, struct mlx5_qp *qp)
+static void dump_wqe(FILE *fp, int idx, int size_16, struct mlx5_qp *qp)
 {
 	uint32_t *uninitialized_var(p);
 	int i, j;
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH rdma-core 2/2] mlx5: Update supported PCI devices list
       [not found] ` <1494348322-4526-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  2017-05-09 16:45   ` [PATCH rdma-core 1/2] mlx5: Few small fixes Yishai Hadas
@ 2017-05-09 16:45   ` Yishai Hadas
  2017-05-09 20:09   ` [PATCH rdma-core 0/2] Handle misc issues in mlx5 driver Doug Ledford
  2 siblings, 0 replies; 4+ messages in thread
From: Yishai Hadas @ 2017-05-09 16:45 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
  Cc: dledford-H+wXaHxf7aLQT0dZR+AlfA, yishaih-VPRAkNaXOzVWk0Htik3J/w,
	artemyko-VPRAkNaXOzVWk0Htik3J/w, noaos-VPRAkNaXOzVWk0Htik3J/w,
	majd-VPRAkNaXOzVWk0Htik3J/w

From: Noa Osherovich <noaos-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

Add the BlueField device and VF IDs to the supported devices list.

Signed-off-by: Noa Osherovich <noaos-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Reviewed-by: Yishai Hadas <yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 providers/mlx5/mlx5.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/providers/mlx5/mlx5.c b/providers/mlx5/mlx5.c
index 30f165b..1bbc3f2 100644
--- a/providers/mlx5/mlx5.c
+++ b/providers/mlx5/mlx5.c
@@ -78,6 +78,8 @@ static struct {
 	HCA(MELLANOX, 4122),	/* ConnectX-5 Ex VF */
 	HCA(MELLANOX, 4123),    /* ConnectX-6 */
 	HCA(MELLANOX, 4124),	/* ConnectX-6 VF */
+	HCA(MELLANOX, 41682),	/* BlueField integrated ConnectX-5 network controller */
+	HCA(MELLANOX, 41683),	/* BlueField integrated ConnectX-5 network controller VF */
 };
 
 uint32_t mlx5_debug_mask = 0;
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH rdma-core 0/2] Handle misc issues in mlx5 driver
       [not found] ` <1494348322-4526-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  2017-05-09 16:45   ` [PATCH rdma-core 1/2] mlx5: Few small fixes Yishai Hadas
  2017-05-09 16:45   ` [PATCH rdma-core 2/2] mlx5: Update supported PCI devices list Yishai Hadas
@ 2017-05-09 20:09   ` Doug Ledford
  2 siblings, 0 replies; 4+ messages in thread
From: Doug Ledford @ 2017-05-09 20:09 UTC (permalink / raw)
  To: Yishai Hadas, linux-rdma-u79uwXL29TY76Z2rM5mHXA
  Cc: artemyko-VPRAkNaXOzVWk0Htik3J/w, noaos-VPRAkNaXOzVWk0Htik3J/w,
	majd-VPRAkNaXOzVWk0Htik3J/w


[-- Attachment #1.1: Type: text/plain, Size: 776 bytes --]

On 5/9/2017 12:45 PM, Yishai Hadas wrote:
> This patchset handles misc issues in the mlx5 driver, details below.
> 
> Patch #1: Few cleanup fixes.
> Patch #2  Update the supported PCI devices list.
> 
> Pull request was sent:
> https://github.com/linux-rdma/rdma-core/pull/127
> 
> Artemy Kovalyov (1):
>   mlx5: Few small fixes
> 
> Noa Osherovich (1):
>   mlx5: Update supported PCI devices list
> 
>  providers/mlx5/cq.c   | 4 +---
>  providers/mlx5/mlx5.c | 2 ++
>  providers/mlx5/qp.c   | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 

Thanks, applied.

-- 
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
    GPG Key ID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-09 20:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-09 16:45 [PATCH rdma-core 0/2] Handle misc issues in mlx5 driver Yishai Hadas
     [not found] ` <1494348322-4526-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2017-05-09 16:45   ` [PATCH rdma-core 1/2] mlx5: Few small fixes Yishai Hadas
2017-05-09 16:45   ` [PATCH rdma-core 2/2] mlx5: Update supported PCI devices list Yishai Hadas
2017-05-09 20:09   ` [PATCH rdma-core 0/2] Handle misc issues in mlx5 driver Doug Ledford

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.