> -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Nidhia Varghese > Sent: Friday, May 26, 2017 11:34 AM > To: us...@dpdk.org; dev@dpdk.org > Subject: [dpdk-dev] Adding a new pipeline type in IP_PIPELINE application > > Hi all, > > I have included a new pipeline type (*.c, *.h, *_be.c, *_be.h files inside > /dpdk/examples/ip_pipeline/pipeline folder). But while running a config > file which uses this newly created pipeline type, its showing error. During > debugging I found that app->n_pipeline_types still returns 6 (actually it > should return 7 so as it has included newly created pipeline type). Do I > have to make changes anywhere regarding the newly created pipeline? > > -- > > Regards, > Nidhia Varghese
Yes, the pipeline files are not drop in & forget. You need to register a new pipeline: search for an existing pipeline (e.g. firewall) in init.c to see how this is done.