DPDK patches and discussions
 help / color / mirror / Atom feed
* MLX5 PMD access ring library private data
@ 2023-08-17  5:06 Honnappa Nagarahalli
  2023-08-17 14:06 ` Stephen Hemminger
  0 siblings, 1 reply; 14+ messages in thread
From: Honnappa Nagarahalli @ 2023-08-17  5:06 UTC (permalink / raw)
  To: dev, Matan Azrad, viacheslavo
  Cc: Tyler Retzlaff, Wathsala Wathawana Vithanage, nd, nd

Hi Matan, Viacheslav,
	Tyler pointed out that the function __mlx5_hws_cnt_pool_enqueue_revert is accessing the ring private structure members (prod.head and prod.tail) directly. Even though ' struct rte_ring' is a public structure (mainly because the library provides inline functions), the structure members are considered private to the ring library. So, this needs to be corrected.

It looks like the function __mlx5_hws_cnt_pool_enqueue_revert is trying to revert things that were enqueued. It is not clear to me why this functionality is required. Can you provide the use case for this? We can discuss possible solutions.

Thank you,
Honnappa

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

end of thread, other threads:[~2023-08-22  4:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-17  5:06 MLX5 PMD access ring library private data Honnappa Nagarahalli
2023-08-17 14:06 ` Stephen Hemminger
2023-08-18  2:32   ` Jack Min
2023-08-18  4:30     ` Honnappa Nagarahalli
2023-08-18  5:57       ` Jack Min
2023-08-18 13:59         ` Honnappa Nagarahalli
2023-08-19  1:34           ` Jack Min
2023-08-21  6:06             ` Honnappa Nagarahalli
2023-08-21  6:56               ` Jack Min
2023-08-22  4:18                 ` Honnappa Nagarahalli
2023-08-18  9:05     ` Konstantin Ananyev
2023-08-18  9:38       ` Jack Min
2023-08-19 11:57         ` Konstantin Ananyev
2023-08-20  1:41           ` Jack Min

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