From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id AEEE51B7C2 for ; Tue, 15 May 2018 15:47:56 +0200 (CEST) Received: by mail-wm0-f41.google.com with SMTP id f6-v6so1151431wmc.4 for ; Tue, 15 May 2018 06:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dz3OsTWeVn43WlPDEvUQ/dYzdhKpYq6wmy/rmiRMH+g=; b=XY6FKy22hz6mMnlSHHdhUTkK65E6W8Uu948uiV6+VEmXHA8D013nvCTZNHVguB6Mz6 uK4nFvgRWcs+WWwPyMqz68e0VxDFln+vhOm/zMN4l9sII70Ild5nsmd3ODeHDOz+JrVN Co02YPfOGUd+oKf0djRq+3VrLDvD6G3uKS8OIPIpQinXX81Sca/L3Sn7l9XkCgfgbm7B Dtc+xZpFfHgC5yVVcfwxhfRA6CTOn+IG9InHwpVc3beVgcxkJz4ga1RFbiVJ+LkEvNVd qZjVndIu25fQBnES72uMcDO/+rahtxJk9hEOPcsrdjQ8gZjjK4jvuv/RVIRJ7tnuo/9A ZIxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dz3OsTWeVn43WlPDEvUQ/dYzdhKpYq6wmy/rmiRMH+g=; b=WekHY1NkZMUFqhh5mQWSsWLtzA2hZrez3BhSwTYPIpjvS4D0btrjXWeaVoGefJ1Z40 8mMhJK+/D1W/ekJZkcMwtt6CKLQM0LBA6EMQLRx/xyD572kR5BL9mAPgzZOVEvl8jshL 7Dnw6MkpjgrLn0OdeXri9PU9dGWXXAOaHW3lY8mDX6kFANf3DcnCfSz4c4jTWBat/aw8 X9DOJElm1pYDJnLa+IhUp36KgN2paFi9ez+WRVF1Nt2Oc5OwAGjSzXlAGRud4nhhPvtP SoGDuXnGcp+Gx/vDDMemznLdtstW91Bmf4hHRVSx0Vgw16KuOvfPn480TPHRB60yLl2M lJXw== X-Gm-Message-State: ALKqPwdJhCO49MbdoVi+jo1dkNyzAZCfAR8hkwP2J4vvdwGnbE7f/QjI qAyfN30XBcUHeWRiA7Zhjb8= X-Google-Smtp-Source: AB8JxZos4JB/WOUKwBpyb3FSyOgZrPJpK4n9l72yWnqaghyk/ZBcxrkLRFZF24k9gWLbID+NPCGuTA== X-Received: by 2002:a1c:8b0b:: with SMTP id n11-v6mr7448632wmd.12.1526392076404; Tue, 15 May 2018 06:47:56 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id c50-v6sm159325wrc.11.2018.05.15.06.47.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 06:47:55 -0700 (PDT) From: luca.boccassi@gmail.com To: Bruce Richardson Cc: Shreyansh Jain , dpdk stable Date: Tue, 15 May 2018 14:46:20 +0100 Message-Id: <20180515134731.9337-9-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515134731.9337-1-luca.boccassi@gmail.com> References: <20180503110612.12146-2-luca.boccassi@gmail.com> <20180515134731.9337-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/i40e: fix missing defines for non-AVX build' has been queued to stable release 18.02.2 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: , X-List-Received-Date: Tue, 15 May 2018 13:47:56 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From d7d3b9c5e7e2b51a6f1c7ad1fb60d5c77d94a8fe Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Tue, 8 May 2018 21:10:17 +0100 Subject: [PATCH] net/i40e: fix missing defines for non-AVX build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit 776d64ffb7cff60a5500c8f33704787d0bae428a ] For non-AVX builds, the cflags used for compiling the i40e driver files are not passed to the call to build the AVX-specific code path. This can cause build failures. ../drivers/net/i40e/i40e_ethdev.h:888:42: error: ‘I40E_PFQF_HKEY_MAX_INDEX’ undeclared here (not in a function) Fixes: e940646b20fa ("drivers/net: build Intel NIC PMDs with meson") Reported-by: Shreyansh Jain Signed-off-by: Bruce Richardson Tested-by: Shreyansh Jain --- drivers/net/i40e/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build index 197e611d8..3c99e039a 100644 --- a/drivers/net/i40e/meson.build +++ b/drivers/net/i40e/meson.build @@ -23,6 +23,7 @@ sources = files( ) deps += ['hash'] +includes += include_directories('base') if arch_subdir == 'x86' dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1) @@ -38,11 +39,10 @@ if arch_subdir == 'x86' 'i40e_rxtx_vec_avx2.c', dependencies: [static_rte_ethdev, static_rte_kvargs, static_rte_hash], - c_args: '-mavx2') + include_directories: includes, + c_args: [cflags, '-mavx2']) objs += i40e_avx2_lib.extract_objects('i40e_rxtx_vec_avx2.c') endif endif -includes += include_directories('base') - install_headers('rte_pmd_i40e.h') -- 2.14.2