From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0041.outbound.protection.outlook.com [104.47.41.41]) by dpdk.org (Postfix) with ESMTP id 6E2733B5 for ; Mon, 12 Jun 2017 07:16:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=BhWCOFst4sih54dErlgLFCD7hhZUeTt4+5NAEuCkdvk=; b=GDYDHr6wiBeM0vUtSErLIa632oseQb+dXttFlYBSW5gv4D+LUbYAAIaIGNSdSt7ViINsd53yyBf12n6lCWl2fywm+s2tdOySUouWZBoRtakCeafntnoOVGhTZ8Xi/VOs3gUHQJ/0RPU9zvh8OOFOnRUGDOOsubRNbfs5qgSdU5k= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (111.93.218.67) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Mon, 12 Jun 2017 05:16:05 +0000 Date: Mon, 12 Jun 2017 10:45:47 +0530 From: Jerin Jacob To: Bruce Richardson Cc: dev@dpdk.org, olivier.matz@6wind.com Message-ID: <20170612051546.GA9948@jerin> References: <20170607133620.275801-1-bruce.richardson@intel.com> <20170607133620.275801-4-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170607133620.275801-4-bruce.richardson@intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0094.INDPRD01.PROD.OUTLOOK.COM (10.174.208.162) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BLUPR0701MB1714: X-MS-Office365-Filtering-Correlation-Id: 5d6a98d7-ede1-4056-12d1-08d4b1522148 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:Vb4kUVpgves7qX5YJbP6A9ZR7RCZ6lznhY9YvYZ8KsdrkGbUXpz6gmQN6wUiAdTUrATqgBxgPk9wImXb6ve7mwj8Nrj9xaBnyXaUGsLeyeYSVyQuBXq3LWCyU5RK8mDADuPu8hBTZGQPCkXVIARyRqAMa4kSDSSSWjk0UucWsGLcDHHLn9Uu7JtRXzPLglwSbluvPUiu0iGKG73gYBBGK9yyA6ecUKjlZ/f1pSOCF4BeH3KMac6lkCy8sl9xAozzPVNYYyRFQPcwomz8hC4SUVmwkuR4kmHsHaCTkSXEYmZeiEflIIYVmRcYZLtcqn8xGlNE9Ie1nMoJcMcGqgg1wg==; 25:DwahABcGvHvs6iBSdUxgtx/7DUnNhW1z6KhV/YWRrWElLdOsGcJ8T2pTQ4ZSbU8Ep3nQzXOQGUMAMZiu0Vm8xi+fAVbN1zokPVMAdoeH8Yr2pQDGkbK5s7jdAhFqKsgK1MmlsdzqZx8Fz2FBVKgCY20RGEmir6a8sopdCPQBXluKRhacrFyiDWh/x/heKlF+pmlbvcmewR9rhTRZ+EhMan2PVM+/gAYqKl0Umn9rHwmdHCqnD2dGNca5l32ir2U/rh6hwdrwtTC1rdi3MV0JPyVk8dODu6bcn38gRW5NDVTofv1HFysNb5drOCjgj4waXsTLDYRKafE+c18WDjL1sglQEV3m3iAJ0AwlYz6Ef12iyRaF2AP0y4yqJOnaAG/CTTgikI1Wt1KQbZeVv4xNI7MZARsuDYaReqproeziAIvXXU9ArqB/PGxIYxT2oz/g0/jlXL8JUhIx6LV0IKyVAoF618ZY93R40DWBqN8dTbQ= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 31:Ya5ictzbEuOLaiMXHw2SmM4qompQfigok2pnI+ye6YHA2X9xTjY7bKC3Hn2D1PUeXOy0THy41GSvoiWTaJmCmsS2pyvy8HkXArVVApkoahEZAUTJ+P949g23ynjclTQ/i7zh4zZCewTo/GTorRj22scrBA3kfJHuNou//MlyHGHb180gFS4WmzqrV3o970IkRNjmGDaSTrzsFcth1OIqXy9ZKSAKJ4dCODkieWstSzLdoHDEKCY0a8mc7A+Br63uMzYPFLjumq8mRP607/+IGw==; 20:dO8kjM1O6LUVxjhmLdg8uDKX9+FtwWEs74UL6hYRvo/S2JX5vZtzbY12q4oaG3VyOWaNUgWanUuNp1mzmJvHaBqmYtMig31nZrn+ZSBNOAH1RSecoR+eHDOGr9bb4bnV12XKy5clxe+m1+5ABPXli3zfmmZyFPWdBuG7T5sF1ys/WRxNSOLE0FTa6605H3d2mv2z68ticJM48BWS+NhT/ijDEpP6gyfzct6HCfKifIqX9H0Hhe4sJB1fKRKIuLLFYABKwst9a2y3g2Z8/+ByOgX90+neVjVMChR++1Z5U+bhdfWgLENY3ufiPSq9eQlzHhQMC/nEekwWNsGmoqGoX8tGEqJ1E5QuC6Lt6fFV7NtrIEvSAgcA2Utg3gf4YV52k9xMckgUO0SgMUnZkRiC45vF/tUT5UoHv1Do/3YZ7puCtsVAcXCKyBfOBzErsjbF1rGsh51rZyUMGPD7gy+u71/xPqlg6xk7ltdQ8ks4kKAOgaMfQSgTfnadxq+Qq/njj3hFB9N6t3KsCCjfBeFNN3lrs379pv+I/xUawHHtYDfzpeRr5vB+jvWGnn8+ih3MowkqsClqdC9+1VOzH4x3/F5VwIdOBn09EANMNJvGjMw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(788757137089)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(6041248)(20161123562025)(20161123560025)(20161123555025)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 4:ih3k96YLC2dCqryUoEf6Ugek1YXsgIhpxMwL9ah5?= =?us-ascii?Q?cy3sAfv2H055P/6DwZeXtupNtnFDRE0VNQ+7AWurL2sTL1YOj/COCki9D2r4?= =?us-ascii?Q?ghcGs2uJcZSKtdD5PHCDbjp/QY68wurR+ncbDF5QU1ApmbQxsTHXI6fKXW9R?= =?us-ascii?Q?Wiq8Wn3ia/zkb2a4c4OfNYOZcdrTreNTJyKfSwHEQW67JhSBZOV3dy/M4Lre?= =?us-ascii?Q?4Lqn6ybDO5USnxtpzhy81Sf1+JCLbXdkCeUBDzVRNk5YSMP307TQKE0U2sn7?= =?us-ascii?Q?8w8VwMxoo1BOaac4mqpr9Fuh7Q6JRfGZD8UAeNPPlXUdnf7iJHnv9p4fnh/1?= =?us-ascii?Q?emdJf9tRNwFQHTZPnTBhoKEM9auE/cx7u8ZCujNnocNPty39ikoPCyt/tMaB?= =?us-ascii?Q?SNM1XztsQfiwklM1gxStmE0OB5WcrC8bhOlkAbqlJsJ/Vmf646/j9d83LJ2N?= =?us-ascii?Q?1ULBPO1xt1+sIry7k6ROwZjytuRLGo0+7ZE6JgkuPXR0Xp10gMLodnme16Pj?= =?us-ascii?Q?HpuQXiIBRU+O08NnsJ6ZN8tHjXr5iwIUBHpCxkguUbkJ82lafA8j5I1qIhLX?= =?us-ascii?Q?zpT0pxwtqE2cGbKoG5qO0+wIZ786XRf8DusddK0tFaKuCgbASe75+N71JSjX?= =?us-ascii?Q?jrwytmfAuLqvO+ErxXHT3SgH81rF+3QLMEeeyQAvW8Zt86/d5So61vmKyMGb?= =?us-ascii?Q?6JmzXENM16dQI2G+ElMr8iY7ONI5sSszdNUhNaMTYtRB3uETU939XxirsueG?= =?us-ascii?Q?0p124+IIb36LrqOITfZYfkU74+SaVa3ETxfKu3prWq+e08BVvcMSq+JiigpD?= =?us-ascii?Q?/ZmS3FGvEMBIOIk7Q9zN8EbUWmbIC2Sw8N1/yNiLci/Jea0+iZeIxF7UYcd0?= =?us-ascii?Q?iIWFLGS4WBFz19Hh6Klj6h7yFl7KIbqvMiWMtDTR7BFBs+KHzLdiifOGiwbX?= =?us-ascii?Q?BO4Vhrhm/dPJaLVdJc18++HRPU9K2CTeJ0UQmpgi35S0GdzRraIW0YWTmhVZ?= =?us-ascii?Q?rrnCnMVtxJ2AVbklFPzqqcbwat/cpHhIpKNt9dlTv79ThMPuP6GW5fc0IHfT?= =?us-ascii?Q?9AeC0CiNfZYX/zO4sFzfLgnYdjJ3GPPZoTMUI8useiP3JhJLC1npH4ZCjywj?= =?us-ascii?Q?iJXdHsaHwCAYkyXNeZX7XKFbVJQzgpbIobcp6zmwng4svNhuEyX9qKzLyymF?= =?us-ascii?Q?Il7p+uMG9E8GCbRWxinlAbHeYsHR/vImIHIi?= X-Forefront-PRVS: 03361FCC43 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39840400002)(39450400003)(39850400002)(39410400002)(39400400002)(13464003)(23726003)(305945005)(7736002)(33656002)(4326008)(42186005)(38730400002)(55016002)(6496005)(3846002)(9686003)(1076002)(50986999)(5660300001)(76176999)(5009440100003)(6246003)(110136004)(53936002)(54356999)(6916009)(47776003)(2950100002)(6666003)(66066001)(42882006)(25786009)(229853002)(8676002)(81166006)(189998001)(2906002)(478600001)(33716001)(72206003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:jerin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yB8fh6snsLeR4NjMvWLhgTb4Hc6tL0gJ7YvPzvfKCmaOGBQkCye6HAqvV3HRdXrfcwD0u9wLzVlS6wGPQBt3ccCqwnH21/B0ZK7sYNGqGPpnYsaYUKJJTPl31WATgTUuz8rdUfJuhuwY5OlH407IR1nJQZcoirC8QxdcjQFjHyIhRft40D3nBSIEExSlncYd8qyns1yBOgSQWE8TyLYKYo3WmqiMv1IHrRJr+Hc9qe/DbvxarQ4VYkUbriOgjm1/tnZGuVPN8d5Hq4pDzOem9+IuRjNR3wT8vRyB5KJE/ISqnamuYIymaLpNfh+mHAUZa7dCaEn3CjrvEb0JJf47lxGbV09bS9Whl5kcJqw+9U3EfeC4ABe8xznPtDNaTOcya+hX6rU1FnPp3RC3/CbL/kLDsoA8oVMDWa7a3Mdl3Gns8Sn0KoE8fhctxOfmBoFfl3PFoq6ju8ZSixS4M5; 24:spj3D9Fg/V8L2KubRw5NHvdt1iGyycJd1HcDnZWS6l2uFyWMiL7PLDUz6yMvgL02TKpIEPtrv0BENdxrlsVohntoEfaVFDajHd6nJjdWddw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:s6x93p3vG26wRN00bi271SFwao9Cl7vEnca9IxidHJPh8d+xoJCNnRWdMlPq2ENrE62Kml+7Igp5GefTopmOIpUfhG8gL4m4rKp52bfQ05p0nY8YM6Ylu1wuQgQrMDxmtSTwJjIJlm5w7h0KRarOPSF4R2o69Dt9cCiB1qVJdwLPojd5KJe8ix8i5SWa1YVHzqiJ0+4CoBDtuW9IaZR0THgE8a8a4BiRMvGud7jHdOD04scK77qxPkixHyz41gGG2oEjovjgLTJ9hSiD2gF2ivNvVXPH4b2MtFlmd81K9ugWYrQY1vUfTYKP8bo6xhekAxigikgNx2mNdlDInq41Vg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2017 05:16:05.3481 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: Re: [dpdk-dev] [PATCH 3/5] eventdev: add ring structure for events X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 05:16:10 -0000 -----Original Message----- > Date: Wed, 7 Jun 2017 14:36:18 +0100 > From: Bruce Richardson > To: dev@dpdk.org > CC: olivier.matz@6wind.com, jerin.jacob@caviumnetworks.com, Bruce > Richardson > Subject: [PATCH 3/5] eventdev: add ring structure for events > X-Mailer: git-send-email 2.9.4 > > Add in a new rte_event_ring structure type and functions to allow events to > be passed core to core. This is needed because the standard rte_ring type > only works on pointers, while for events, we want to copy the entire, 16B > events themselves - not just pointers to them. The code makes extensive use > of the functions already defined in rte_ring.h > > Signed-off-by: Bruce Richardson Thomas, Should this series applied through dpdk/master or dpdk-next-eventdev/master? Bruce, __rte_always_inline macro is now part of master. Good to replace with force_inline.