@@ -52,6 +52,78 @@ Examples:
52
52
- See em-odp/README for usage and compilation instructions.
53
53
- See em-odp/include/event_machine/README_API for API changes
54
54
55
+ --------------------------------------------------------------------------------
56
+ Event Machine (EM) on ODP v3.6.0
57
+ --------------------------------------------------------------------------------
58
+ - Support for EM API v3.6 (em-odp/include/),
59
+ see API additions and changes in em-odp/include/event_machine/README_API.
60
+ Summary:
61
+ * Packet event APIs: new API module for manipulation of packet events
62
+ * Timer API: moved from add-ons to the base EM API
63
+ * Event: em_event_pointer_and_size()
64
+ * Deprecation macros/defines
65
+
66
+ - Add support for using ODP API 1.45
67
+ Update EM to be able to run against ODP API v1.45.
68
+
69
+ - Deprecated EM API enable/disable configuration option
70
+ - Add a new configure-script option that enables/disables decprecated EM APIs.
71
+ Old EM APIs can be deprecated in new EM releases through the use of
72
+ deprecation macros and defines found in event_machine_deprecated.h(.in)
73
+ (additionally see include/event_machine/README_API for API v3.6 description
74
+ of deprecation macros).
75
+ The deprecation of an API will cause any use of it to fail the compilation.
76
+ The user may, however, decide to enable the deprecated APIs (by using
77
+ --enable-deprecated) during a transition period until the deprecated API
78
+ usage has been replaced.
79
+
80
+ configure.ac:
81
+ -------------
82
+ New configure option:
83
+ --enable-deprecated enable deprecated EM API definitions [default=disabled]
84
+
85
+ - Event State Verification (ESV) changes
86
+ - Added ESV compile-time vs. runtime configuration checks.
87
+ Verifies that ESV was activated also during
88
+ compile time (with configure option: '--enable_esv')
89
+ when enabling it during runtime (via the EM config file: esv.enable = true).
90
+ Warn the user otherwise.
91
+ The user might not notice that the run time config file option has no effect
92
+ if ESV has been disabled during compilation.
93
+ Example:
94
+ build> ../configure --disable-esv … (set the define EM_ESV_ENABLE to 0)
95
+ vs.
96
+ <em-odp>/config/em-odp.conf:
97
+ esv: {
98
+ # Runtime ESV enable/disable option.
99
+ # Allows the user to disable ESV without recompilation when
100
+ # 'configure --enable-esv'.
101
+ enable = true
102
+ …
103
+ }
104
+ will show the following warning at startup:
105
+ …
106
+ EM ESV config: (EM_ESV_ENABLE=0)
107
+ ESV disabled
108
+ esv.enable: true(1)
109
+ WARNING: ESV disabled (build-time) - config file option IGNORED!
110
+ …
111
+ Note that the warning is only printed, no other action is taken.
112
+
113
+ - EM Termination
114
+ - Move functionality from em_term_core() to em_term().
115
+ Now em_term_core() only flushes events stashed locally on the core
116
+ and em_term() flushes the rest of the events at the end.
117
+ Additionally, em_term() joins all available queue groups to be able to
118
+ flush all events from the scheduler before terminating.
119
+
120
+ - Programs
121
+ - New performance test programs added
122
+ - programs/performance/queues_output.c
123
+ Event Machine performance test for output queues.
124
+ - programs/performance/loop_vectors.c
125
+ Event Machine performance test for vector events
126
+
55
127
--------------------------------------------------------------------------------
56
128
Event Machine (EM) on ODP v3.5.0
57
129
--------------------------------------------------------------------------------
@@ -556,7 +628,7 @@ Event Machine (EM) on ODP v2.9.0
556
628
- EM Command Line Interface (EM CLI) update
557
629
- Further EM CLI commands added, use the command "help" to see all available
558
630
commands:
559
- (<em-odp.conf>: cli.enable = true)
631
+ (<em-odp.conf>: cli.enable = true)
560
632
$> telnet localhost 55555
561
633
EM-ODP> help
562
634
Commands available:
@@ -621,7 +693,7 @@ Event Machine (EM) on ODP v2.8.0
621
693
em_eo_start_sync(), em_queue_group_modify_sync() etc. are allowed.
622
694
Previously only one sync-operation at a time was permitted, now there is
623
695
no limit.
624
- One restriction remains: conserned cores need to be dispatching
696
+ One restriction remains: concerned cores need to be dispatching
625
697
(or processing other sync-API calls) for the operations to complete.
626
698
A core that has left the dispatch loop or is sleeping etc. will not allow
627
699
the sync-API operation to complete.
@@ -879,10 +951,10 @@ Event Machine on ODP v2.5.0
879
951
"
880
952
Note: ESV-errors are always reported with the same error-code:
881
953
EM_FATAL(EM_ERR_EVENT_STATE) = 0x80000010
882
- 'prev-state' shows the previous good state of the event. i.e. the
883
- previous place where EM observed the event in a valid state.
884
- 'new-state' shows the current detected illegal state that
885
- caused the error.
954
+ 'prev-state' shows the previous good state of the event. i.e. the
955
+ previous place where EM observed the event in a valid state.
956
+ 'new-state' shows the current detected illegal state that
957
+ caused the error.
886
958
887
959
Using ESV has an impact on performance.
888
960
Each event-state transition updates an atomic counter and stores further
@@ -1158,9 +1230,10 @@ Event Machine on ODP v1.3.0
1158
1230
--------------------------------------------------------------------------------
1159
1231
- Support for EM API v1.3 (em-odp/include), see API changes in
1160
1232
em-odp/include/event_machine/README_API
1161
- - Support for EM add-ons APIs, here the EM event timer API v1.0, read about
1162
- add-on APIs in em-odp/include/event_machine/add-ons/README.
1163
- See new event timer examples/tests in em-odp/programs/example/add-ons/
1233
+ - Support for EM add-ons APIs, read about add-on APIs in
1234
+ em-odp/include/event_machine/add-ons/README.
1235
+ - EM event timer API v1.0.
1236
+ See new event timer examples/tests in em-odp/programs/example/timer/
1164
1237
1165
1238
--------------------------------------------------------------------------------
1166
1239
Event Machine on ODP v1.2.3
0 commit comments