DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] doc: add deprecation notice for inconsistent socket_id types
@ 2022-10-14  8:09 Markus Theil
  2022-10-14 10:43 ` Jerin Jacob
  2023-07-16 17:34 ` Stephen Hemminger
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Theil @ 2022-10-14  8:09 UTC (permalink / raw)
  To: dev; +Cc: Ferruh Yigit, Markus Theil

DPDK uses many different types for socket_id's in its whole code
base. This leads to many warnings and casts in DPDK-based applications
compiled with -Wconversion.

Announce a treewide consolidation to the return type of rte_socket_id
in DPDK 23.11.

Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
---
 doc/guides/rel_notes/deprecation.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 05cacb3ea8..7f4c468542 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -96,3 +96,10 @@ Deprecation Notices
   to have another parameter ``qp_id`` to return the queue pair ID
   which got error interrupt to the application,
   so that application can reset that particular queue pair.
+
+* eal/treewide: currently socket_id's use many different data types
+  throughout the codebase. This complicates compiling DPDK-based
+  applications with enabled -Wconversion. Fix this, by changing
+  all occurences to the return type of rte_socket_id().
+  DPDK 23.11 should receive a batch cleanup to a single, consistent
+  data type.
-- 
2.38.0


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

end of thread, other threads:[~2023-07-16 17:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-14  8:09 [PATCH] doc: add deprecation notice for inconsistent socket_id types Markus Theil
2022-10-14 10:43 ` Jerin Jacob
2023-07-16 17:34 ` Stephen Hemminger

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