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 F064CA0564 for ; Tue, 24 Mar 2020 06:17:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 405C21C0AB; Tue, 24 Mar 2020 06:17:20 +0100 (CET) Received: from smtpbgsg3.qq.com (smtpbgsg3.qq.com [54.179.177.220]) by dpdk.org (Postfix) with ESMTP id 206351C07E for ; Tue, 24 Mar 2020 06:17:16 +0100 (CET) X-QQ-mid: bizesmtp19t1585026966tbwunhq4 Received: from DESKTOPDQ7VDGF (unknown [202.106.72.206]) by esmtp10.qq.com (ESMTP) with id ; Tue, 24 Mar 2020 13:16:05 +0800 (CST) X-QQ-SSF: 00400000002000C0G430B00A0000000 X-QQ-FEAT: Dw8+osHHvAbPcUVg0rX+/gzEVV4mjh/eNw3ePiqOqWRyR85pRCSt7PENSNo9i KEDphde0hawOjWWI2dzJ4Y5smRHMJq3CM/SijlpPUwNCy2gK9a+Kxu8cNTQ79yO8ZR4Au8C vjV13mSYxX5CiZZeBwsnXRzkQBYwIok+UNgBVtdtjtkVZomaD3TvW1imFo1hoy9gnCqM2Gj jxvbDKoy33kibsTf2rbp2anpFQxMoa3q5o9a9e0wN1NJNSN5Lwi0ydTSo3fJ7OIkLT1XVfJ 4PtgUO8J9Ql+srPx5qK/TWJTEysgNte4/Q5YqaXbtx7rglVMLvboBk2x+/4ulXKADI6O7Sj liV6rSyAYtlgUtXHAiskC8BWwqh1A== X-QQ-GoodBg: 2 From: =?gb2312?B?y8693Q==?= To: "'users'" , "'Stephen Hemminger'" , "'Van Haaren, Harry'" Date: Tue, 24 Mar 2020 13:16:04 +0800 Message-ID: <000001d6019b$519bec20$f4d3c460$@zctt.com>+C7981C25CE3229DA MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdYBmj5xRgN9nW3CTRuxhpkTUmRYYg== Content-Language: en-us X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:zctt.com:qybgforeign:qybgforeign7 X-QQ-Bgrelay: 1 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] ojectes from the mempool are disorderd by rte_mempool_generic_get 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 all, =20 =20 I created a packet mbuf pool (rte_pktmbuf_pool_create) for saving some packets, And using rte_mempool_obj_iter for put hundreds of packets = (from a pcap file) into the packet pool. =20 Finally I need to get ten packets from the packet pool. If I call rte_mempool_generic_get for one packet each time, and try 10 times, then I can get ten packets in correct order; But if call rte_mempool_generic_get for ten packets one time, then these = ten packets are disordered. =20 So using rte_mempool_generic_get for getting multi objects, it will = return disorder objects from the mbuf pool?=20 If there=A1=AFs any other way for can get objects from the mempool = orderly =20 I used DPDK18.05 =20 Thanks =20 Jie =20