@@ -73,18 +73,9 @@ class Parameters
7373 // / Type for the DMA page size parameter
7474 using DmaPageSizeType = size_t ;
7575
76- // / Type for the generator enabled parameter
77- using GeneratorEnabledType = bool ;
78-
79- // / Type for the generator data size parameter
80- using GeneratorDataSizeType = size_t ;
81-
8276 // / Type for the LoopbackMode parameter
8377 using GeneratorLoopbackType = LoopbackMode::type;
8478
85- // / Type for the generator data size parameter
86- using GeneratorRandomSizeEnabledType = bool ;
87-
8879 // / Type for the link mask parameter
8980 using LinkMaskType = std::set<uint32_t >;
9081
@@ -164,16 +155,6 @@ class Parameters
164155 // / \return Reference to this object for chaining calls
165156 auto setDmaPageSize (DmaPageSizeType value) -> Parameters&;
166157
167- // / Sets the GeneratorEnabled parameter
168- // /
169- // / If enabled, the card will generate data internally.
170- // / The format and content of this data is controlled by the other generator parameters.
171- // / 'None' loopback mode is not allowed in conjunction with the data generator (see setGeneratorLoopback()).
172- // /
173- // / \param value The value to set
174- // / \return Reference to this object for chaining calls
175- auto setGeneratorEnabled (GeneratorEnabledType value) -> Parameters&;
176-
177158 // / Sets the LinkLoopbackEnabled parameter
178159 // /
179160 // / If enabled the link is on loopback mode enabling the use of the DDG.
@@ -196,20 +177,6 @@ class Parameters
196177 // / \return Reference to this object for chaining calls
197178 auto setOnuAddress (OnuAddressType value) -> Parameters&;
198179
199- // / Sets the GeneratorDataSize parameter
200- // /
201- // / It controls the size in bytes of the generated data per DMA page.
202- // /
203- // / Supported values:
204- // / * C-RORC: multiples of 4 bytes, up to 2097152 bytes.
205- // / * CRU: multiples of 32 bytes, minimum 64 bytes, up to 8 KiB.
206- // /
207- // / If not set, the driver will default to the DMA page size, i.e. the pages will be filled completely.
208- // /
209- // / \param value The value to set
210- // / \return Reference to this object for chaining calls
211- auto setGeneratorDataSize (GeneratorDataSizeType value) -> Parameters&;
212-
213180 // / Sets the GeneratorLoopback parameter
214181 // /
215182 // / Controls the routing of the generated data.
@@ -223,16 +190,6 @@ class Parameters
223190 // / \return Reference to this object for chaining calls
224191 auto setGeneratorLoopback (GeneratorLoopbackType value) -> Parameters&;
225192
226- // / Sets the GeneratorRandomSizeEnabled parameter.
227- // /
228- // / If enabled, the content of the DMA pages will have a random size.
229- // / * C-RORC: currently unsupported
230- // / * CRU: Size varies between 32 bytes and the DMA page size
231- // /
232- // / \param value The value to set
233- // / \return Reference to this object for chaining calls
234- auto setGeneratorRandomSizeEnabled (GeneratorRandomSizeEnabledType value) -> Parameters&;
235-
236193 // / Sets the BufferParameters parameter
237194 // /
238195 // / Registers a memory (with BufferParameters::Memory) or file (with BufferParameters::File) buffer with the
@@ -366,10 +323,6 @@ class Parameters
366323 // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
367324 auto getDmaPageSize () const -> boost::optional<DmaPageSizeType>;
368325
369- // / Gets the GeneratorEnabled parameter
370- // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
371- auto getGeneratorEnabled () const -> boost::optional<GeneratorEnabledType>;
372-
373326 // / Gets the LinkLoopbackEnabled parameter
374327 // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
375328 auto getLinkLoopbackEnabled () const -> boost::optional<LinkLoopbackEnabledType>;
@@ -382,18 +335,9 @@ class Parameters
382335 // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
383336 auto getOnuAddress () const -> boost::optional<OnuAddressType>;
384337
385- // / Gets the GeneratorDataSize parameter
386- // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
387- auto getGeneratorDataSize () const -> boost::optional<GeneratorDataSizeType>;
388-
389- // / Gets the GeneratorLoopback parameter
390338 // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
391339 auto getGeneratorLoopback () const -> boost::optional<GeneratorLoopbackType>;
392340
393- // / Gets the GeneratorRandomSizeEnabled parameter
394- // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
395- auto getGeneratorRandomSizeEnabled () const -> boost::optional<GeneratorRandomSizeEnabledType>;
396-
397341 // / Gets the BufferParameters parameter
398342 // / \return The value wrapped in an optional if it is present, or an empty optional if it was not
399343 auto getBufferParameters () const -> boost::optional<BufferParametersType>;
@@ -452,11 +396,6 @@ class Parameters
452396 // / \return The value
453397 auto getDmaPageSizeRequired () const -> DmaPageSizeType;
454398
455- // / Gets the GeneratorEnabled parameter
456- // / \exception ParameterException The parameter was not present
457- // / \return The value
458- auto getGeneratorEnabledRequired () const -> GeneratorEnabledType;
459-
460399 // / Gets the LinkLoopbackEnabled parameter
461400 // / \exception ParameterException The parameter was not present
462401 // / \return The value
@@ -472,21 +411,11 @@ class Parameters
472411 // / \return The value
473412 auto getOnuAddressRequired () const -> OnuAddressType;
474413
475- // / Gets the GeneratorDataSize parameter
476- // / \exception ParameterException The parameter was not present
477- // / \return The value
478- auto getGeneratorDataSizeRequired () const -> GeneratorDataSizeType;
479-
480414 // / Gets the GeneratorLoopback parameter
481415 // / \exception ParameterException The parameter was not present
482416 // / \return The value
483417 auto getGeneratorLoopbackRequired () const -> GeneratorLoopbackType;
484418
485- // / Gets the GeneratorRandomSizeEnabled parameter
486- // / \exception ParameterException The parameter was not present
487- // / \return The value
488- auto getGeneratorRandomSizeEnabledRequired () const -> GeneratorRandomSizeEnabledType;
489-
490419 // / Gets the BufferParameters parameter
491420 // / \exception ParameterException The parameter was not present
492421 // / \return The value
0 commit comments