From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3BDEFA328D for ; Wed, 23 Oct 2019 07:52:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 96A581BF6D; Wed, 23 Oct 2019 07:52:26 +0200 (CEST) Received: from mail-ua1-f43.google.com (mail-ua1-f43.google.com [209.85.222.43]) by dpdk.org (Postfix) with ESMTP id 25C621BF69 for ; Wed, 23 Oct 2019 07:52:25 +0200 (CEST) Received: by mail-ua1-f43.google.com with SMTP id i13so5657173uaq.7 for ; Tue, 22 Oct 2019 22:52:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9H6tijy5ioA6TaSgqSIkKBc8eFMoRcZ4x/PnTqCu/fI=; b=jPY/esIMk3D+m/WF2MwBY/X/Bqd3Vw7hmMQTo8QfhV0Yz4ERagyEA6YObhhMyq6ffx mEwwT5MNWPSPMFJg01YkR4NRN2+0JWhUD7ztpH04EiLecHrEW0HJYMLd8Rg0yGFWzE5M ki6oQ47UdGi9pD3yi3yE6LdWeOm6oWhJlnEPpNRg+e011KpX7b3T47rnI8Am4bIFxGUr j2hVX8Q6/Ah+SC8wX9p31bEF0cigcthN5k/YlOe3/8yO15sI6fM0H4UgL4HL62FiOD98 XSoe9wwmkdEDXak7cJ/21LeSGLdj0OOPjz8Sw5UFiwJGTt6SDT4IVW/mNbjHzGskG+cx n0hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9H6tijy5ioA6TaSgqSIkKBc8eFMoRcZ4x/PnTqCu/fI=; b=bcnHrwHPwvKKWY7XNBd3pjC8xuGI0m2eIxHh/0PKPFAewuMkQQ3TFXqTq5+Vyxmbqd /ifhH852+EqxDNSZkWLT0JJe7JKwxG/ty9xsDTybFec7EDmhQM+cfrqUw7Rl5G8TYSm0 j1M6gCkVbOeq8W55q7VH2FmWwLeyS7yarA2MkrrGAONALCgNNQtaX/gAP5dtaNZmM9mh FguxCUOQu8C6v4AxpxS7ivMiRDtOybkdYX2lvVMkeOMFCeYL6rtgTJhCnWY50ACScWq+ 8q+U0R33Ozo/sRn3noGv4fLOawblg0yuKHV7V1kuaN1B1cR3RhnkMuXS2Yyq/UUTjMa7 fnfw== X-Gm-Message-State: APjAAAWaPX2eALUJXcEv1kytIavvpjKGGw7li8kCIyyeBcMF4QLE+Q7v N4OJsNOwPSinBc5FER9pKRzC90UhFXgeckG3gNZXk0Sb X-Google-Smtp-Source: APXvYqyHEafxhVAM+j74QLP1xanFQKC/5nV14T9zBMkA9C5NmQt/jkxIvhPdKVSHqmEt1eyJAZ/gDo0xEfV2FIglbsk= X-Received: by 2002:ab0:1ec3:: with SMTP id p3mr4150213uak.28.1571809944157; Tue, 22 Oct 2019 22:52:24 -0700 (PDT) MIME-Version: 1.0 From: Gadre Nayan Date: Wed, 23 Oct 2019 11:22:57 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: [dpdk-users] Using preallocated mempool in pipeline X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, My cli config looks like the following: App.cli mempool MEMPOOL0 buffer 16384 pool 32K cache 256 cpu 0 If i wanted to use this MEMPOOL0 in my pipeline I would use the following config: pipeline INGRESS port in bsz 32 source mempool MEMPOOL0 file bpp I am not clear about the file bpp options. Please suggest. I am creating a pipeline which would generate packets instead of using actual physical ports like LINK RXQ. I can dynamically create a mempool using mbuf_pool = rte_pktmbuf_pool_create("MEMPOOL0", NUM_MBUFS * nb_ports, MBUF_CACHE_SIZE, 0, RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id()); However, I would like to create one at configuration time and associate it with a pipeline. How can I achieve this using the configuration file options. Thanks G