From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from prod-mail-xrelay06.akamai.com (prod-mail-xrelay06.akamai.com [96.6.114.98]) by dpdk.org (Postfix) with ESMTP id 83B862B9B for ; Tue, 23 Aug 2016 22:01:58 +0200 (CEST) Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id D80E716D0D2; Tue, 23 Aug 2016 20:01:57 +0000 (GMT) Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id B76C816C955; Tue, 23 Aug 2016 20:01:57 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1471982517; bh=5Xlh8XU+/Aa99Vh4X86+snAN63LmWZAsh+bapHxSzkE=; l=8216; h=From:To:CC:Date:References:In-Reply-To:From; b=fhSIUql3p0P4Ti2hpRCZNc5sasc2SY0lEiY04FGXrd5AE+FcrxR/RBEQiJYH5H9D+ BnxxYLYNpCxlvgpIY5x0yQshK1UguqRMZyYjVJPq12cdgp8lW3xLb15Z0PTLfinNg2 3hWmdE3ow4xTT8MpmzRq2/RsLAe9szd92qZLXsKo= Received: from email.msg.corp.akamai.com (ustx2ex-cas3.msg.corp.akamai.com [172.27.25.32]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id B2CE21E08A; Tue, 23 Aug 2016 20:01:57 +0000 (GMT) Received: from ustx2ex-dag1mb6.msg.corp.akamai.com (172.27.27.107) by ustx2ex-dag1mb6.msg.corp.akamai.com (172.27.27.107) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Tue, 23 Aug 2016 13:01:57 -0700 Received: from ustx2ex-dag1mb6.msg.corp.akamai.com ([172.27.27.107]) by ustx2ex-dag1mb6.msg.corp.akamai.com ([172.27.27.107]) with mapi id 15.00.1178.000; Tue, 23 Aug 2016 13:01:57 -0700 From: "Sanford, Robert" To: Olivier MATZ , "dev@dpdk.org" CC: "declan.doherty@intel.com" , "pablo.de.lara.guarch@intel.com" Thread-Topic: [dpdk-dev] [PATCH 3/4] net/bonding: another fix to LACP mempool size Thread-Index: AQHR/XkzqkF/5Z0R/0q+uJoe/RGg2w== Date: Tue, 23 Aug 2016 20:01:57 +0000 Message-ID: <08CB1F99-B657-44F3-A7DF-7ED6713EDB5C@akamai.com> References: <1470084176-79932-1-git-send-email-rsanford@akamai.com> <1470084176-79932-4-git-send-email-rsanford@akamai.com> <57BC6723.7020106@6wind.com> In-Reply-To: <57BC6723.7020106@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/f.18.0.160709 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.19.35.5] Content-Type: text/plain; charset="utf-8" Content-ID: <89B6CDEE36C67D43A179B81BB5DBB4B9@akamai.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 3/4] net/bonding: another fix to LACP mempool size 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: Tue, 23 Aug 2016 20:01:59 -0000 SGkgT2xpdmllciwNCg0KT24gOC8yMy8xNiwgMTE6MDkgQU0sICJPbGl2aWVyIE1BVFoiIDxvbGl2 aWVyLm1hdHpANndpbmQuY29tPiB3cm90ZToNCg0KICAgIEhpIFJvYmVydCwNCiAgICANCiAgICBP biAwOC8wMS8yMDE2IDEwOjQyIFBNLCBSb2JlcnQgU2FuZm9yZCB3cm90ZToNCiAgICA+IFRoZSBm b2xsb3dpbmcgbG9nIG1lc3NhZ2UgbWF5IGFwcGVhciBhZnRlciBhIHNsYXZlIGlzIGlkbGUgKG9y IG5lYXJseQ0KICAgID4gaWRsZSkgZm9yIGEgZmV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