[dpdk-users] [dpdk-dev] Fwd: Sharing tables among pipelines

Dumitrescu, Cristian cristian.dumitrescu at intel.com
Tue May 16 12:12:00 CEST 2017

Thanks Shyam, great to see that people get the idea behind this design! Regards, Cristian

From: Shyam Shrivastav [mailto:shrivastav.shyam at gmail.com]
Sent: Wednesday, May 10, 2017 5:14 PM
To: Nidhia Varghese <nidhiavarghese93 at gmail.com>
Cc: Dumitrescu, Cristian <cristian.dumitrescu at intel.com>; Singh, Jasvinder <jasvinder.singh at intel.com>; dev at dpdk.org; users at dpdk.org
Subject: Re: [dpdk-users] [dpdk-dev] Fwd: Sharing tables among pipelines

Something I have gathered reading through code if it helps, ip_pipeline is designed such that user side cli (_fe) runs in master pipeline and sends conf requests to various other packet processing pipelines (_be) which handle such requests at intervals. These can run on same or different threads(cores) as per conf, no locking requirement as table-updation & table-reading (packet processing) always happens in same pipeline so always same thread. Master pipeline can be configured to run on a separate core & it should be the case, but table updation happens in pipeline thread only at lower priority.

On Tue, May 9, 2017 at 11:29 PM, Nidhia Varghese <nidhiavarghese93 at gmail.com<mailto:nidhiavarghese93 at gmail.com>> wrote:
Hi all,

Thanks for your reply.

As given in the link(3rd point), what I need is single writer
thread(pipeline) performing table entry add/delete operations and another
thread(which is in turn another pipeline) that performs lookup operations
to the same table entries.

Nidhia Varghese

More information about the users mailing list