From: Bruce Richardson <bruce.richardson@intel.com>
To: Alejandro Lucero <alejandro.lucero@netronome.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] nfp: add flag for enabling device hotplug
Date: Tue, 3 May 2016 15:54:38 +0100 [thread overview]
Message-ID: <20160503145438.GB23604@bricha3-MOBL3> (raw)
In-Reply-To: <1461676225-24248-1-git-send-email-alejandro.lucero@netronome.com>
On Tue, Apr 26, 2016 at 02:10:25PM +0100, Alejandro Lucero wrote:
> RTE_PCI_DRV_DETACHABLE is required for detaching a device
> during execution.
>
> Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
> ---
> drivers/net/nfp/nfp_net.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c
> index 1259d2c..ea5a2a3 100644
> --- a/drivers/net/nfp/nfp_net.c
> +++ b/drivers/net/nfp/nfp_net.c
> @@ -2466,7 +2466,8 @@ static struct eth_driver rte_nfp_net_pmd = {
> {
> .name = "rte_nfp_net_pmd",
> .id_table = pci_id_nfp_net_map,
> - .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC,
> + .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC |
> + RTE_PCI_DRV_DETACHABLE,
> },
> .eth_dev_init = nfp_net_init,
> .dev_private_size = sizeof(struct nfp_net_adapter),
> --
> 1.9.1
>
Applied to dpdk-next-net/rel_16_07
/Bruce
prev parent reply other threads:[~2016-05-03 14:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 13:10 Alejandro Lucero
2016-05-03 14:54 ` Bruce Richardson [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=20160503145438.GB23604@bricha3-MOBL3 \
--to=bruce.richardson@intel.com \
--cc=alejandro.lucero@netronome.com \
--cc=dev@dpdk.org \
/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).