DPDK patches and discussions
 help / color / mirror / Atom feed
From: Artur Trybula <arturx.trybula@intel.com>
To: dev@dpdk.org, pablo.de.lara.guarch@intel.com,
	declan.doherty@intel.com, ruifeng.wang@arm.com, g.singh@nxp.com,
	ravi1.kumar@amd.com, akhil.goyal@nxp.com, tdu@semihalf.com,
	anoobj@marvell.com, fiona.trahe@intel.com,
	roy.fan.zhang@intel.com, jianjay.zhou@huawei.com,
	shallyv@marvell.com, arturx.trybula@intel.com
Subject: [dpdk-dev] [PATCH 2/3] cryptodev: remove unused element from device operations
Date: Fri,  6 Mar 2020 12:16:34 +0100	[thread overview]
Message-ID: <20200306111635.489-2-arturx.trybula@intel.com> (raw)
In-Reply-To: <20200306111635.489-1-arturx.trybula@intel.com>

This commit removes unused function pointer (queue_pair_count)
from struct rte_cryptodev_ops.

Signed-off-by: Artur Trybula <arturx.trybula@intel.com>
---
 lib/librte_cryptodev/rte_cryptodev_pmd.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/lib/librte_cryptodev/rte_cryptodev_pmd.h b/lib/librte_cryptodev/rte_cryptodev_pmd.h
index 0e6b5f443..81975d72b 100644
--- a/lib/librte_cryptodev/rte_cryptodev_pmd.h
+++ b/lib/librte_cryptodev/rte_cryptodev_pmd.h
@@ -207,15 +207,6 @@ typedef int (*cryptodev_queue_pair_setup_t)(struct rte_cryptodev *dev,
 typedef int (*cryptodev_queue_pair_release_t)(struct rte_cryptodev *dev,
 		uint16_t qp_id);
 
-/**
- * Get number of available queue pairs of a device.
- *
- * @param	dev	Crypto device pointer
- *
- * @return	Returns number of queue pairs on success.
- */
-typedef uint32_t (*cryptodev_queue_pair_count_t)(struct rte_cryptodev *dev);
-
 /**
  * Create a session mempool to allocate sessions from
  *
@@ -344,8 +335,6 @@ struct rte_cryptodev_ops {
 	/**< Set up a device queue pair. */
 	cryptodev_queue_pair_release_t queue_pair_release;
 	/**< Release a queue pair. */
-	cryptodev_queue_pair_count_t queue_pair_count;
-	/**< Get count of the queue pairs. */
 
 	cryptodev_sym_get_session_private_size_t sym_session_get_size;
 	/**< Return private session. */
-- 
2.17.1


  reply	other threads:[~2020-03-06 11:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06 11:16 [dpdk-dev] [PATCH 1/3] drivers/crypto: " Artur Trybula
2020-03-06 11:16 ` Artur Trybula [this message]
2020-03-09  5:45   ` [dpdk-dev] [PATCH 2/3] cryptodev: " Ruifeng Wang
2020-03-10 11:06   ` Trahe, Fiona
2020-03-10 16:37   ` [dpdk-dev] [EXT] " Anoob Joseph
2020-03-06 11:16 ` [dpdk-dev] [PATCH 3/3] compressdef: remove unused function pointer prototype Artur Trybula
2020-03-09  5:50   ` Ruifeng Wang
2020-03-09  5:45 ` [dpdk-dev] [PATCH 1/3] drivers/crypto: remove unused element from device operations Ruifeng Wang
2020-03-10 11:05 ` Trahe, Fiona
2020-03-10 16:35 ` [dpdk-dev] [EXT] " Anoob Joseph
2020-03-25 19:08   ` Akhil Goyal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200306111635.489-2-arturx.trybula@intel.com \
    --to=arturx.trybula@intel.com \
    --cc=akhil.goyal@nxp.com \
    --cc=anoobj@marvell.com \
    --cc=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    --cc=fiona.trahe@intel.com \
    --cc=g.singh@nxp.com \
    --cc=jianjay.zhou@huawei.com \
    --cc=pablo.de.lara.guarch@intel.com \
    --cc=ravi1.kumar@amd.com \
    --cc=roy.fan.zhang@intel.com \
    --cc=ruifeng.wang@arm.com \
    --cc=shallyv@marvell.com \
    --cc=tdu@semihalf.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).