From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) by dpdk.org (Postfix) with ESMTP id CAD1E10A7 for ; Mon, 27 Mar 2017 23:58:29 +0200 (CEST) Received: by mail-wr0-f176.google.com with SMTP id w11so61694303wrc.3 for ; Mon, 27 Mar 2017 14:58:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=vWYGbDSGcxtAy+bCUiPnVxUI0MlFqr/mEXMcW92gNrE=; b=rFXLTqw3GF53sO56Ir1jNKhJbm4PjqwlkOQe1MqCfH2J7bwJPJ+ThWt0+5p6BfMCwg YUrPiz2SRP8ltvDeqYD0txhLW5K+YTr9SMN478NJSAsnVMiXONucC9aoXc4YhhwSci6V f47uXI42f3V6J8o1AAI9zh7E3U28zs3tQX4CJxqAEj7XW2mNmKfHlQ44rZTxcqagk+zA TYPnDlqriCeaScV7OdmJRWeMPkgQ0uqV16iyizJWnJH57CmTFLVXo+YxkN0Z8Xlr7IDB g8cbRhFHhyeGF8fnIp69XikWw5LFUwiIFGMLT8V5bHxVWINvWZpfDMDRJzBC4B2RISD3 mGEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=vWYGbDSGcxtAy+bCUiPnVxUI0MlFqr/mEXMcW92gNrE=; b=DQhXqOkdojdYkoaSNG5kW4nsbdwNWAPS08aI2n3bsmn67Qb8fwVMKy2ZHuicgTgXF7 qbNfmM1pckk+5fWtLVsWHZPH8tB2YxBVEAUSLt4BAfyTdujYoLU+KEtWOjI/vkYF+liB 2/ddpwwaYFutjbIOYKMS3FBBC4oqpOVL1TS5FSv9UbAYOKSRWCv5hatkiVE+cnwwt/oH Xqb3DZvwzpgUTVjkXz1uedyH3tSr+l/ZW+k4+ylivged8np6W7xSkuDx4aX1C5eM2kJh ccl9ftVLyYCS0rnE8b0two2mRNWwyehIc/VSpGzCeQrBN5w9g9GoCgrAcooQes4RbbNI Pr0Q== X-Gm-Message-State: AFeK/H3OYU+ArBkkUjSHgwpg+BVALiyHZPTvN7y+qKuO4ZBFIHV2V6CkLJAlyDMik33aQ9bF X-Received: by 10.28.27.14 with SMTP id b14mr11417687wmb.50.1490651909586; Mon, 27 Mar 2017 14:58:29 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id 201sm1051699wmr.5.2017.03.27.14.58.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Mar 2017 14:58:29 -0700 (PDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org Date: Mon, 27 Mar 2017 23:58:28 +0200 Message-ID: <3836698.qL7ye4rpXD@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170327145440.9648-1-bruce.richardson@intel.com> References: <20170327145440.9648-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] drivers/crypto: fix drivers to use ring size function 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, 27 Mar 2017 21:58:29 -0000 2017-03-27 15:54, Bruce Richardson: > Rather than reading the size directly from the ring structure, use the > dedicated ring function for that purpose. > Previous commits to do this only did so for the null crypto driver which > was the only one compiled in by default, but all other drivers need to be > similarly updated. > > Fixes: b11c78a2e0c6 ("crypto/null: use ring size function") > > Signed-off-by: Bruce Richardson Applied, thanks Next step: merge your ring rework :)