All of lore.kernel.org
 help / color / mirror / Atom feed
* [SPDK] SPDK environment initialization from a DPDK application
@ 2018-11-30  7:55 Nalla, Pradeep
  0 siblings, 0 replies; 2+ messages in thread
From: Nalla, Pradeep @ 2018-11-30  7:55 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

Hello

I got a requirement of a DPDK application that forwards packets and also handle NVMe commands. As the DPDK's EAL is already initialized
by the forwarding application, calling rte_eal_init again in the spdk_env_init is causing issue with rte_error being set to EALREADY. Is there
a way for the env_dpdk library of SPDK to consider an already initialized DPDK.

Thanks
Pradeep.

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

* Re: [SPDK] SPDK environment initialization from a DPDK application
@ 2018-11-30 15:59 Harris, James R
  0 siblings, 0 replies; 2+ messages in thread
From: Harris, James R @ 2018-11-30 15:59 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]



On 11/30/18, 8:29 AM, "SPDK on behalf of Nalla, Pradeep" <spdk-bounces(a)lists.01.org on behalf of Pradeep.Nalla(a)cavium.com> wrote:

    Hello
    
    I got a requirement of a DPDK application that forwards packets and also handle NVMe commands. As the DPDK's EAL is already initialized
    by the forwarding application, calling rte_eal_init again in the spdk_env_init is causing issue with rte_error being set to EALREADY. Is there
    a way for the env_dpdk library of SPDK to consider an already initialized DPDK.

Hi Pradeep,

There's no way to do that currently, but it's a very reasonable request.  Would you mind adding an issue in GitHub for this?  Since it's an enhancement request, there's no need to fill out the template - adding what you have here is sufficient.

http://github.com/spdk/spdk/issues

I'll add some comments on how it might be implemented in SPDK once the issue is filed.

Thanks,

-Jim

    
    Thanks
    Pradeep.
    _______________________________________________
    SPDK mailing list
    SPDK(a)lists.01.org
    https://lists.01.org/mailman/listinfo/spdk
    


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

end of thread, other threads:[~2018-11-30 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-30  7:55 [SPDK] SPDK environment initialization from a DPDK application Nalla, Pradeep
2018-11-30 15:59 Harris, James R

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.