From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0048.outbound.protection.outlook.com [104.47.38.48]) by dpdk.org (Postfix) with ESMTP id 2A06A9E4 for ; Tue, 19 Jun 2018 08:28:07 +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:X-MS-Exchange-SenderADCheck; bh=7EOwTYDH/Fk2SbSIJy7rupnhB1M3yUIZvYONbaiW+hs=; b=FSiYaJRdRwC75EBtKLQ5aH6M9eNSv4f3ADnY/3We7CkiM8Y/JDYVdDZYL3cF4XK2Z/ssvSEvXHRlbrVduk6qg3Bmqet8/ms5M5LkRkzQFQZ1OJkxb/FrhrxdJGlMRubZARzQ58li2xwmF3YLSZDaqfklCwrXXa89CGtDtlfqFtw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from ajoseph83.caveonetworks.com.caveonetworks.com (115.113.156.2) by DM6PR07MB4907.namprd07.prod.outlook.com (2603:10b6:5:a3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.16; Tue, 19 Jun 2018 06:28:02 +0000 From: Anoob Joseph To: Declan Doherty , Pablo de Lara Cc: Anoob Joseph , Akhil Goyal , Ankur Dwivedi , Jerin Jacob , Narayana Prasad , dev@dpdk.org Date: Tue, 19 Jun 2018 11:56:12 +0530 Message-Id: <1529389574-6643-1-git-send-email-anoob.joseph@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BM1PR0101CA0026.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::12) To DM6PR07MB4907.namprd07.prod.outlook.com (2603:10b6:5:a3::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: af3dff32-2278-4ba1-1cc3-08d5d5add0b4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:DM6PR07MB4907; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4907; 3:Xr0gJ1VwN6XN3ENV0bsTz+YbH7RNjsEGjl1zwk3G4FBr7GuzcgU8iJgwvVw04KNakOQn8z7qJ3DGy5/OnN4Lo3o9KjycE53LGIUZBUCMi9UASgHRhX5UuQYQDZ64qISms0IJlxUw5muvW7UClN3lU46am19eVOX03ZgPlM7ZUG04vhmAOr/AG8pvy0e/7xxOzHykiOvXvPmKMJPfHrCAfqM+5vvJAVpLufX9lOyWyhc6tMPmRKUpQ5ld1NAj/WF7; 25:GTRAwwjYfOgRBA6OtnnD3Mw+zAGkMjOfr01pda5yhsodngrMQxf9/GGcvnOEaxGJNszZl2EoWEfiCD3J9hiA7KtkiVQYItZ3Hk8MXdxzkvzgtP60b5PoD6fGbVCn8fw2Ku+lWiW3Qcrz6ikAxumhL0NsjsHRBv3Tf5FgOozC79UqnZB4qTRH/JqA1ukrlvb9LZBsPbJirAq+4pHpFnhfCNhCxCo/A9lUDNuqaBOmps/yxS9NRaZEZ1+LUa6afwa1hP74PWd54pdxqDm/5goggCAovj0EFeZz/o9/mtErwEIl056chbzqSmbvA7iWmob5vBw6TG3WZdYbkWS8iY2E/A==; 31:5UdYSoMlSOPnx2gkbDt0wX6h6PGY22xP9mtBikELCWE2Tn7jqViBrsjiE5ibXRsysuhVsKvITr9zosy9BTVTsrxQ0WxuoYefRtWjkBEAwCQmJZwKufm9SpkhCf80gdzBdbMN5WVxKxiSTYHlQo3sVsnOyVEiDgx58rBQXFVtKk3FT3IS/U9R9Af2JU9s3/3ypdGVQ5ezPbqDaooHuJR/56dzXOnpr0S9r0W9TZXQxak= X-MS-TrafficTypeDiagnostic: DM6PR07MB4907: X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4907; 20:uDS+EwAswk4/e+jN8p10UgCz1c1zLi41sbAqsDIW7sQlgguGxe/eKeSUxTM/nmVZUix3uclonHd8CL54JOmXc5bfwqZ2qty+hgLOZxariSSXYZVi6nLqz5Eu9EUs/jaZGvzrPW9haZ/Z0Mt4ARTUxZC38Vvvg2/1YZPu+1D70smZnMfm+fujexJZ7YM55lHZf+eIYzUnemtwuwyr9WhUNDHq66BK4/XDV9QPH5dBSs18N2ZLqhbX/bj11umiYG0F5+VALGGVOx1II62EOa+wr2EcokBjRLKiQOcWz8Iu2hDNSY5sZrZBBoLLZZwUYFk0ypecupTyriAhAHTsFmd0vIr1y0ljyR2D++QFpq4J09a9WSoap8mJYm0IGp2rmrERtDxZ1lJfpYVNxh9U+sGvtuxuhum+76Xj0b8r0OJ8scjDB8Dan7Omnbra8ecolPcHJLeUZZUWNZx2nMUPtXwUA1IrQwdEQ3nh0XQW7cQ4WOiBjixj0SkAxXOu28VjonX+jl4VGomZroON4Ec4bEIsqj5LsJULM8aluoUfLOzeD6mNFumJRg8XaNkmNxoQB0zwle+XLSC1QBL5HQT9Hp1Fy3x/61mY66dPXP9pUxJGVhk=; 4:uMax3iNnBCvUGXNoCFG39/1BJgnVMmceMAdyqGRfdsvneo9zPc87Jhya101BBV+XTDJovhWuI6XdYSZZMKBGjBwu3sIDJuRiRqAcWWrY/fKVhQRB2Gb5GcLOqDJPzobExyga0r/DldkkkrC1PVG3NNVd3gtaDHi860c0yzlHr2SiC5UfoOazdnEevJht7ahI2sl/lJMRQ+b9P8NR3ymEPuAS+zYITa9ouCIs6YRsWJ5Q12Azmkz7ZoPOkkdOaH6x6AgrApuWH8Yr39Tcwsix4w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(93006095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:DM6PR07MB4907; BCL:0; PCL:0; RULEID:; SRVR:DM6PR07MB4907; X-Forefront-PRVS: 07083FF734 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(376002)(396003)(39380400002)(366004)(39860400002)(199004)(189003)(16586007)(36756003)(26005)(478600001)(25786009)(44832011)(2616005)(42882007)(16526019)(53936002)(54906003)(186003)(48376002)(476003)(956004)(6512007)(6666003)(305945005)(51416003)(316002)(52116002)(50226002)(68736007)(72206003)(486006)(6486002)(7736002)(4326008)(110136005)(50466002)(5660300001)(3846002)(6116002)(105586002)(81166006)(8936002)(386003)(8676002)(8656006)(2906002)(106356001)(81156014)(47776003)(6506007)(97736004)(66066001)(55236004); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR07MB4907; H:ajoseph83.caveonetworks.com.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM6PR07MB4907; 23:kwWEuqH6rjZK6gYTtVjZFiO5KQomTGU+u/6bNGDsO?= =?us-ascii?Q?Y3/f00t6glp+fB5yyo3noCYHpRL/PgbDh4GI0Dz6dBQqGy7QcPzzNdO/q0Jk?= =?us-ascii?Q?IOtkU/HltZhBxkjMvKhpvh6jk9GrJ5HEpXHUGLCGILQKPj+NYvFj9pPaYGTR?= =?us-ascii?Q?gQ3gcu6CZhGAlaAatmmhLxW74TmhNrrUf1fI4xf+dWO8qZnv9OGNEVfqqO0U?= =?us-ascii?Q?nTGP/KCYPw9mGLYjFG2ezjSedtIdjgVr1V7e2pArZciDL2zDFl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0NjJIZZhyvfC9BeyaFGFjy5Ldy/+X+MPUvwAL+3lBo8vVqcg+5EFWeCwwQZGxisMpVl5iSCVVC1jKorXIPa/W7jqwVqf9WD0NCMgCTdZSPc=; 24:fRYgIhNCqQzfEtRyvY7ETaME/viUetA/hNI4ymuo2Av9+VGySNZmJnCXDx+5FLzzh/oxwvVU992+DJPLQux6DVZqcouQmx3mkjEIxPYdg9w= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4907; 7:tMFoR36hXFDBn49aMuAkOnFVK5FGHOlNoYwCsG4EiX10Sk9R+jjMihGtwooD+TMV+mEb15CQqu7MENyqh/7hJez5dA8rykb1p9zvqTV8IysulqdJKlAPjKnP6JfjkMeujCqKI4RJbLCPBFlZ35euETOOccmsg3b2BE/fKmLp1XC1sws9NshkhdCy9+H9wTAPBQ+/TUVlDBD5NM08qPDPl3FkpWpwKm1gZV/TFyYRFIcbVDb7hPMwNY0dVWAGboIq X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2018 06:28:02.3837 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: af3dff32-2278-4ba1-1cc3-08d5d5add0b4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB4907 Subject: [dpdk-dev] [PATCH 0/2] add head/tailroom requirement for crypto PMDs 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, 19 Jun 2018 06:28:07 -0000 This series adds the ability, for crypto PMDs, to communicate the minimum head/tailroom requirement it may have, using the existing cryptodev_info framework. The availability and use of head/tailroom is an optimisation if the hardware supports its use for crypto-op info. Devices that do not support using the head/tailroom, can continue to operate without any performance-drop. Cavium's CPT hardware supports this feature and would use headroom and tailroom for submitting crypto-ops to the hardware. Anoob Joseph (2): cryptodev: add min headroom and tailroom requirement app/crypto-perf: honour cryptodev's min headroom/tailroom app/test-crypto-perf/cperf_options.h | 2 ++ app/test-crypto-perf/cperf_test_common.c | 33 +++++++++++++++++++++----------- app/test-crypto-perf/main.c | 17 ++++++++++++++++ doc/guides/rel_notes/deprecation.rst | 4 ++++ lib/librte_cryptodev/rte_cryptodev.h | 6 ++++++ 5 files changed, 51 insertions(+), 11 deletions(-) -- 2.7.4