DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] ethdev: add missing doxygen
@ 2018-01-19 11:42 Radu Nicolau
  2018-01-19 20:10 ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Radu Nicolau @ 2018-01-19 11:42 UTC (permalink / raw)
  To: dev
  Cc: thomas, ferruh.yigit, declan.doherty, borisp, aviadye,
	hemant.agrawal, Radu Nicolau

Added missing doxygen for rte_eth_dev_get_sec_ctx
and moved the declaration to the proper place.

Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
 lib/librte_ether/rte_ethdev.h | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index a5ba564..f5053c2 100644
--- a/lib/librte_ether/rte_ethdev.h
+++ b/lib/librte_ether/rte_ethdev.h
@@ -1721,9 +1721,6 @@ struct rte_eth_dev {
 	void *security_ctx; /**< Context for security ops */
 } __rte_cache_aligned;
 
-void *
-rte_eth_dev_get_sec_ctx(uint8_t port_id);
-
 struct rte_eth_dev_sriov {
 	uint8_t active;               /**< SRIOV is active with 16, 32 or 64 pools */
 	uint8_t nb_q_per_pool;        /**< rx queue number per pool */
@@ -4582,6 +4579,20 @@ int rte_eth_dev_adjust_nb_rx_tx_desc(uint16_t port_id,
 int
 rte_eth_dev_pool_ops_supported(uint16_t port_id, const char *pool);
 
+
+/**
+ * Get the security context for the Ethernet device.
+ *
+ * @param port_id
+ *   Port identifier of the Ethernet device
+ * @return
+ *   - NULL on error.
+ *   - pointer to security context on success.
+ */
+void *
+rte_eth_dev_get_sec_ctx(uint8_t port_id);
+
+
 #ifdef __cplusplus
 }
 #endif
-- 
2.7.5

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

* Re: [dpdk-dev] [PATCH] ethdev: add missing doxygen
  2018-01-19 11:42 [dpdk-dev] [PATCH] ethdev: add missing doxygen Radu Nicolau
@ 2018-01-19 20:10 ` Ferruh Yigit
  2018-01-19 20:11   ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Ferruh Yigit @ 2018-01-19 20:10 UTC (permalink / raw)
  To: Radu Nicolau, dev; +Cc: thomas, declan.doherty, borisp, aviadye, hemant.agrawal

On 1/19/2018 11:42 AM, Radu Nicolau wrote:
> Added missing doxygen for rte_eth_dev_get_sec_ctx
> and moved the declaration to the proper place.
> 
> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

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

* Re: [dpdk-dev] [PATCH] ethdev: add missing doxygen
  2018-01-19 20:10 ` Ferruh Yigit
@ 2018-01-19 20:11   ` Ferruh Yigit
  0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2018-01-19 20:11 UTC (permalink / raw)
  To: Radu Nicolau, dev; +Cc: thomas, declan.doherty, borisp, aviadye, hemant.agrawal

On 1/19/2018 8:10 PM, Ferruh Yigit wrote:
> On 1/19/2018 11:42 AM, Radu Nicolau wrote:
>> Added missing doxygen for rte_eth_dev_get_sec_ctx
>> and moved the declaration to the proper place.
>>
>> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to dpdk-next-net/master, thanks.

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

end of thread, other threads:[~2018-01-19 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-19 11:42 [dpdk-dev] [PATCH] ethdev: add missing doxygen Radu Nicolau
2018-01-19 20:10 ` Ferruh Yigit
2018-01-19 20:11   ` Ferruh Yigit

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