From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0043.outbound.protection.outlook.com [104.47.36.43]) by dpdk.org (Postfix) with ESMTP id 7CFEC1F5 for ; Tue, 12 Sep 2017 16:37:00 +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=DziW7IuzagTLellBRO/WJUpuDYamTWHiwnXMRcuoW5A=; b=TfeKSRME3NYrliyPwLxQf8RaH+PzPvFs2h0BAhHFzFIUdwicpUdxBD/ot6UE3RZi63Y5kZQ4Ir7snvKy62u9fb3Eoz31S6SUoTUqzsem1QMZz1BCdePUqf7LZgbFHHfPYRYf19osHvNO12fTHdKnuESqDYx74oPYNLJMoEdPah8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.201.102.0) by SN2PR07MB2527.namprd07.prod.outlook.com (10.167.14.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10; Tue, 12 Sep 2017 14:36:55 +0000 Date: Tue, 12 Sep 2017 20:06:32 +0530 From: Jerin Jacob To: "Ananyev, Konstantin" Cc: Andrew Rybchenko , Shahaf Shuler , Stephen Hemminger , Thomas Monjalon , "dev@dpdk.org" , "Zhang, Helin" , "Wu, Jingjing" Message-ID: <20170912143630.GA23129@jerin> References: <20170911090543.GA9965@jerin> <2601191342CEEE43887BDE71AB9772584F2497DC@irsmsx105.ger.corp.intel.com> <20170912040107.GA8081@jerin> <20170912055137.GA24921@jerin> <20170912071735.GA29366@jerin> <66688482-9e4e-81d5-195a-6f1a74caca73@solarflare.com> <2601191342CEEE43887BDE71AB9772584F249FFC@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2601191342CEEE43887BDE71AB9772584F249FFC@irsmsx105.ger.corp.intel.com> User-Agent: Mutt/1.9.0 (2017-09-02) X-Originating-IP: [106.201.102.0] X-ClientProxiedBy: BMXPR01CA0006.INDPRD01.PROD.OUTLOOK.COM (10.174.214.144) To SN2PR07MB2527.namprd07.prod.outlook.com (10.167.14.155) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ecee3702-7972-4ddc-486c-08d4f9ebb92c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN2PR07MB2527; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2527; 3:gHycZGfhL4+yCqk/qBu/7Xony33SrZUYb45b8hC48kHLJgQYmC3H09Eu2Cn++RfhPgc/Hu2aWkZUpLjNLdVqf+HVMrXckYpezZg7CsqcTGZX6cdsl/efCuwF4fvdbj+kNtTVG+vj9aiVHQHji6Y6mbQuOSYfDARrH4//ON7JfO++p0ycoTP7SfNKicbyTRyjMAzjpks1HCJqTtJKbZMJet9tbb3iW4mKYY5EYBlJteGJVsU2jReiFsrPU7EX1lhW; 25:UlFe23KcyGQLpick03ZMEmbHeGbQdfzX6HkF99QcifPHEX5TCgtUkn9pP69lT1h0Wl4hGjtYSBRMPXPyUkpoJ8g/Oev8Vfjx8LR6Jah4cmgVFxKDaDtnEF/9A90fZ+3nl/0BoE1+NW2byUKHdmS/svSDaXj9HceeBVycWy6geYW6OCozeUqu2P5qK8db197KglmXeqYaowVHauis4q6EOZn5sefsjHVFx9Hd2OeV7CiWxZ8mnklNRSwHMs+AcXZ11w1twkBNgiBkii5dClFAv8DEINtR8huTFcLVZrpvRekCT0x88BaPaC3MpBjIL3idPIcse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M/rLUoWpHBg7kxm9gMUrJBwQAboF+UUC3+ooI/iVDvgMKdL0fSgJhTZlSbNMUb/squszMost1HfMVHYqfL0SnqxNaW5Ny/eXlFjIot4LykwDo80K3hVVdsHWv4y4yBp55/sAUJUd5mceau1it9F1TayrwnqZsmfQiXn1SMkZk3NPznV/yD4tAS7lsGWo= X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(3002001)(93006095)(6041248)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN2PR07MB2527; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN2PR07MB2527; X-Forefront-PRVS: 042857DBB5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(13464003)(189002)(24454002)(377454003)(51444003)(199003)(478600001)(42882006)(2906002)(105586002)(229853002)(110136004)(55016002)(101416001)(6246003)(189998001)(2950100002)(8936002)(72206003)(305945005)(6916009)(6496005)(4001350100001)(97736004)(4326008)(93886005)(25786009)(50466002)(7736002)(76176999)(54356999)(6116002)(5009440100003)(54906002)(81156014)(23726003)(33656002)(50986999)(68736007)(1076002)(47776003)(81166006)(53936002)(9686003)(42186005)(33716001)(66066001)(8676002)(6666003)(53546010)(106356001)(5660300001)(83506001)(316002)(3846002)(18370500001)(7756004); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR07MB2527; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR07MB2527; 23:OwP18VArmjONHjcu7oHkK2t62aorajKcywJqXP402?= =?us-ascii?Q?tzvIENa3HD1VDuCYnqbxreTcewIxvvqtlQFAwZPJl2uayactAroqWQQLQ+a2?= =?us-ascii?Q?+0XhV+bkJUZRxDnMKRbeFdNw54i2+r7VEGxvBZ5uND2Ujzq4fzrBZmA7cr6k?= =?us-ascii?Q?iKs8c7Q2Umo3Xk2K6NWBWNpZ/4bpMkneD485ncteS3QHqsw14d/L3iJisy7H?= =?us-ascii?Q?0PSykoL+msqUEv+l/SkmbS6L4VddWyqDL7A2ApEc3RqphXb/h2g4sspr3m+B?= =?us-ascii?Q?0jEo+YqlZpJIS9ddvHxiiKvP4VJ3BMpNpNYdTdqpFPoRrz1ioLaIkMkqRlHQ?= =?us-ascii?Q?TwqLYdrwLZ4bhFalx1uSNpPBfhxVOPGDsybD/0xLXJUDrI3+g84rJHUhhiSa?= =?us-ascii?Q?w7X+MYzof2Hx5eR7lqlAhamc1Wu2nhUuR6YyC1Ls5vE4aQfgL6KF5w5N70yG?= =?us-ascii?Q?Wmy80lC0n1wqQ9+xdOm+NB38fG/YA+BSYnp9XzD7jTgZqIYQH7SPAHebsSjB?= =?us-ascii?Q?2CH6q8a/oLHbCw8j1DART2Sep82MFWhPZAdwPbijYMfNlagFhWVLMXecoeQH?= =?us-ascii?Q?BD0InLDrxHlFME3vzdko2fBgcuVFvmcakoooEvwcj63LztOyNjR/ylNktD22?= =?us-ascii?Q?O8SoNgL+TdZotbR8CLcFyhjZ345rM3aCIzLvAE1nJgHqhbgnpExgqjOdYFll?= =?us-ascii?Q?u1OJy/cBXmR4HoK6o9wibB8a6rDTlI0CciZcmB8dh1Tb+lC/K7l0coReuTY/?= =?us-ascii?Q?HIJY7A/P0pJMv5Ej+FCZVw2QHKnh7X8SrQptDT8OkQm8Ot4ZV6JslMaiUxbw?= =?us-ascii?Q?wzzWPq123sCBYv9rp3pNLhCkUVT5nGKNao1s0UmUXLxOHgs7oxsHwXSVuR4n?= =?us-ascii?Q?yi17EEQuL9tVLR25ScUgSrpej+H6CGzgZlsnRZ0NHAidwQhOcYvyps95xF78?= =?us-ascii?Q?rD44uvMcZ7IUpLV/f8PjmuVbTAdGhdEaWj3qHSusnWBnwioSJo2DypAurKl4?= =?us-ascii?Q?mTcrC85IiXkrVzoRhgJ2qYEp9YSPVjuGiSpr0AuUXUDS59GwBO7RCritm39d?= =?us-ascii?Q?IGkyDlsode7e7QbYjlLoUuFT2gV3sAStdPxVWTm5FrSirZEjc5KaNgqwwJRX?= =?us-ascii?Q?FsgPBXLXsQWr3B3Dxz3lmWypgw+SJ0mQW7V8OJP5c/+gktcn6G4jpajWrTPu?= =?us-ascii?Q?peKq91b+Y1iBz1vZfbt3k7Rc8RzZ8CnyyNCpiAhYiobiB0KjZdbrEjqLw0qe?= =?us-ascii?Q?N+w4fCus4/oDr13lsGGZMKZJlhT2/mUmFmba3H+tAR0bkJZc1pzc7lS/eB5V?= =?us-ascii?Q?qEcrn7VmkPjFA6BAOlHcB0+8ZIRa983AZhFCqa4Hv4b1pCerCM6GpjZofsw2?= =?us-ascii?Q?fu10J1nUg3xpY8qkI7o0Jyf52s=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2527; 6:tNReN4RjEyPBWXtSeGaunx6QpCs02HS1cuzPXoA8BIQMR927PDATMHyrPLeK7clKmqhu3qvXAV9xHryxoFq3vI3epBuWTDl5IIdwdKWIoNWmin8JkssLctIOP7uSWT0rvdzgmQmD0HxF5BWdQHRYuWruW74WxG2+SXjx37hkuq0HSE/dljOlR2SkHchXt6bWliKZ/aV1+UlDt+3UD6QqTBcdlFuxx92SPJzw58jku2EGbSuzS599w2qhysTUplF9TR6XOoHxeOdmnDrIX1mJlI1guEBQiZMAtIfg/jUitRUtnl4t9LhwnHO06vWY6rDr944NPNslY6q2gsXFnoyFeg==; 5:Pk9JRMlvb+1HggkX4bX7FglaINWL6tT2xgnvL9ZqKCw4ERDy7utYKGsNX3dxxyjQ++danqr3zKG+eTq0oOBEPKVGAk77pndOusjShy0zutrnutaKsGPxbv5PjL6KcF5lDiOLD9gOMNBXxHcKeHiwxA==; 24:36/jX6V++5jNclAQOWPuvwrlU+GRSCUlIJH7ykIaKTci4LTZQg9YMmNDhj5lN3xKM0soXO0awG7MeDhhzYA41oidr2KyVTZt+fKOc5V7YRQ=; 7:xADsFkxaauRlIOfb/D/93GYmYUNQUMvpYQn0sbA+W5AXh2oPK8gJdTdprPgOmP+/tHCydBVSsMiHEtQwIQ9F5VUqxJq9eouHL+mFHL2NoUif3wumj+5AeDWwlGy7jtomVRA7KY6yk/tTQfhKJk18sRl1c4Xq/F31EGQFwPKWRtNisJrRlfbi80sldkhd2juKFXNl8OeVbGKyYj2PKKCe7KY/S/8zi8Cx3uJcrEdhCd4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2017 14:36:55.2431 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR07MB2527 Subject: Re: [dpdk-dev] [PATCH v2 2/2] ethdev: introduce Tx queue offloads API 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: Tue, 12 Sep 2017 14:37:00 -0000 -----Original Message----- > Date: Tue, 12 Sep 2017 14:26:38 +0000 > From: "Ananyev, Konstantin" > To: Andrew Rybchenko , Shahaf Shuler > , Jerin Jacob > CC: Stephen Hemminger , Thomas Monjalon > , "dev@dpdk.org" , "Zhang, Helin" > , "Wu, Jingjing" > Subject: RE: [dpdk-dev] [PATCH v2 2/2] ethdev: introduce Tx queue offloads > API > > > > > -----Original Message----- > > From: Andrew Rybchenko [mailto:arybchenko@solarflare.com] > > Sent: Tuesday, September 12, 2017 11:28 AM > > To: Shahaf Shuler ; Jerin Jacob > > Cc: Ananyev, Konstantin ; Stephen Hemminger ; Thomas Monjalon > > ; dev@dpdk.org; Zhang, Helin ; Wu, Jingjing > > Subject: Re: [dpdk-dev] [PATCH v2 2/2] ethdev: introduce Tx queue offloads API > > > > On 09/12/2017 11:03 AM, Shahaf Shuler wrote: > > > OK, well understood the requirement for such flags. Thanks for your replies. > > > > > > I think that for simplicity I will add two more flags on the Tx offloads capabilities: > > > > > > DEV_TX_OFFLOADS _MULTI_MEMPOOL <** Device supports transmission of mbufs from multiple mempools. */ > > > DEV_TX_OFFLOADS_INDIRECT_MBUFS <** Device support transmission of indirect mbufs. */ > > > > Indirect mbufs is just an example when reference counters are required. > > Direct mbufs may use reference counters as well. > > Personally, I still in favor to move these 2 flags away from TX_OFFLOADS. > But if people think it would be really helpfull to keep them, should we have then: > DEV_TX_OFFLOADS_FAST_FREE (or whatever then name will be) - > it would mean the same what (NOMULTIMEMP | NOREFCOUNT) means now. I am not too concerned about name. Yes. it should mean exiting (NOMULTIMEMP | NOREFCOUNT) > ? > Konstsantin > > > > > > Those caps can be reported by the PMD as per-port/per-queue offloads. Application will choose how to set those. When not set - PMD > > can assume all mbufs has ref_cnt = 1 and the same mempool. > > > > > > Any objection? > > >