DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/2] net/mlx5: fix errno object in probe code (minor)
@ 2018-05-24 12:17 Adrien Mazarguil
  2018-05-24 12:17 ` [dpdk-dev] [PATCH 2/2] net/mlx5: fix missing errno " Adrien Mazarguil
  2018-05-24 18:30 ` [dpdk-dev] [PATCH 1/2] net/mlx5: fix errno object " Yongseok Koh
  0 siblings, 2 replies; 5+ messages in thread
From: Adrien Mazarguil @ 2018-05-24 12:17 UTC (permalink / raw)
  To: Shahaf Shuler; +Cc: dev, Nélio Laranjeiro

Fixes: a6d83b6a9209 ("net/mlx5: standardize on negative errno values")
Cc: Nélio Laranjeiro <nelio.laranjeiro@6wind.com>

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
---
 drivers/net/mlx5/mlx5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index 8d1c2347e..bbe78de28 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -1058,7 +1058,7 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
 			DRV_LOG(ERR,
 				"port %u cannot get MAC address, is mlx5_en"
 				" loaded? (errno: %s)",
-				eth_dev->data->port_id, strerror(errno));
+				eth_dev->data->port_id, strerror(rte_errno));
 			err = ENODEV;
 			goto port_error;
 		}
-- 
2.11.0

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

* [dpdk-dev] [PATCH 2/2] net/mlx5: fix missing errno in probe code (minor)
  2018-05-24 12:17 [dpdk-dev] [PATCH 1/2] net/mlx5: fix errno object in probe code (minor) Adrien Mazarguil
@ 2018-05-24 12:17 ` Adrien Mazarguil
  2018-05-24 18:30   ` Yongseok Koh
  2018-05-24 18:30 ` [dpdk-dev] [PATCH 1/2] net/mlx5: fix errno object " Yongseok Koh
  1 sibling, 1 reply; 5+ messages in thread
From: Adrien Mazarguil @ 2018-05-24 12:17 UTC (permalink / raw)
  To: Shahaf Shuler; +Cc: dev, Xueming Li

Fixes: b43802b4bdfe ("net/mlx5: support 16 hardware priorities")
Cc: Xueming Li <xuemingl@mellanox.com>

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
---
 drivers/net/mlx5/mlx5.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index bbe78de28..36d72f757 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -1141,6 +1141,7 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
 		if (verb_priorities < MLX5_VERBS_FLOW_PRIO_8) {
 			DRV_LOG(ERR, "port %u wrong Verbs flow priorities: %u",
 				eth_dev->data->port_id, verb_priorities);
+			err = ENOTSUP;
 			goto port_error;
 		}
 		priv->config.max_verbs_prio = verb_priorities;
-- 
2.11.0

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

* Re: [dpdk-dev] [PATCH 1/2] net/mlx5: fix errno object in probe code (minor)
  2018-05-24 12:17 [dpdk-dev] [PATCH 1/2] net/mlx5: fix errno object in probe code (minor) Adrien Mazarguil
  2018-05-24 12:17 ` [dpdk-dev] [PATCH 2/2] net/mlx5: fix missing errno " Adrien Mazarguil
@ 2018-05-24 18:30 ` Yongseok Koh
  2018-06-17  8:05   ` Shahaf Shuler
  1 sibling, 1 reply; 5+ messages in thread
From: Yongseok Koh @ 2018-05-24 18:30 UTC (permalink / raw)
  To: Adrien Mazarguil; +Cc: Shahaf Shuler, dev, Nélio Laranjeiro


> On May 24, 2018, at 5:17 AM, Adrien Mazarguil <adrien.mazarguil@6wind.com> wrote:
> 
> Fixes: a6d83b6a9209 ("net/mlx5: standardize on negative errno values")
> Cc: Nélio Laranjeiro <nelio.laranjeiro@6wind.com>
> 
> Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
> ---
Acked-by: Yongseok Koh <yskoh@mellanox.com>
 
Thanks

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

* Re: [dpdk-dev] [PATCH 2/2] net/mlx5: fix missing errno in probe code (minor)
  2018-05-24 12:17 ` [dpdk-dev] [PATCH 2/2] net/mlx5: fix missing errno " Adrien Mazarguil
@ 2018-05-24 18:30   ` Yongseok Koh
  0 siblings, 0 replies; 5+ messages in thread
From: Yongseok Koh @ 2018-05-24 18:30 UTC (permalink / raw)
  To: Adrien Mazarguil; +Cc: Shahaf Shuler, dev, Xueming(Steven) Li


> On May 24, 2018, at 5:17 AM, Adrien Mazarguil <adrien.mazarguil@6wind.com> wrote:
> 
> Fixes: b43802b4bdfe ("net/mlx5: support 16 hardware priorities")
> Cc: Xueming Li <xuemingl@mellanox.com>
> 
> Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
> ---
Acked-by: Yongseok Koh <yskoh@mellanox.com>
 
Thanks

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

* Re: [dpdk-dev] [PATCH 1/2] net/mlx5: fix errno object in probe code (minor)
  2018-05-24 18:30 ` [dpdk-dev] [PATCH 1/2] net/mlx5: fix errno object " Yongseok Koh
@ 2018-06-17  8:05   ` Shahaf Shuler
  0 siblings, 0 replies; 5+ messages in thread
From: Shahaf Shuler @ 2018-06-17  8:05 UTC (permalink / raw)
  To: Yongseok Koh, Adrien Mazarguil; +Cc: dev, Nélio Laranjeiro

Thursday, May 24, 2018 9:31 PM, Yongseok Koh:
> Subject: Re: [dpdk-dev] [PATCH 1/2] net/mlx5: fix errno object in probe code
> (minor)
> 
> 
> > On May 24, 2018, at 5:17 AM, Adrien Mazarguil
> <adrien.mazarguil@6wind.com> wrote:
> >
> > Fixes: a6d83b6a9209 ("net/mlx5: standardize on negative errno values")
> > Cc: Nélio Laranjeiro <nelio.laranjeiro@6wind.com>
> >
> > Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
> > ---
> Acked-by: Yongseok Koh <yskoh@mellanox.com>

Series applied to next-net-mlx, thanks. 

> 
> Thanks

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

end of thread, other threads:[~2018-06-17  8:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-24 12:17 [dpdk-dev] [PATCH 1/2] net/mlx5: fix errno object in probe code (minor) Adrien Mazarguil
2018-05-24 12:17 ` [dpdk-dev] [PATCH 2/2] net/mlx5: fix missing errno " Adrien Mazarguil
2018-05-24 18:30   ` Yongseok Koh
2018-05-24 18:30 ` [dpdk-dev] [PATCH 1/2] net/mlx5: fix errno object " Yongseok Koh
2018-06-17  8:05   ` Shahaf Shuler

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).