From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0087.outbound.protection.outlook.com [104.47.37.87]) by dpdk.org (Postfix) with ESMTP id 287FD1B43E for ; Tue, 10 Jul 2018 16:43:21 +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=RUnCC4mOCA+XpbKLvBNZKnYoR8kEA8X9fYiOaNgVe0M=; b=l2k2L63LqSx/Sdi9mrXozML0DfMK6lXNRvQdojuoFyT9UVeASdEzqVKQzDHpzPUlcxAQWEBoKnX7biMoTuhc17dMRxKRTb2Gnof3m9X+TKotWczgeMtZe+Qw2iVgoagitvLT/mlQ+pxJX6CRSSha2tn7CJ7IvCVFoRpZMrgCBus= 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 DM6PR07MB4905.namprd07.prod.outlook.com (2603:10b6:5:a3::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.20; Tue, 10 Jul 2018 14:43:16 +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, 10 Jul 2018 20:12:36 +0530 Message-Id: <1531233760-4929-1-git-send-email-anoob.joseph@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530712550-18099-1-git-send-email-anoob.joseph@caviumnetworks.com> References: <1530712550-18099-1-git-send-email-anoob.joseph@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BM1PR01CA0100.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::16) To DM6PR07MB4905.namprd07.prod.outlook.com (2603:10b6:5:a3::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 63f34150-59c9-40c3-b78f-08d5e6737a3d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600053)(711020)(2017052603328)(7153060)(7193020); SRVR:DM6PR07MB4905; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4905; 3:PUsXc4PDbFT2qJi9ntIP2yiS5+kQ6jiDEznzIcrEv0SJ+XsoTMPDlVXM8i/dKWsY7NHQXyl1NiIVKKLuX6asGaF7NfTPR/Q9fkSLpwje/YWODg4DJ5xGJrZpsFIUz7QF9XddDFuSnCdEL53IkZYnAQgSTFQ8EMmSqsVXbUeTG7oxhRp7fFH4bKLu7aT4aS/2GlYBr8JX5GFSLn50GrXbzv9pPlEvXzcW7JUJ5TfuZ/1t1W5Ut/FI/XgKvDg9JTIZ; 25:9sJvY3Zgk7e+9p78AjwTTdyCkOWxqW114ln3ejg5kvqcVvbMfuwG6KMShEw8Cz/6UwcHzNlQ6CVbxp31z+SqEfbxkUtj7IhPL3GH+vTyEZX2d0fjBDw8CJHZICgob04FZacegJcl9kuVNYKbGOhkmZi0iQ7+XNVikOqkWkfVgilaqpvn5y1PyDcXpfJG9GGeVgoUSRSrfLN1dbr8j0Xg1Iwe+Y/NHQOJ6pB7ppNs3R+x98qiWCSMADMP2iV2TU5kxq1mrxx5Om/2Ffln2rgaoo1z8pDcd7s0LqanzDODjUp6Vy5pMoLGWqi9TMYrzPEQprOQaZXJwnOBUBdVsQdwDw==; 31:spjM3QcjeXafffWGc0fKJWR2gGGd3m/h/3O9FxEOxuD789JShchlk/KwfQDblb9Rbpsm976JognPf8YtCMWf9+TCEpCoPmvYrXFcdNfQIlOy2ZoM+ncHEo7MfGYEwVgddIBMXb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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)(8121501046)(5005006)(10201501046)(93006095)(3002001)(3231311)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:DM6PR07MB4905; BCL:0; PCL:0; RULEID:; SRVR:DM6PR07MB4905; X-Forefront-PRVS: 0729050452 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(376002)(346002)(39860400002)(396003)(366004)(199004)(189003)(14444005)(476003)(26005)(3846002)(16526019)(386003)(54906003)(55236004)(110136005)(2616005)(6506007)(186003)(16586007)(51416003)(6116002)(7736002)(478600001)(105586002)(25786009)(106356001)(305945005)(8676002)(81156014)(81166006)(76176011)(44832011)(486006)(956004)(42882007)(68736007)(11346002)(446003)(52116002)(2906002)(316002)(50226002)(8936002)(6666003)(97736004)(5660300001)(50466002)(66066001)(72206003)(36756003)(6512007)(48376002)(6486002)(4326008)(53936002)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR07MB4905; 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; DM6PR07MB4905; 23:EoKcXNUjW+wbZXwox0W49QDzsK6KWYK48cJn43Z29?= =?us-ascii?Q?5cVQ5VxggahwEbIL+lQMyth6EWJVvhZPp+rpIeiCru8WwU6gopGqFxnV8jaI?= =?us-ascii?Q?uWtka9NqGnEEGEH4m81Lb13XeNJdqVwomJYGYaUYofwEC8imb+5uPhfnt21/?= =?us-ascii?Q?QiR1hTour4g9IIm8BmcyHIO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q?7UlvWFv2+UNRxBrLUMrw151CNOg05ezkIFaP2gxWk3vWiL0JtOuPDFOjwmac?= =?us-ascii?Q?fH9QB1LzdkNOMEErrrnSldMGbIdBuvJfE6H/eZo/234mjrilDGz3u5lLNoXf?= =?us-ascii?Q?h4DUOOHZI3GYfdGIcxPFH1Po7680U8luNDXu/aIxdmYAEUS9tH5IRQlJNYgM?= =?us-ascii?Q?yuBX3O+zIBqqjWpxVymrAWKYDM02MSUwsQ9ng5Z?= X-Microsoft-Antispam-Message-Info: NTlKCjdOd19qpSyK5fwtKLNOqkaETl5NR1Yrtgm3sMB+ccOyQcIqJy2hx5dxd8umCCRqpww47dWaFrpvZbiyiQiyxgS1VdxVvWxdM49nN055Xfch3MjSsWp5giWnMke8aLD8Wm+xSkNsmM3aV/x1ZeclZ5+WS/0jerYcn18iZ824wOx4N0bZf78tgVtyZbkOTEaGYzaNFEDRyVspT5h8cbrUTYn2IJq4waCoUhOTHKrLMpXruwup0EUgxVQY/gOgzc0SvFzbEwhrRfez1lNBhJDZ7p9X9ViGs7HRQZAIiAUg85HEohBIID9TeVcCJiXry7A9sSNHxO+Ol1xgBuB22sPboi8aQninlTGZglMnf1E= X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4905; 6:B7/J7E7Ipeb5m514qdv762rFTvOaA3VBvDUc44XvSelI7+daDNP/AmtAiS3iMyFQxMBigxt3JYGh9GEokmxzRO3ElHHt897fKIZ1Il7j2XPeJElVUYLi9INz6u8dBKEpu2VC2MUhhrQ8VtSG0mpE6+TtQ0fISVEaMesPBQx3I2+W976fZPiUGo5A4iq1iTK3OT4iK3vYR3LR1nYNXMWN9GANd3foIWkNj4ZGAxAsEdW5f0krCQSTM1BeSK6ot1zjRXdwPqtcMncseiM3crUUzkXY/oOehhBWj0RuRCBCJpH/wyZGSdc3c0jXSzXYScKP1+EuuwZEMfiPNhG3S92S2vIU7B3xBIIoVzbgG1v6yqSauknxeiqUWV2SEEhZmOG/rr1PMyIci74usby++Rsq9OsbIWLIC9xjJX0uFdgB8UfGBU/ljnMGmAe0rbM0+LFTCLdZlDfB1doX43skaU/yOg==; 5:4h7HmVr6wbginvbS/lA6vmrppHK2XFzy7BB7r0i42hSkNo2WCMeDlP/szueHyCuxDAHKfjj4TzaZdM8hEGzAOYnL6VN8cyDaJTTQDpcSdn05+ICyO4nGJGH7B+jPccOWLme+kLyAYFl7t0XEbSLnuJVLU7xwcqcb0M3f33fDSpo=; 24:8TGwGUc+VFs3HB+rOyjaxMXKIrwze0rcR82xrm3lJYYCv5psaRvn9vXOT+Nr+hbtrToQMzXNBZBy4vqbDuoc1fYdiFdBG5pe3JGKKsfarl0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4905; 7:gJgBI8KsSTW5yAHdOSjAh0VuM1qmgc5U6Qa0yyoe4cdqYDR7Q/q01ypcTFIkN1JWqGDGTRw1jR0TLTM2sM1DnoVGVDAJjqtYQfVXz8z4j1iNiuOeTCFEx2oRu/UWNayKn8UJp1a6VwPiX71RoHyU8bakTahSCy6F/KYFRIW2RC+bv+kVE+G4eJ3/C2d8/fwXMZ+fcNR4zsuTFtvFhjycvEZaK7OtiYtXJQx1wH1Rx3qgnwOxewSxx1c2qSwKRVq9 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2018 14:43:16.3035 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 63f34150-59c9-40c3-b78f-08d5e6737a3d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB4905 Subject: [dpdk-dev] [PATCH v2 0/4] 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, 10 Jul 2018 14:43:21 -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 OcteonTX crypto hardware supports this feature and would use headroom and tailroom for submitting crypto-ops to the hardware. v2: * Added corresponding change in scheduler PMD v1: * Removed deprecation notice and updated release notes * Added corresponding change in test-cryptodev Anoob Joseph (4): cryptodev: add min headroom and tailroom requirement app/crypto-perf: honour cryptodev's min headroom/tailroom test/crypto: skip validation of head/tailroom used by PMD crypto/scheduler: add minimum head/tailroom requirement 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/release_18_08.rst | 6 +++ drivers/crypto/scheduler/scheduler_pmd_ops.c | 16 ++++++++ lib/librte_cryptodev/rte_cryptodev.h | 6 +++ test/test/test_cryptodev_blockcipher.c | 60 +++++++++++++++++++++++++--- 7 files changed, 123 insertions(+), 17 deletions(-) -- 2.7.4