From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f51.google.com (mail-vk0-f51.google.com [209.85.213.51]) by dpdk.org (Postfix) with ESMTP id CE64F5F1F for ; Fri, 8 Jun 2018 18:04:59 +0200 (CEST) Received: by mail-vk0-f51.google.com with SMTP id d74-v6so8256266vke.10 for ; Fri, 08 Jun 2018 09:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=tSohJXmSAjLnQ560FmUmIQxLy57U7j+95UpLLQUVABE=; b=P9K3G5/kcOAwUjBFsG5PczsB+GfGiqQxvtqtM2I3YLIpxBTrE3FmOGOcdA+8SiItY5 rYuaIxOeBgnWQTKEKd8lCTQOY/kqP06OMuxyF01RBTRByfvLim50fwiOO7HZZPJLb7c9 1c8uPNITVm/NaLYj996MjUSAWjt+f80BWNBgWfhgWQ/jlGB+GhJxhwjgvnldKuTD/Jum fnNT37wbkmRTeN0H6MzV7Sh6aVYuH+B1G7GWoOjdxceg4wzpDzygDYmt53+dPAEevk27 nB72tQlwYdShLQVNeoXvq7uhCPkPGZEQIbxLBWNE/pvvle/xWM0ddRHAW3Tky54LWYf1 ymVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=tSohJXmSAjLnQ560FmUmIQxLy57U7j+95UpLLQUVABE=; b=APqvegVs/c5qKTbWRAZshe/N5cgHeI/QzhXcC1StCX6MFsi3IcI8aLxKaV+g6Z/0lD jI87Hsw1tcFBGB9LYOIZHyT8Rj9YwNNgagpofF/pWOfWavHjzIeAvwEbILjS66Lcs9if sY/eBgpv41Q108AuIqQ4gAQJ6BNSEdz6Z2C3q2jD5gUbxb6sdXavf4rrl9TLD0/4y2Dm A6/nj69g65c922j1e5cDllo6DJ/iGNcAJo9BKiyhGuGSCQ9zPy6QcLH4HAcR7xR3sNFw oaTbHzeynIQwzKlL13BKUCyg3nY2hFfrQPhOG7I/uOe3ioTPHGim3HyhGZsncFmtySuC aOSg== X-Gm-Message-State: APt69E27icfTcuuC+GHPO2cqz5yPtIcExU5b3EsP7oFLYuo0lP2dcAR2 LUZTFLiWLC6dbj6zG5oVtekx+/kDpGO3bq/F5PI= X-Google-Smtp-Source: ADUXVKLanthdzoo4nyR6ELtMbAqTGwgWMu8ok3ng/1HDpn7Ff9OLeu3Symaonqt1GZdinOAFMVHfsVKWc2mO4XOn0M4= X-Received: by 2002:a1f:d285:: with SMTP id j127-v6mr4241802vkg.7.1528473899081; Fri, 08 Jun 2018 09:04:59 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:1d42:0:0:0:0:0 with HTTP; Fri, 8 Jun 2018 09:04:58 -0700 (PDT) In-Reply-To: References: From: Monika Mails Date: Fri, 8 Jun 2018 09:04:58 -0700 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Fwd: rte_mempool_create( ) fails at rte_mempool_set_ops_byname () for name ring_mp_mc 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: , X-List-Received-Date: Fri, 08 Jun 2018 16:05:00 -0000 Hi All, I am running DPDK version 18.05 While running the binaries I see DPDK is failing in initialization, I checked after putting some logs and found that it is failing at API *rte_mempool_set_ops_byname* () when it tries to read and compare rte_mempool_ops_table, highlighted below. /* sets mempool ops previously registered by rte_mempool_register_ops. */ int rte_mempool_set_ops_byname(struct rte_mempool *mp, const char *name, void *pool_config) { struct rte_mempool_ops *ops = NULL; unsigned i; /* too late, the mempool is already populated. */rte_mempool_ops_table if (mp->flags & MEMPOOL_F_POOL_CREATED) return -EEXIST; * for (i = 0; i < rte_mempool_ops_table.num_ops; i++) { if (!strcmp(name, rte_mempool_ops_table.ops[i].name)) { ops = &rte_mempool_ops_table.ops[i]; break; } }* if (ops == NULL) return -EINVAL; mp->ops_index = i; mp->pool_config = pool_config; return 0; } Can someone from Dev team please explain what is wrong here , why *rte_mempool_ops_table* is not initialized before using it. Here are the logs for DPDK run :- 1528317826.271857934 CoordinatorMain.cc:96 in main NOTICE[1]: Command line: /home/homa/platformlab/RAMCloud/obj.05302018_dpdk/coordinator -C basic+udp:host=10.10.10.14,port=12246 -l NOTICE --logFile logs/20180606154345/coordinator.homa4.log --dpdkPort 0 --configDir config 1528317826.271878426 CoordinatorMain.cc:97 in main NOTICE[1]: Coordinator process id: 4426 1528317826.271935304 DpdkDriver.cc:146 in DpdkDriver NOTICE[1]: Using DPDK version DPDK 18.05.0 1528317826.274933336 FileLogger.cc:100 in write NOTICE[1]: DPDK: EAL: Detected 32 lcore(s) 1528317826.274950808 FileLogger.cc:100 in write NOTICE[1]: DPDK: EAL: Detected 4 NUMA nodes 1528317826.275127489 FileLogger.cc:100 in write NOTICE[1]: DPDK: EAL: Multi-process socket /var/run/dpdk/homa4/mp_socket 1528317826.276794732 FileLogger.cc:100 in write NOTICE[1]: DPDK: EAL: Probing VFIO support... 1528317826.276839798 FileLogger.cc:100 in write NOTICE[1]: DPDK: EAL: VFIO support initialized 1528317826.630989301 CoordinatorMain.cc:153 in main ERROR[1]: Fatal error in coordinator at ???: RAMCloud::DriverException: Failed to allocate memory for packet buffers: No such file or directory, thrown at DpdkDriver at src/DpdkDriver.cc:172 Regards, Monika