examples/ptp_tap_relay_sw: fix build inclusion
PATCH 1/1 examples/ptp_tap_relay_sw: fix build inclusion
From: Jerin Jacob <[email protected]>
The ptp_tap_relay_sw example was not building because examples/meson.build was not updated to wire up this directory.
--- examples/meson.build | 1 + 1 file changed, 1 insertion(+)
examples/meson.build +1 -0
@@ -43,6 +43,7 @@ all_examples = [ 'packet_ordering', 'pipeline', 'ptpclient', + 'ptp_tap_relay_sw', 'qos_meter', 'qos_sched', 'rxtx_callbacks',
Signature · 1 line
2.54.0
Quoted 5 lines · On Wed, 2 Sept 2026 at 10:25, <[email protected]> wrote:
From: Jerin Jacob <[email protected]>
The
ptp_tap_relay_swexample was not building because examples/meson.build was not updated to wire up this directory.
Ouch, the whole example looks like dead code.
I wonder how it was tested by the author...
The series that introduced it has no trace of touching examples/meson.build in the v6, v7 and v8 iterations :-(.
Quoted 5 lines
Fixes bec00deaa8fb ("examples/ptp_tap_relay_sw: add PTP transparent clock relay")Signed-off-by Jerin Jacob <[email protected]>
The fix lgtm.
For the record, it is the only dead example at this point in time in DPDK.
Signature · 1 line
David Marchand
Quoted 14 lines · David Marchand
Quoted 5 lines · On Wed, 2 Sept 2026 at 10:25, <[email protected]> wrote:
From: Jerin Jacob <[email protected]>
The
ptp_tap_relay_swexample was not building because examples/meson.build was not updated to wire up this directory.Ouch, the whole example looks like dead code.
I wonder how it was tested by the author...
The series that introduced it has no trace of touching examples/meson.build in the v6, v7 and v8 iterations :-(.Quoted 1 line
Quoted 8 lines
Quoted 4 lines
Fixes bec00deaa8fb ("examples/ptp_tap_relay_sw: add PTP transparent clock relay")Signed-off-by Jerin Jacob <[email protected]>The fix lgtm.
For the record, it is the only dead example at this point in time in DPDK.
It's not dead code, since it was buildable before when it was named using "examples=" parameter. The list of all examples is only used when "-Dexamples=all" is passed, so we are just missing this examples from automated build testing using the "all" param.
Quoted 18 lines · On Wed, Sep 02, 2026 at 01:55:23PM +0530, [email protected] wrote:
From: Jerin Jacob <[email protected]>
The
ptp_tap_relay_swexample was not building because examples/meson.build was not updated to wire up this directory.Fixes bec00deaa8fb ("examples/ptp_tap_relay_sw: add PTP transparent clock relay")Signed-off-by Jerin Jacob <[email protected]>--- examples/meson.build | 1 + 1 file changed, 1 insertion(+)examples/meson.build +0
-0
examples/meson.build all_examples = [ · line 49
Quoted 7 lines
examples/meson.build +1
-0@@ -43,6 +43,7 @@ all_examples = [ 'packet_ordering', 'pipeline', 'ptpclient', + 'ptp_tap_relay_sw', 'qos_meter', 'qos_sched', 'rxtx_callbacks',
Minor nit, the ptp_tap_relay_sw line should be before ptpclient rather than after, as word breaks or underscores count before "a" alphabetically, rather than being skipped.
Otherwise:
Quoted 3 lines
Signature · 1 line
2.54.0
PATCH v2 1/1 examples/ptp_tap_relay_sw: fix build inclusion
In reply to [email protected]From: Jerin Jacob <[email protected]>
The ptp_tap_relay_sw example was not building because examples/meson.build was not updated to wire up this directory.
---
v2:
- fix the order in meson file(Bruce)
examples/meson.build | 1 + 1 file changed, 1 insertion(+)
examples/meson.build +1 -0
@@ -42,6 +42,7 @@ all_examples = [ 'ntb', 'packet_ordering', 'pipeline', + 'ptp_tap_relay_sw', 'ptpclient', 'qos_meter', 'qos_sched',
Signature · 1 line
2.54.0
Thomas Monjalon
Applied02/09/2026 17:33, [email protected]:
Quoted 10 lines
From: Jerin Jacob <[email protected]>
The
ptp_tap_relay_swexample was not building because examples/meson.build was not updated to wire up this directory.Fixes bec00deaa8fb ("examples/ptp_tap_relay_sw: add PTP transparent clock relay")Signed-off-by Jerin Jacob <[email protected]>Acked-by Bruce Richardson <[email protected]>
Applied, thanks.