[dpdk-users] Need help with dpdk ip pipelining

Singh, Jasvinder jasvinder.singh at intel.com
Tue Apr 5 11:04:30 CEST 2016


HI Biju,

> -----Original Message-----
> From: users [mailto:users-bounces at dpdk.org] On Behalf Of Talukdar, Biju
> Sent: Monday, April 4, 2016 11:33 PM
> To: users <users at dpdk.org>
> Cc: Talukdar, Biju <Biju_Talukdar at student.uml.edu>
> Subject: [dpdk-users] Need help with dpdk ip pipelining
> 
> Hi all,
> 
> 
> I have two questions. Could someone in the community please help. I really
> look forward to some guidance in these direction.
> 
> 
>     First,I have a application which implements a measurement sketch. I want
> to accelerate it with using dpdk ip pipelining application. But as I read through
> the guide in dpdk.org, I realized that it has hard pipelines for say  Rx-> flow
> classification - > ip routing -> traffic manager -> Tx. Could anyone please
> explain me how could I integrate my application in one of the pipeline. Is it
> even possible. Please help.

What do you mean by hard pipelines?  IP Pipeline application consists of reusable modules (pipeline blocks) which implement data plane functionalities such as flow classification,  routing, firewall etc. These modules are implemented using dpdk packet framework libraries (librte_port/table, librte_pipeline). In configuration file, depending upon the application, we specify various parameters of the pipeline modules such as ports (in/out), tables, core affinity, and their connectivity with each other as you can see . You can pick any pipeline module if it exists to build your application or you can implement any specific pipeline in a way existing pipeline modules have been implemented.
Please see sample configuration files such as l2fwd.cfg, l3fwd.cfg (dpdk/examples/ip_pipeline/config) to get more idea on ip pipeline application. Some other configuration files illustrate the use of various pipeline modules towards building edge router upstream /downstream packet processing workload.
 
>     Second, I want to use a dpdk application which can schedule packets to
> different VMs depending upon the src ip (or some logic, which is
> programmable).Is there any dpdk application available which I can use and
> modify in some way to use for the purpose. I have used OVS-DPDK for this
> purpose before. But here I  am looking for a lightweight dpdk application.
> Another condition need to be made is once I schedule  and direct a packet to
> a VM, it should be steered through usersapce only. Any pointers in this
> direction will be very helpful.

Please see load balancer sample application if it suits to your scenario. 

> keep hacking
> 
> Biju


More information about the users mailing list