From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id BE6A15934 for ; Fri, 10 Jul 2015 15:14:45 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 10 Jul 2015 06:14:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,446,1432623600"; d="scan'208";a="726433017" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by orsmga001.jf.intel.com with ESMTP; 10 Jul 2015 06:14:43 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.216]) by IRSMSX153.ger.corp.intel.com ([169.254.9.140]) with mapi id 14.03.0224.002; Fri, 10 Jul 2015 14:14:43 +0100 From: "Mcnamara, John" To: "Sanford, Robert" , "Richardson, Bruce" , Thomas Monjalon , "dev@dpdk.org" Thread-Topic: Ethernet API - multiple post-RX-burst callbacks' run-order is opposite to their add-order Thread-Index: AQHQtQq6522JRvZBpUKYMH/FZfH73Z3UuZCQ Date: Fri, 10 Jul 2015 13:14:41 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] Ethernet API - multiple post-RX-burst callbacks' run-order is opposite to their add-order X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2015 13:14:46 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Sanford, Robert > Sent: Thursday, July 2, 2015 10:05 PM > To: Richardson, Bruce; Thomas Monjalon; dev@dpdk.org > Subject: [dpdk-dev] Ethernet API - multiple post-RX-burst callbacks' run- > order is opposite to their add-order >=20 > When one adds multiple post-RX-burst callbacks to a queue, their executio= n > order is the opposite of the order in which they are added. Hi, I think you are right and that the current order of execution for callbacks= is counter-intuitive. I've submitted a patch to fix the order: http://dpdk.org/dev/patchwork/patch/6300/ If the patch is accepted I'll add a note to the release notes also. John. --=20