DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/3] eventdev fixes to set positive rte_errno
@ 2019-07-04 10:03 Andrew Rybchenko
  2019-07-04 10:03 ` [dpdk-dev] [PATCH 1/3] eventdev: fix " Andrew Rybchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Andrew Rybchenko @ 2019-07-04 10:03 UTC (permalink / raw)
  To: Jerin Jacob; +Cc: dev

rte_errno values should be positive, but there are many places where
negative value is set or simply reused from function return value
which has negative errno for error condition indication.

Dilshod Urazov (3):
  eventdev: fix to set positive rte_errno
  event/sw: fix to set positive rte_errno
  event/opdl: fix to set positive rte_errno

 drivers/event/opdl/opdl_evdev.c                | 10 +++++-----
 drivers/event/opdl/opdl_evdev_init.c           | 12 ++++++------
 drivers/event/opdl/opdl_ring.c                 |  2 +-
 drivers/event/sw/sw_evdev.c                    |  8 ++++----
 lib/librte_eventdev/rte_event_eth_tx_adapter.h |  8 ++++----
 lib/librte_eventdev/rte_event_timer_adapter.c  | 18 +++++++++---------
 lib/librte_eventdev/rte_eventdev.c             | 16 ++++++++--------
 lib/librte_eventdev/rte_eventdev.h             | 26 +++++++++++++-------------
 8 files changed, 50 insertions(+), 50 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [dpdk-dev] [PATCH 1/3] eventdev: fix to set positive rte_errno
@ 2019-07-07 11:26 Jerin Jacob Kollanukkaran
  0 siblings, 0 replies; 11+ messages in thread
From: Jerin Jacob Kollanukkaran @ 2019-07-07 11:26 UTC (permalink / raw)
  To: Andrew Rybchenko, Nikhil Rao, Erik Gabriel Carrillo
  Cc: dev, Dilshod Urazov, stable

> -----Original Message-----
> From: Andrew Rybchenko <arybchenko@solarflare.com>
> Sent: Thursday, July 4, 2019 3:34 PM
> To: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Nikhil Rao
> <nikhil.rao@intel.com>; Erik Gabriel Carrillo <erik.g.carrillo@intel.com>
> Cc: dev@dpdk.org; Dilshod Urazov <Dilshod.Urazov@oktetlabs.ru>;
> stable@dpdk.org
> Subject: [EXT] [PATCH 1/3] eventdev: fix to set positive rte_errno
> From: Dilshod Urazov <Dilshod.Urazov@oktetlabs.ru>
> 
> Fixes: c9bf83947e2e ("eventdev: add eth Tx adapter APIs")
> Fixes: 47d05b292820 ("eventdev: add timer adapter common code")
> Fixes: 6750b21bd6af ("eventdev: add default software timer adapter")
> Fixes: c75f7897ea35 ("eventdev: set error code in port link/unlink functions")
> Fixes: 7d1acc9dde93 ("eventdev: introduce helper function for enqueue burst")
> Fixes: 406aed4e0dd9 ("eventdev: add errno-style return values")
> Fixes: c64e1b7b20d2 ("eventdev: add new software event timer adapter")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Dilshod Urazov <Dilshod.Urazov@oktetlabs.ru>
> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>

Acked-by: Jerin Jacob <jerinj@marvell.com>

Series applied to dpdk-next-eventdev/master. Thanks.

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

end of thread, other threads:[~2019-07-07 11:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-04 10:03 [dpdk-dev] [PATCH 0/3] eventdev fixes to set positive rte_errno Andrew Rybchenko
2019-07-04 10:03 ` [dpdk-dev] [PATCH 1/3] eventdev: fix " Andrew Rybchenko
2019-07-04 11:34   ` [dpdk-dev] [dpdk-stable] " David Marchand
2019-07-04 11:56     ` Andrew Rybchenko
2019-07-04 11:58       ` David Marchand
2019-07-04 12:13         ` [dpdk-dev] [EXT] " Jerin Jacob Kollanukkaran
2019-07-04 10:03 ` [dpdk-dev] [PATCH 2/3] event/sw: " Andrew Rybchenko
2019-07-04 10:43   ` Van Haaren, Harry
2019-07-04 10:03 ` [dpdk-dev] [PATCH 3/3] event/opdl: " Andrew Rybchenko
2019-07-04 11:41   ` David Marchand
2019-07-07 11:26 [dpdk-dev] [PATCH 1/3] eventdev: " Jerin Jacob Kollanukkaran

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