<div dir="ltr">Applied to next-dts, thanks.</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Jul 4, 2025 at 11:30 AM Luca Vizzarro <<a href="mailto:luca.vizzarro@arm.com">luca.vizzarro@arm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Usage of example DPDK apps should be avoided. Therefore, remove<br>
the function that allows to build example apps. Moreover,<br>
provide a dedicated helper function to retrieve the path to a<br>
DPDK app.<br>
<br>
Signed-off-by: Luca Vizzarro <<a href="mailto:luca.vizzarro@arm.com" target="_blank">luca.vizzarro@arm.com</a>><br>
---<br>
 dts/framework/remote_session/dpdk.py | 33 +++-------------------------<br>
 1 file changed, 3 insertions(+), 30 deletions(-)<br>
<br>
diff --git a/dts/framework/remote_session/dpdk.py b/dts/framework/remote_session/dpdk.py<br>
index e00c4a9bf9..606d6e22fe 100644<br>
--- a/dts/framework/remote_session/dpdk.py<br>
+++ b/dts/framework/remote_session/dpdk.py<br>
@@ -267,36 +267,9 @@ def _build_dpdk(self) -> None:<br>
             self.remote_dpdk_build_dir,<br>
         )<br>
<br>
-    def build_dpdk_app(self, app_name: str, **meson_dpdk_args: str | bool) -> PurePath:<br>
-        """Build one or all DPDK apps.<br>
-<br>
-        Requires DPDK to be already built on the SUT node.<br>
-<br>
-        Args:<br>
-            app_name: The name of the DPDK app to build.<br>
-                When `app_name` is ``all``, build all example apps.<br>
-            meson_dpdk_args: The arguments found in ``meson_options.txt`` in root DPDK directory.<br>
-                Do not use ``-D`` with them.<br>
-<br>
-        Returns:<br>
-            The directory path of the built app. If building all apps, return<br>
-            the path to the examples directory (where all apps reside).<br>
-        """<br>
-        self._session.build_dpdk(<br>
-            self._env_vars,<br>
-            MesonArgs(examples=app_name, **meson_dpdk_args),  # type: ignore [arg-type]<br>
-            # ^^ <a href="https://github.com/python/mypy/issues/11583" rel="noreferrer" target="_blank">https://github.com/python/mypy/issues/11583</a><br>
-            self.remote_dpdk_tree_path,<br>
-            self.remote_dpdk_build_dir,<br>
-            rebuild=True,<br>
-            timeout=self._app_compile_timeout,<br>
-        )<br>
-<br>
-        if app_name == "all":<br>
-            return self._session.join_remote_path(self.remote_dpdk_build_dir, "examples")<br>
-        return self._session.join_remote_path(<br>
-            self.remote_dpdk_build_dir, "examples", f"dpdk-{app_name}"<br>
-        )<br>
+    def get_app(self, app_name: str) -> PurePath:<br>
+        """Retrieve path for a DPDK app."""<br>
+        return self._session.join_remote_path(self.remote_dpdk_build_dir, "app", f"dpdk-{app_name}")<br>
<br>
     @cached_property<br>
     def remote_dpdk_tree_path(self) -> PurePath:<br>
-- <br>
2.43.0<br>
<br>
</blockquote></div>