From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Andrew Rybchenko <arybchenko@solarflare.com>,
Neil Horman <nhorman@tuxdriver.com>,
John McNamara <john.mcnamara@intel.com>,
Marko Kovacevic <marko.kovacevic@intel.com>,
Stephen Hemminger <sthemmin@microsoft.com>,
"K. Y. Srinivasan" <kys@microsoft.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
Thomas Monjalon <thomas@monjalon.net>
Cc: dev@dpdk.org, Igor Romanov <igor.romanov@oktetlabs.ru>
Subject: Re: [dpdk-dev] [PATCH 1/1] ethdev: change owner delete function return value to int
Date: Tue, 24 Sep 2019 14:48:18 +0100 [thread overview]
Message-ID: <4f2c926c-36a7-a940-4599-39e0a46c2593@intel.com> (raw)
In-Reply-To: <1568106137-22974-2-git-send-email-arybchenko@solarflare.com>
On 9/10/2019 10:02 AM, Andrew Rybchenko wrote:
> From: Igor Romanov <igor.romanov@oktetlabs.ru>
>
> Change rte_eth_dev_owner_delete() return value from void to int
> and return negative errno values in case of error conditions.
>
> Right now there is only one error case for rte_eth_dev_owner_delete() -
> invalid owner, but it still makes sense to return error to catch bugs
> in the code which uses the function.
>
> Also update the usage of the function in drivers/netvsc
> according to the new return type.
>
> Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Applied to dpdk-next-net/master, thanks.
prev parent reply other threads:[~2019-09-24 13:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-10 9:02 [dpdk-dev] [PATCH 0/1] " Andrew Rybchenko
2019-09-10 9:02 ` [dpdk-dev] [PATCH 1/1] " Andrew Rybchenko
2019-09-24 13:48 ` Ferruh Yigit [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4f2c926c-36a7-a940-4599-39e0a46c2593@intel.com \
--to=ferruh.yigit@intel.com \
--cc=arybchenko@solarflare.com \
--cc=dev@dpdk.org \
--cc=haiyangz@microsoft.com \
--cc=igor.romanov@oktetlabs.ru \
--cc=john.mcnamara@intel.com \
--cc=kys@microsoft.com \
--cc=marko.kovacevic@intel.com \
--cc=nhorman@tuxdriver.com \
--cc=sthemmin@microsoft.com \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).