DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] comment: Describe how rte_cryptodev_info_get returns capabilities
@ 2017-10-24 14:53 Billy O'Mahony
  2017-10-25 16:01 ` Trahe, Fiona
  0 siblings, 1 reply; 3+ messages in thread
From: Billy O'Mahony @ 2017-10-24 14:53 UTC (permalink / raw)
  To: declan.doherty; +Cc: dev, Billy O'Mahony

Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
---
 lib/librte_cryptodev/rte_cryptodev.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h
index 88aeb87..dd37d77 100644
--- a/lib/librte_cryptodev/rte_cryptodev.h
+++ b/lib/librte_cryptodev/rte_cryptodev.h
@@ -656,6 +656,11 @@ rte_cryptodev_stats_reset(uint8_t dev_id);
  * @param	dev_info	A pointer to a structure of type
  *				*rte_cryptodev_info* to be filled with the
  *				contextual information of the device.
+ *
+ * @note The capabilities field of dev_info is set to point to the first
+ * element of an array of struct rte_cryptodev_capabilities. The element after
+ * the last valid element has it's op field set to
+ * RTE_CRYPTO_OP_TYPE_UNDEFINED.
  */
 extern void
 rte_cryptodev_info_get(uint8_t dev_id, struct rte_cryptodev_info *dev_info);
-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-25 16:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-24 14:53 [dpdk-dev] [PATCH] comment: Describe how rte_cryptodev_info_get returns capabilities Billy O'Mahony
2017-10-25 16:01 ` Trahe, Fiona
2017-10-25 16:13   ` De Lara Guarch, Pablo

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).