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 8BA7CA04B1; Tue, 24 Nov 2020 14:22:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D005CC912; Tue, 24 Nov 2020 14:22:14 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 8D8CDC910 for ; Tue, 24 Nov 2020 14:22:13 +0100 (CET) IronPort-SDR: fqkdV59kBwwYkfoeJAXVmXmH4fHnPGgwC53sPOIVsle6qsVvBDU2Vap3MYq7ZsE0t9QXpRPYhO ncUlw+p3P4Nw== X-IronPort-AV: E=McAfee;i="6000,8403,9814"; a="159709191" X-IronPort-AV: E=Sophos;i="5.78,366,1599548400"; d="scan'208";a="159709191" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2020 05:22:11 -0800 IronPort-SDR: b8ww/2Q4OC4Xw6vQhReZllXMKhD1lRL5OwjWv1G2g5KhRrRHNW8eU/eeRb40r2EGLD5+D6IB7w EewVccgGjvJA== X-IronPort-AV: E=Sophos;i="5.78,366,1599548400"; d="scan'208";a="370366908" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.251.85.132]) ([10.251.85.132]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2020 05:22:10 -0800 To: Viacheslav Ovsiienko , dev@dpdk.org Cc: thomas@monjalon.net References: <1606218596-17896-1-git-send-email-viacheslavo@nvidia.com> From: Ferruh Yigit Message-ID: <48328f17-209b-cbd4-f2f4-a7fdfb7e2994@intel.com> Date: Tue, 24 Nov 2020 13:22:07 +0000 MIME-Version: 1.0 In-Reply-To: <1606218596-17896-1-git-send-email-viacheslavo@nvidia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix str2flowtype not used warnings 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" On 11/24/2020 11:49 AM, Viacheslav Ovsiienko wrote: > If there was no RTE_NET_I40E configured the static routine > str2flowtype() was not used causing compilation warning. > > The str2flowtype() is moved under #ifdef RTE_NET_I40E block. > > Fixes: 1be514fbcea9 ("ethdev: remove legacy FDIR filter type support") > > Signed-off-by: Viacheslav Ovsiienko Reviewed-by: Ferruh Yigit