From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AB7FDA04B5; Thu, 29 Oct 2020 14:17:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EAC78CA16; Thu, 29 Oct 2020 14:16:57 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 9CF7CC9F4 for ; Thu, 29 Oct 2020 14:16:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603977413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Rf156WUeTD59GEv+o/7zlvDbF2ZV9DIVOH6PBQfUfvc=; b=PLRkWe7jSC2RzSjLTa8zRmHy+5FMm+aWw81mNV0NcnOvweYJ1IP1+eSxqTUrNYFcnevE39 YZomMXetPxkF15Q4UilJKcwzLJnFrdeQT2ZYCL/eW39OleQ+Sb4X8KFSfezO66FXa9Kq3x Qyb/sdSJnf13DtA5lgQq7Tz1ctSXjx4= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-284-XuBwPaGJPl6sLcIs1zwKDQ-1; Thu, 29 Oct 2020 09:16:51 -0400 X-MC-Unique: XuBwPaGJPl6sLcIs1zwKDQ-1 Received: by mail-vk1-f197.google.com with SMTP id p76so733512vkd.9 for ; Thu, 29 Oct 2020 06:16:51 -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=Rf156WUeTD59GEv+o/7zlvDbF2ZV9DIVOH6PBQfUfvc=; b=IAtjpxyvFJLu6u0+PCl8qZeoNz5SdjOBjImWAQp6Ua1WUZKVNzs14NuZhRMaHbrTpq 0QF0G5mVOoElnXny22/a0KwcMNwyerb5MI/RlgK2LzeFkffO18TZsc2zYXjP2MhmEBvn mpljvH+u25twLBTN5S/k+CKD+QHRP+EWpwh7y6YvTfPjlhconCUq2dlBwHq17CWxyhFn kl0SPyh/Gu7m9LU21/4n34obl8TkORyWmWYt8z7ebH8yYPrcWbfRCa3YEz7a0DHRlTDL dN88whiBtAIpkPhjT6YvNv/FJc7lCAPKXNYZaK7Jb8Fpu+L6khiNJlfzdZyuSXVGBRAs t16g== X-Gm-Message-State: AOAM533JWolaJg9deyIQ87YhaQx9u+kElrb5IkIJSc4UILuRmeZu5S1E cR7EwKt0b9xQ/CTkpj+XUneEBVHfMw4DqKdriNkUsArjt297kxTxDjW3aePVbYjv6gJ5GGxsqKb E2dDqRKOaEJVLgkldmHI= X-Received: by 2002:a67:fd7a:: with SMTP id h26mr2863457vsa.27.1603977411118; Thu, 29 Oct 2020 06:16:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsrJY16WcL09SmUPRAS37MJPdDmOYVyOvwusEa8Vw1QazaXuszhcAr+hLiONx/R0TjqEygOv9v3Y5x/wt0MLw= X-Received: by 2002:a67:fd7a:: with SMTP id h26mr2863423vsa.27.1603977410915; Thu, 29 Oct 2020 06:16:50 -0700 (PDT) MIME-Version: 1.0 References: <20201029125339.30916-1-ibtisam.tariq@emumba.com> <20201029125339.30916-8-ibtisam.tariq@emumba.com> In-Reply-To: <20201029125339.30916-8-ibtisam.tariq@emumba.com> From: David Marchand Date: Thu, 29 Oct 2020 14:16:39 +0100 Message-ID: To: Ibtisam Tariq Cc: "Kovacevic, Marko" , "Ananyev, Konstantin" , "Pattan, Reshma" , "Mcnamara, John" , Cristian Dumitrescu , "Singh, Jasvinder" , "Xia, Chenbo" , Maxime Coquelin , Xiaoyun Li , dev , jijiang.liu@intel.com Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 8/8] examples/tep_termination: enhance getopt_long usage X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello Ibtisam, On Thu, Oct 29, 2020 at 1:58 PM Ibtisam Tariq wrote: > > Instead of using getopt_long return value, strcmp was used to > compare the input parameters with the struct option array. This > patch get rid of all those strcmp by directly binding each longopt > with an int enum. > > Bugzilla ID: 238 > Fixes: a50245ede7 ("examples/tep_term: initialize VXLAN sample") > Fixes: 2bb43bd435 ("examples/tep_term: add TSO offload configuration") > Fixes: 39c6daca9b ("examples/tep_term: add UDP tunneling port configuration") > Fixes: 9b96dd2609 ("examples/tep_term: add inner checksum Tx offload configuration") > Fixes: e627e8843d ("examples/tep_term: add tunnel filter type configuration") > Fixes: c6a0fb5f54 ("examples/tep_term: add encap/decap configuration") > Cc: jijiang.liu@intel.com > > Reported-by: David Marchand > Signed-off-by: Ibtisam Tariq This patch can be dropped. Thomas just merged this example removal. -- David Marchand