* [dpdk-users] QAT PMD in multi-process mode
@ 2019-10-24 16:12 Pathak, Pravin
2019-10-24 17:02 ` Trahe, Fiona
0 siblings, 1 reply; 3+ messages in thread
From: Pathak, Pravin @ 2019-10-24 16:12 UTC (permalink / raw)
To: users
Hi -
In multi-process model, if same QAT VF is shared between two processes which are spawned from separate executables, primary process give segfault while accessing QAT functions.
It looks like PMD installs access functions in shared area so when secondary process changes those function pointers, they are no longer valid in primary process.
Is QAT PMD going to modified to support this mode in future?
Regards
Pravin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] QAT PMD in multi-process mode
2019-10-24 16:12 [dpdk-users] QAT PMD in multi-process mode Pathak, Pravin
@ 2019-10-24 17:02 ` Trahe, Fiona
2019-10-24 17:28 ` Pathak, Pravin
0 siblings, 1 reply; 3+ messages in thread
From: Trahe, Fiona @ 2019-10-24 17:02 UTC (permalink / raw)
To: Pathak, Pravin, users; +Cc: Trahe, Fiona
Hi Pravin,
> -----Original Message-----
> From: users <users-bounces@dpdk.org> On Behalf Of Pathak, Pravin
> Sent: Thursday, October 24, 2019 5:12 PM
> To: users@dpdk.org
> Subject: [dpdk-users] QAT PMD in multi-process mode
>
> Hi -
> In multi-process model, if same QAT VF is shared between two processes which are spawned from
> separate executables, primary process give segfault while accessing QAT functions.
> It looks like PMD installs access functions in shared area so when secondary process changes those
> function pointers, they are no longer valid in primary process.
>
http://doc.dpdk.org/guides/cryptodevs/qat.html
states
"Each VF can only be used by one DPDK process. It is not possible to share the same VF across multiple processes, even if these processes are using different acceleration services."
However, we are currently investigating use of a QAT VF in a primary and secondary process - but with some constraints about what can be done in each process, e.g. session init in one process and enqueue/dequeue in the other.
> Is QAT PMD going to modified to support this mode in future?
> Regards
> Pravin
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] QAT PMD in multi-process mode
2019-10-24 17:02 ` Trahe, Fiona
@ 2019-10-24 17:28 ` Pathak, Pravin
0 siblings, 0 replies; 3+ messages in thread
From: Pathak, Pravin @ 2019-10-24 17:28 UTC (permalink / raw)
To: Trahe, Fiona, users
Hi Fiona -
Thanks. We are thinking of usage where one process only enqueues and other only dequeues over shared VF.
Regards
Pravin
-----Original Message-----
From: Trahe, Fiona
Sent: Thursday, October 24, 2019 1:03 PM
To: Pathak, Pravin <pravin.pathak@intel.com>; users@dpdk.org
Cc: Trahe, Fiona <fiona.trahe@intel.com>
Subject: RE: QAT PMD in multi-process mode
Hi Pravin,
> -----Original Message-----
> From: users <users-bounces@dpdk.org> On Behalf Of Pathak, Pravin
> Sent: Thursday, October 24, 2019 5:12 PM
> To: users@dpdk.org
> Subject: [dpdk-users] QAT PMD in multi-process mode
>
> Hi -
> In multi-process model, if same QAT VF is shared between two processes
> which are spawned from separate executables, primary process give segfault while accessing QAT functions.
> It looks like PMD installs access functions in shared area so when
> secondary process changes those function pointers, they are no longer valid in primary process.
>
http://doc.dpdk.org/guides/cryptodevs/qat.html
states
"Each VF can only be used by one DPDK process. It is not possible to share the same VF across multiple processes, even if these processes are using different acceleration services."
However, we are currently investigating use of a QAT VF in a primary and secondary process - but with some constraints about what can be done in each process, e.g. session init in one process and enqueue/dequeue in the other.
> Is QAT PMD going to modified to support this mode in future?
> Regards
> Pravin
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-24 17:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-24 16:12 [dpdk-users] QAT PMD in multi-process mode Pathak, Pravin
2019-10-24 17:02 ` Trahe, Fiona
2019-10-24 17:28 ` Pathak, Pravin
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).