From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) by dpdk.org (Postfix) with ESMTP id 7B2439256 for ; Tue, 5 Jan 2016 12:11:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4508; q=dns/txt; s=iport; t=1451992288; x=1453201888; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=LMbrGc5u/S9HDUbc8VaSQbnXVQZwOPBAloQvDpWJf3M=; b=Tf+O1eBHugn2Gu6PBNJ0LyIJzRt7dmwdryJf+EUVN3AXW0JQYGPqGrmS VY6M08hK9GOR1AmP+q3e+mIQf3Lun7nA6a+l0ad4m8o4Hvrg4qu69esm/ 7cwDEytji4dOVk0CLW4CiWBSXHQgMirhTUKjx5FU4ZSSVyze+omK1DYWF M=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0D9AQDho4tW/4UNJK1egzqBPwaIU7FRg?= =?us-ascii?q?hMBDYFkhg8CHH84FAEBAQEBAQGBCoQ0AQEBAwEjEUUFBwQCAQgRBAEBAQICIwM?= =?us-ascii?q?CAgIwFAEICAIEAQ0FCBOIDAiwO5EJAQEBAQEBAQEBAQEBAQEBAQEBAQEBGIEBh?= =?us-ascii?q?VWDe4EEhCVIgwaBSQWHXo8qAY1LgWONIUSKCoNyASABAUKECnKECAGBBwEBAQ?= X-IronPort-AV: E=Sophos;i="5.20,525,1444694400"; d="scan'208";a="60806432" Received: from alln-core-11.cisco.com ([173.36.13.133]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Jan 2016 11:11:25 +0000 Received: from XCH-RTP-003.cisco.com (xch-rtp-003.cisco.com [64.101.220.143]) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id u05BBPY7032709 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 5 Jan 2016 11:11:25 GMT Received: from xch-rtp-017.cisco.com (64.101.220.157) by XCH-RTP-003.cisco.com (64.101.220.143) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Tue, 5 Jan 2016 06:11:25 -0500 Received: from xch-rtp-017.cisco.com ([64.101.220.157]) by XCH-RTP-017.cisco.com ([64.101.220.157]) with mapi id 15.00.1104.009; Tue, 5 Jan 2016 06:11:24 -0500 From: "Hanoch Haim (hhaim)" To: Olivier MATZ , "bruce.richardson@intel.com" Thread-Topic: [dpdk-dev] [PATCH v2] mbuf: optimize rte_mbuf_refcnt_update Thread-Index: AQHRRvdSBdlb5jcirkKWcHjQnHrDiJ7ragvggAGrnoD//61g8A== Date: Tue, 5 Jan 2016 11:11:24 +0000 Message-ID: <521c3b8c6a014c24824bb1c5f17dca03@XCH-RTP-017.cisco.com> References: <568A7959.7030506@6wind.com> <7f5255b98dcb4f2396ada16d5eb43e5a@XCH-RTP-017.cisco.com> <568BA1A1.2070300@6wind.com> In-Reply-To: <568BA1A1.2070300@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [64.103.60.135] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" , "Ido Barnea \(ibarnea\)" , "Itay Marom \(imarom\)" Subject: Re: [dpdk-dev] [PATCH v2] mbuf: optimize rte_mbuf_refcnt_update 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, 05 Jan 2016 11:11:29 -0000 SGkgT2xpdmVyLCANClRoYW5rIHlvdSBmb3IgdGhlIGZhc3QgcmVzcG9uc2UgYW5kIGl0IHdvdWxk IGJlIGdyZWF0IHRvIG9wZW4gYSBkaXNjdXNzaW9u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