From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id C6CDFA0471 for ; Wed, 19 Jun 2019 16:23:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 977461C309; Wed, 19 Jun 2019 16:23:56 +0200 (CEST) Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by dpdk.org (Postfix) with ESMTP id 3D3D11C2FF for ; Wed, 19 Jun 2019 16:23:52 +0200 (CEST) Received: by mail-io1-f66.google.com with SMTP id r185so32593222iod.6 for ; Wed, 19 Jun 2019 07:23:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iLsNRz0fzCFvbbg2KrxaXcLE6hlNOK9I8odut1nuU9g=; b=Q3TzMI+/kYDgT2NgPVw2yqPLpkWkHSNE1Nv+geOACs0vujjmmUlxKC6h4TymwrGApH ugEH3SZhLc7yTpWNFWk1fZxvrmj0ywMoGQJt46TyWxhtoYtV/q8HAv2p1T5uO8Pz2PaY s+0yNfRh/pGyqIY8lK1QilslGknl0oXP4xjMFdizqP4GCVV8FHNqGwL7rYwI6XljxkoQ GRYe1E0Ks/28wb9LYTOkyJxlC03jiY2aB75Qk3UvoWItPo9JtKUphaV7jo8j4hXrsbnd i0KvNDinTnffs6XLXZNF8nR9HQiD5DwCROiJ/sRSt6dfgyMXxDDSxT9CBZ7BxIMD0YXR NEOg== X-Gm-Message-State: APjAAAXbTZ/pLv/wNn9aYw000YPZjktPzZy73FYJ4B22n+vtaljPQUS2 BYIDVaWmJk50iKGWvVS7JtD5ugNkKRk3uuTrvHsQSg== X-Google-Smtp-Source: APXvYqyltFVcIARvcynz6xVWzz0YEcDthq/vacNesAEy0zcjD824ykf4FIfR6SwfmubzYUEttwiM0nNMNgVrQStsNRk= X-Received: by 2002:a6b:ee15:: with SMTP id i21mr13281415ioh.281.1560954231437; Wed, 19 Jun 2019 07:23:51 -0700 (PDT) MIME-Version: 1.0 References: <20190618105950.9599-1-andrius.sirvys@intel.com> <49C20589590A5F43815A562C49658C1E70D38D90@IRSMSX101.ger.corp.intel.com> In-Reply-To: <49C20589590A5F43815A562C49658C1E70D38D90@IRSMSX101.ger.corp.intel.com> From: David Marchand Date: Wed, 19 Jun 2019 16:23:40 +0200 Message-ID: To: "Sirvys, Andrius" Cc: dpdk stable , "Lu, Wenzhuo" , "Wu, Jingjing" , "Iremonger, Bernard" , "Yigit, Ferruh" , dev Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-stable] [PATCH] test-pmd: removed references to crc_strip X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Wed, Jun 19, 2019 at 4:13 PM Sirvys, Andrius 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. -- David Marchand