On Wed, Jun 19, 2019 at 4:23 PM David Marchand <david.march...@redhat.com> wrote:
> > On Wed, Jun 19, 2019 at 4:13 PM Sirvys, Andrius <andrius.sir...@intel.com> > wrote: > >> That sounds like a good idea. Do you have any examples by chance of >> something like this or any advice how to implement. >> >> The string needs to be generated beforehand so where would we be able to >> put the code in for that. >> > > For the usage strings, you only need to call a wrapper that dynamically > outputs the list separated by |. > For the > cmd_config_per_port_rx_offload/cmd_config_per_port_rx_offload_result_offload > tokens init, you have an example with cmd_set_fwd_retry_mode_init() which > updates cmd_set_fwd_retry_mode/cmd_setfwd_retry_mode tokens. > See: https://git.dpdk.org/dpdk/commit/?id=769ce6b17835 -- David Marchand