DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/3] common/cpt: improve structures used in datapath
@ 2019-03-01 18:42 Anoob Joseph
  2019-03-01 18:42 ` [dpdk-dev] [PATCH 2/3] common/cpt: redesign propagation of error Anoob Joseph
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Anoob Joseph @ 2019-03-01 18:42 UTC (permalink / raw)
  To: Akhil Goyal, Pablo de Lara
  Cc: Anoob Joseph, Jerin Jacob Kollanukkaran,
	Narayana Prasad Raju Athreya, Suheil Chandran, Ankur Dwivedi,
	dev

Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
---
 drivers/common/cpt/cpt_common.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/common/cpt/cpt_common.h b/drivers/common/cpt/cpt_common.h
index 8461cd6..8568d5b 100644
--- a/drivers/common/cpt/cpt_common.h
+++ b/drivers/common/cpt/cpt_common.h
@@ -60,14 +60,14 @@ struct rid {
  *
  */
 struct pending_queue {
+	/** Pending requests count */
+	uint64_t pending_count;
+	/** Array of pending requests */
+	struct rid *rid_queue;
 	/** Tail of queue to be used for enqueue */
 	uint16_t enq_tail;
 	/** Head of queue to be used for dequeue */
 	uint16_t deq_head;
-	/** Array of pending requests */
-	struct rid *rid_queue;
-	/** Pending requests count */
-	uint64_t pending_count;
 };
 
 struct cpt_request_info {
@@ -86,6 +86,6 @@ struct cpt_request_info {
 	/** Control path fields */
 	uint64_t time_out;
 	uint8_t extra_time;
-};
+} __rte_cache_aligned;
 
 #endif /* _CPT_COMMON_H_ */
-- 
2.7.4

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

end of thread, other threads:[~2019-03-22 15:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-01 18:42 [dpdk-dev] [PATCH 1/3] common/cpt: improve structures used in datapath Anoob Joseph
2019-03-01 18:42 ` [dpdk-dev] [PATCH 2/3] common/cpt: redesign propagation of error Anoob Joseph
2019-03-01 18:42 ` [dpdk-dev] [PATCH 3/3] crypto/octeontx: move device specific code to driver Anoob Joseph
2019-03-19  4:36 ` [dpdk-dev] [PATCH 1/3] common/cpt: improve structures used in datapath Anoob Joseph
2019-03-19  4:36   ` Anoob Joseph
2019-03-22 15:03   ` Akhil Goyal
2019-03-22 15:03     ` Akhil Goyal

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