From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40071.outbound.protection.outlook.com [40.107.4.71]) by dpdk.org (Postfix) with ESMTP id 799B15F0D for ; Mon, 18 Jun 2018 08:29:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8eg3LwDOwm1MZWc16mTMfKqdFu3swviL9sxDsK/T57E=; b=PLENnhEaIrp/KSrZtkA2WCkyRi8QC2UGTJuOnBWvGaWuIA7aGzoRHBtVgiRRDx87KWRFj07NVmKva+SQMAeOWJsmAoHt8a0is39Aicgz3c1J77YHuiz3kNL52LwhAqEHr4UceRg9h5Ypxhw/8pgJl0uPcgRAQ/Zywp8EoIpylIY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.134.49] (14.142.187.166) by VI1PR04MB1389.eurprd04.prod.outlook.com (2a01:111:e400:5348::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.17; Mon, 18 Jun 2018 06:29:55 +0000 To: Pablo de Lara , declan.doherty@intel.com, akhil.goyal@nxp.com, ravi1.kumar@amd.com, jerin.jacob@caviumnetworks.com, roy.fan.zhang@intel.com, fiona.trahe@intel.com, tdu@semihalf.com, jianjay.zhou@huawei.com References: <20180608220234.10170-1-pablo.de.lara.guarch@intel.com> <20180608220234.10170-7-pablo.de.lara.guarch@intel.com> Cc: dev@dpdk.org From: Akhil Goyal Organization: NXP Message-ID: <14d048b2-2787-0365-08ac-5ffef6128bec@nxp.com> Date: Mon, 18 Jun 2018 11:59:38 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20180608220234.10170-7-pablo.de.lara.guarch@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0030.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::16) To VI1PR04MB1389.eurprd04.prod.outlook.com (2a01:111:e400:5348::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ae0da16d-1e8a-46a6-d06f-08d5d4e4e915 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB1389; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1389; 3:9CKjgboWjBU8CjnxBfLzTRf8KRsFQ9hYp1StW2qnzxo4K+rIucUlSkcCSaTRSml+6BchIhdTT1k9eDn+oC+w9URMDrHqqe3xf9q4twcUcV61dMjvjVH2YP53IEou3emnrv+x7opkdA5Ud4M9av9yQUVUyoyWh4aynIexovA1h1ze66Efn6q/A1uhcbG7p+YXX+Mq9bJz3O4ba9fUWx3Zy6ffqTYYsb3xtgFPUVvfD2DIbX3v7+CintA0Xui+DQFd; 25:Fgjl8/K9p2soLTg6HZtKnYyWgHPdrbovwAZ73LOA+U7tIzv3hZuMLqw9jTJUEB5E3NkLm/qGNRv4W6CbrvZH1ywX4boeuM5D4Ry07fdvtNznODtPNCRsudOXvunpYKO3NnrTthNPu4/PA0hQFFbmy4ogesJVWRr/deK5jemyXsO7XKScQuyQxZ5s1MaJDCc2qUqedxBErv5lkOpYFVKBe3qmo8tj9zRSLid058UJyLwNUHlnC0FeTi0UAxzLKSoxRoGgmeCr7rW7+WVQWss3MpWgIDS2OJoI68PxfDoZquY73L1PNsJSyeX6j0X9TODdEMnppcmGOz9M4VyLu9l+Ew==; 31:WdKekzb0SjxVrCyK6R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E8sChGApes3oVC879RK2hVyeB4X3a+jwY/pZ73IvxoabXgQqw0aIgRwyYq6EsnJ49AOiRMTgamChwOO4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(788757137089)(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:VI1PR04MB1389; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1389; X-Forefront-PRVS: 0707248B64 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(39860400002)(39380400002)(346002)(376002)(396003)(366004)(199004)(189003)(305945005)(7736002)(23746002)(76176011)(36916002)(52116002)(16576012)(316002)(58126008)(105586002)(31686004)(386003)(5009440100003)(106356001)(68736007)(486006)(47776003)(55236004)(11346002)(446003)(476003)(53546011)(186003)(2616005)(77096007)(16526019)(230700001)(44832011)(956004)(26005)(6666003)(65956001)(65806001)(67846002)(53936002)(229853002)(36756003)(5660300001)(478600001)(8666007)(65826007)(6116002)(3846002)(86362001)(2906002)(6486002)(8676002)(31696002)(81156014)(81166006)(4326008)(25786009)(3260700006)(8936002)(64126003)(50466002)(97736004)(6246003)(66066001)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1389; H:[10.232.134.49]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; VI1PR04MB1389; 23:kWTn7etCNRMRPTYYtexS9obkF/0s7IrCUEkQU?= =?Windows-1252?Q?1cpZ/qMOajhPdFhJtdmg3XbGlDdf4nhuzcdVqyz6jMd4LmHYScztiVD9?= =?Windows-1252?Q?TYs86Ixo2Mb6fAHCyjQJTxu0WicyUJZKvXNeIz9pFq2jLARfVQzn/NUB?= =?Windows-1252?Q?99SZMJ+SzmsjFZ/v6Z8rj5JEfRBQP7zg7cKp8C4tppuKd57NA1mzh/dh?= =?Windows-1252?Q?DXMozqvnrI64s835AjSs6EDkQIiIb/DmCon6rQA0XLjzAVHE1sP+xAbU?= =?Windows-1252?Q?VyaFkar/ZUFgmVX4L/SHMxw+i0nlJhmiln9SzSj7x5x8iCa3niqx6YZJ?= =?Windows-1252?Q?iteklJks3AFxdKjbZS5gqhnngsL+H9Ax3K5RgLwSqBzqP3Ve/256DwdM?= =?Windows-1252?Q?eKIdzcXXoodMGdfh/43Rh9QWlmnJbgZglCEWNmVctyyYZJIs8FdnB55K?= =?Windows-1252?Q?1LUw6bSwoz4/bZ4was8AZGZ62r9eAgvcvKxYLhNPcTgAc7lo4rpIJtjh?= =?Windows-1252?Q?2/NeP9bs7S/Wd1lTzZNB9BW3KRK3QeWF0K3J3vgwQe408K43bfcXCsjM?= =?Windows-1252?Q?lOdIG3dHQ0lINCaqphelAcaKeL4NJ8Xlf0WFNnVB3IdzXSxp1lRCRUmz?= =?Windows-1252?Q?PLh8AYPkxiX6aaVga5YM14hNayV2QUnN1gHueSC6pa96MaY4qodq4vRH?= =?Windows-1252?Q?LHLa2fNPQTLeX2jIqMUr/L19Uequ+ocIXXVV6innplZzKmJ0mlExPJ3q?= =?Windows-1252?Q?W+ztCQpbLS+mcyMWtiKwSjrXNGEoopIJ6rd8SNwIUjqXuojIP2tCky6b?= =?Windows-1252?Q?j19iAs3VQ0P22flhJhErBl5oFgFi9axCuYSH+j/kH8SUCTIRuZavQbX8?= =?Windows-1252?Q?2k/ldDUtqg83tT3eFdRyQZY5zkgjQj/ra+vIcAAd5qoDrdpiiPTAy8zz?= =?Windows-1252?Q?h+/3oU0C8Gnjc5+gv6OOP8yDzbMEF2CUpj3ZAXA2bipnYYzaUvkJtLse?= =?Windows-1252?Q?afa9X+qojkSWHa+NSD6qrvjJKpd+m8V8ZUR835VL1evPoktNyKeBfPgt?= =?Windows-1252?Q?pVyAsB5DDpL0k2kN1lLCD9Hg2o1Q9CPSlJ7un7cLJkcbtmdp9nzS9epi?= =?Windows-1252?Q?5moW7AV46P6Ee0NTN7lAYujaOfpJtMg6YLxjoUugxdeXLXz0kRIU8oex?= =?Windows-1252?Q?w1JfpkDK3+DYxd16Ihs2IADzQF+dny9umLbFbIYxqMx9WVA+QfvMdiJB?= =?Windows-1252?Q?UYgQkml7Cuoq3xLZyAKTcqkrXU918F5yI+eS2Sux40c1mL5qnciQk3Kq?= =?Windows-1252?Q?jlLB5tt8w8wRb3hWK3zeNANc4+G37fEJCyR/5EgQes405rVzkE7StweP?= =?Windows-1252?Q?qvyckWFKY3ZccJ94YMDwjNI2Dp9TCNx76GBtNFwFWl6zoBRcWx3IdQBW?= =?Windows-1252?Q?Jniqh2KdlzEILcMIAWtowqAu6pZ+C12hKSQ5LAWuSe8NAKLJz/ftwQlx?= =?Windows-1252?Q?wrA+MDkhLxaYGJMtIC0YC1/2AOfi7CNbFKHJTbSJiAzSndSWaVSNa9Ia?= =?Windows-1252?Q?3fcU/sbzOxEgnAtkUOZYlo9o3fR5E50lF5bCD9dQGHrQMrAt0PkjIefI?= =?Windows-1252?Q?yZ6712e14wdz8Zgfgcvlxv5Y3RfxjZdIa5XT3DXucWd?= X-Microsoft-Antispam-Message-Info: 4Krw/3rAl0kK3uJMn9GBZ+cV/D+H73oVEZxENe0oWggJvLVWPPwPxRm8HRQs4IL7DAhN+sT4eKbq96u4JrxVSCld94eP/sKUjMWsxu4tL6G99z3l57QFohforCbEXFm3hVQdQqNiNk7mdbyLp2YJcGDD1kaoPvKXcmQRGJRLUSUN+VwB6GxUzywuDkcFqmXrcRmbkz5M2ZZgxdzicxgUOStr73H1m7tCE9JcMZ1dtk5KscgdKrYdqrCeWci6qeFQBMSlEtxbtRcFpZJOBFjw/67D2IAFvgHttEBPP6J6PkY0iAWbztK7HmOktb3GYFVrcHPYiUe+nPY1TmjqXnCXXQ== X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1389; 6:XxcjZ5G+VwM4WJlrDUyTUpD6TvP+QYHqUnQUfVn8MK6jfR5shP73awLWJ5nd7bE9SgtRMjiDu0K12tiTs1yu3ihDe48pG1THK3h7fhOPuvnDCpxpGwsX6IW6f99Z2mG+rhAmkoCOhGOzxL2gHkR03o7d9wmNX7XI8fMd6eQgJOetee/uQ7rjq4pQWb0FA/aEuPg8qgh2szXWF8Q27hiBxxOx57AuUVM2osilpAB73B4CuZu/X/stRktJAIcgDtXxU3iBxRxjo5BNkGvGUy6HWpioGwDxuNMoUPOleHbJYcOB977wjkDx/B+7SipL25ZGlPy1aVIs11tIC/MNa5YVlqs7TwskNGOGUnZVu4ZgS3CPvLrfAm0Fk2D5XW1vEnmTSCnySXwLBoJjB2ELxeB7vfQVglwJ92At3vcawlp6E4qfeLhLNcfn1a8E3rKPX9a5STBaSS1q0i6InFknA0YlOw==; 5:O7M934kzQtZEjR+mUA/+HrqjjVZzGABxOJquDNtgCuMiaUx5s1ju78Tchrz/Gkx7OeuorED8EYd67uBB4A/VGsRuECdNuS8wvaHxcxVwT6mNb4k+xhrH6QF8g+wfun7Tqor4XwbkvqCBLnM+fnuNoNChOoiIoXQCHkA24HQtiJI=; 24:dpPC9uaX74211gsAWGblNylWJhSbo/OvZYbtEblGLNhUSSgGxbdhK+f+fhD/rYdXr1TjhkuxwSC0wJ9ju04hSFIUMOhcYMD2yEWjnkzZzog= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1389; 7:qb1P7lxgzUq6h0B8nGIkK2XkQyjFTuKPebizWvTkt3utSznUq/kkkdBWtreEEGfdOS2VocO4pP+oC8TbQxIObCxwieB2NwQ8TUvo/TnN/lkdz5dIMETHpxjP52lu+nBaOqZ27Qx3smkp2GfOCC+CjdaSixuir4LYqGBX6nzjOkHbzg7VMg/Vq21bwOW1HTNhebPGH1RtfCFZtmfr/NJ9GPoR++kkGRcoJIbJPGv8DDfEFagioXNjO7vZUJH5t5DF X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2018 06:29:55.3239 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ae0da16d-1e8a-46a6-d06f-08d5d4e4e915 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1389 Subject: Re: [dpdk-dev] [PATCH 6/6] cryptodev: replace mbuf scatter gather flag 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, 18 Jun 2018 06:29:59 -0000 Hi Pablo, On 6/9/2018 3:32 AM, Pablo de Lara wrote: > The current mbuf scatter gatter feature flag is > too ambiguous, as it is not clear if input and/or output > buffers can be scatter gather mbufs or not. > > Therefore, two new flags will replace this flag: > RTE_CRYPTODEV_FF_MBUF_SCATTER_GATHER_IN and > RTE_CRYPTODEV_FF_MBUF_SCATTER_GATHER_OUT. > There may be a case, SG supported in input buffer and we use in-place processing and driver may support that but may not support SG for out buffers in case of OOP. How can we handle this type of case? > Signed-off-by: Pablo de Lara > --- > doc/guides/rel_notes/deprecation.rst | 2 - > doc/guides/rel_notes/release_18_08.rst | 4 ++ > drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 2 +- > drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 +- > drivers/crypto/dpaa_sec/dpaa_sec.c | 3 +- > drivers/crypto/null/null_crypto_pmd.c | 3 +- > drivers/crypto/openssl/rte_openssl_pmd.c | 2 +- > drivers/crypto/qat/rte_qat_cryptodev.c | 3 +- > lib/librte_cryptodev/rte_cryptodev.c | 6 ++- > lib/librte_cryptodev/rte_cryptodev.h | 12 +++--- > test/test/test_cryptodev.c | 41 ++++++++++++++------- > test/test/test_cryptodev_blockcipher.c | 11 ++++-- > 12 files changed, 59 insertions(+), 32 deletions(-) >