DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/mlx5: fix use of wrong compilation directive
@ 2019-10-27 15:33 Dekel Peled
  2019-10-27 16:04 ` Slava Ovsiienko
  2019-10-29  8:34 ` Raslan Darawsheh
  0 siblings, 2 replies; 4+ messages in thread
From: Dekel Peled @ 2019-10-27 15:33 UTC (permalink / raw)
  To: matan, viacheslavo, shahafs; +Cc: orika, dev, stable

Glue function mlx5_glue_devx_qp_query() uses wrong directive
HAVE_IBV_DEVX_ASYNC by mistake.
This patch replaces the directive to HAVE_IBV_DEVX_OBJ, as required.

Fixes: 62d6f70f30f4 ("net/mlx5: add glue for queue query via DevX")
Cc: stable@dpdk.org

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
---
 drivers/net/mlx5/mlx5_glue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mlx5/mlx5_glue.c b/drivers/net/mlx5/mlx5_glue.c
index b5aab52..58c9a82 100644
--- a/drivers/net/mlx5/mlx5_glue.c
+++ b/drivers/net/mlx5/mlx5_glue.c
@@ -976,7 +976,7 @@
 			const void *in, size_t inlen,
 			void *out, size_t outlen)
 {
-#ifdef HAVE_IBV_DEVX_ASYNC
+#ifdef HAVE_IBV_DEVX_OBJ
 	return mlx5dv_devx_qp_query(qp, in, inlen, out, outlen);
 #else
 	(void)qp;
-- 
1.8.3.1


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

* Re: [dpdk-dev] [PATCH] net/mlx5: fix use of wrong compilation directive
  2019-10-27 15:33 [dpdk-dev] [PATCH] net/mlx5: fix use of wrong compilation directive Dekel Peled
@ 2019-10-27 16:04 ` Slava Ovsiienko
  2019-10-28  6:57   ` Matan Azrad
  2019-10-29  8:34 ` Raslan Darawsheh
  1 sibling, 1 reply; 4+ messages in thread
From: Slava Ovsiienko @ 2019-10-27 16:04 UTC (permalink / raw)
  To: Dekel Peled, Matan Azrad, Shahaf Shuler; +Cc: Ori Kam, dev, stable

> -----Original Message-----
> From: Dekel Peled <dekelp@mellanox.com>
> Sent: Sunday, October 27, 2019 17:33
> To: Matan Azrad <matan@mellanox.com>; Slava Ovsiienko
> <viacheslavo@mellanox.com>; Shahaf Shuler <shahafs@mellanox.com>
> Cc: Ori Kam <orika@mellanox.com>; dev@dpdk.org; stable@dpdk.org
> Subject: [PATCH] net/mlx5: fix use of wrong compilation directive
> 
> Glue function mlx5_glue_devx_qp_query() uses wrong directive
> HAVE_IBV_DEVX_ASYNC by mistake.
> This patch replaces the directive to HAVE_IBV_DEVX_OBJ, as required.
> 
> Fixes: 62d6f70f30f4 ("net/mlx5: add glue for queue query via DevX")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>

> ---
>  drivers/net/mlx5/mlx5_glue.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/mlx5/mlx5_glue.c b/drivers/net/mlx5/mlx5_glue.c
> index b5aab52..58c9a82 100644
> --- a/drivers/net/mlx5/mlx5_glue.c
> +++ b/drivers/net/mlx5/mlx5_glue.c
> @@ -976,7 +976,7 @@
>  			const void *in, size_t inlen,
>  			void *out, size_t outlen)
>  {
> -#ifdef HAVE_IBV_DEVX_ASYNC
> +#ifdef HAVE_IBV_DEVX_OBJ
>  	return mlx5dv_devx_qp_query(qp, in, inlen, out, outlen);  #else
>  	(void)qp;
> --
> 1.8.3.1


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

* Re: [dpdk-dev] [PATCH] net/mlx5: fix use of wrong compilation directive
  2019-10-27 16:04 ` Slava Ovsiienko
@ 2019-10-28  6:57   ` Matan Azrad
  0 siblings, 0 replies; 4+ messages in thread
From: Matan Azrad @ 2019-10-28  6:57 UTC (permalink / raw)
  To: Slava Ovsiienko, Dekel Peled, Shahaf Shuler; +Cc: Ori Kam, dev, stable



From: Slava Ovsiienko
> > -----Original Message-----
> > From: Dekel Peled <dekelp@mellanox.com>
> > Sent: Sunday, October 27, 2019 17:33
> > To: Matan Azrad <matan@mellanox.com>; Slava Ovsiienko
> > <viacheslavo@mellanox.com>; Shahaf Shuler <shahafs@mellanox.com>
> > Cc: Ori Kam <orika@mellanox.com>; dev@dpdk.org; stable@dpdk.org
> > Subject: [PATCH] net/mlx5: fix use of wrong compilation directive
> >
> > Glue function mlx5_glue_devx_qp_query() uses wrong directive
> > HAVE_IBV_DEVX_ASYNC by mistake.
> > This patch replaces the directive to HAVE_IBV_DEVX_OBJ, as required.
> >
> > Fixes: 62d6f70f30f4 ("net/mlx5: add glue for queue query via DevX")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Dekel Peled <dekelp@mellanox.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
> 
> > ---
> >  drivers/net/mlx5/mlx5_glue.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/net/mlx5/mlx5_glue.c
> > b/drivers/net/mlx5/mlx5_glue.c index b5aab52..58c9a82 100644
> > --- a/drivers/net/mlx5/mlx5_glue.c
> > +++ b/drivers/net/mlx5/mlx5_glue.c
> > @@ -976,7 +976,7 @@
> >  			const void *in, size_t inlen,
> >  			void *out, size_t outlen)
> >  {
> > -#ifdef HAVE_IBV_DEVX_ASYNC
> > +#ifdef HAVE_IBV_DEVX_OBJ
> >  	return mlx5dv_devx_qp_query(qp, in, inlen, out, outlen);  #else
> >  	(void)qp;
> > --
> > 1.8.3.1


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

* Re: [dpdk-dev] [PATCH] net/mlx5: fix use of wrong compilation directive
  2019-10-27 15:33 [dpdk-dev] [PATCH] net/mlx5: fix use of wrong compilation directive Dekel Peled
  2019-10-27 16:04 ` Slava Ovsiienko
@ 2019-10-29  8:34 ` Raslan Darawsheh
  1 sibling, 0 replies; 4+ messages in thread
From: Raslan Darawsheh @ 2019-10-29  8:34 UTC (permalink / raw)
  To: Dekel Peled, Matan Azrad, Slava Ovsiienko, Shahaf Shuler
  Cc: Ori Kam, dev, stable

Hi,

> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Dekel Peled
> Sent: Sunday, October 27, 2019 5:33 PM
> To: Matan Azrad <matan@mellanox.com>; Slava Ovsiienko
> <viacheslavo@mellanox.com>; Shahaf Shuler <shahafs@mellanox.com>
> Cc: Ori Kam <orika@mellanox.com>; dev@dpdk.org; stable@dpdk.org
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix use of wrong compilation directive
> 
> Glue function mlx5_glue_devx_qp_query() uses wrong directive
> HAVE_IBV_DEVX_ASYNC by mistake.
> This patch replaces the directive to HAVE_IBV_DEVX_OBJ, as required.
> 
> Fixes: 62d6f70f30f4 ("net/mlx5: add glue for queue query via DevX")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Dekel Peled <dekelp@mellanox.com>
> ---


Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

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

end of thread, other threads:[~2019-10-29  8:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-27 15:33 [dpdk-dev] [PATCH] net/mlx5: fix use of wrong compilation directive Dekel Peled
2019-10-27 16:04 ` Slava Ovsiienko
2019-10-28  6:57   ` Matan Azrad
2019-10-29  8:34 ` Raslan Darawsheh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).