From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by dpdk.org (Postfix) with ESMTP id CF454E07 for ; Mon, 30 Apr 2018 16:08:23 +0200 (CEST) Received: by mail-wr0-f194.google.com with SMTP id g21-v6so8173221wrb.8 for ; Mon, 30 Apr 2018 07:08:23 -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; bh=raIOF1EeXsdlUsG7hTK6cvsuJE7p98MNjjcf5J2A0JA=; b=mz1EyPLvP8awM2M9fSMVJ6IMstViG0O+iVkFrSfxC/5UBfnFjxG+FKmhULeuDISftb TGHeZ2GNjzWToXZ+nyDFpcc9I7FD1WhEoOR/P9IE0Rx2p2OK3j6tEshjSEQEmAFpUIYC 9Rxb4lSI/MQPW1a1jfrlnqxQT2TJsmn50MeMfRn1ItC2tgmwomQ6FlOXHfdxXurFT9Yb DIxW6fZ7eQ86AsRrYn1nQEBm2LLFeDdQjI7cze8JNQGb5p4LSJMyGURCKMF2kQMtSdeW 9tRungQJS511LGZ+SMJE7YtXnJSMpgcOKDbJlRiZ8+fFr9fg1XV4B52/idV7ylEA45dI zHuw== 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; bh=raIOF1EeXsdlUsG7hTK6cvsuJE7p98MNjjcf5J2A0JA=; b=k1hMIxUzNXZBvEwBJLnwKRy8OOH0MMAoBN5ku2BYRsTBQebPDKMyjOLa7guy5s+OHj ErolEFRBsx2CSyHRcLTrPl9S7iwq7jYDcZWmS9ccg9oOeg5WES1jZ9SCu+Fzy5ESn1HV Dh8M0YPmTxkQq7aRjpWEA/63dJIW33Maepbk2uGl7ZC7UFC/PyLOF7sHIvUS1V88sCUE uy3ytLQtV0lUGIvWXxOHzipBo5mesY9tFVxGXuTVJ1qODeOH0XGD3PyCDmT8CqiWwHI1 U4ojOL6jkcnqKnbbNCqhAHs4cEzERdgoc0EiZNTb23JJ/YqHhbKLwUkTc006f+ytYTub 5VWA== X-Gm-Message-State: ALQs6tBU9Q9rUS3vg01/bBx6ng1ybazZ30Lb2xWHQFtzhX8cpDOdD/fz K05MhhcQ0w1vPUy0jlmRIak= X-Google-Smtp-Source: AB8JxZqR0QL5apRjVL470qp3pyEtNePO2Kt82OyaSHgA32daBBqk4Rr9QSHz/N3dAaIuPcNCtEP44w== X-Received: by 2002:adf:8d90:: with SMTP id o16-v6mr8654435wrb.81.1525097303259; Mon, 30 Apr 2018 07:08:23 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id o20-v6sm8729742wro.67.2018.04.30.07.08.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:08:22 -0700 (PDT) From: luca.boccassi@gmail.com To: =?UTF-8?q?N=C3=A9lio=20Laranjeiro?= Cc: Ferruh Yigit , Yongseok Koh , dpdk stable Date: Mon, 30 Apr 2018 15:03:53 +0100 Message-Id: <20180430140606.4615-75-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/mlx5: fix icc 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: Mon, 30 Apr 2018 14:08:24 -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/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From e964b6f235f15892252cc4691db79129b32bb988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9lio=20Laranjeiro?= Date: Mon, 19 Mar 2018 11:42:16 +0100 Subject: [PATCH] net/mlx5: fix icc build [ upstream commit 7b2207afe86df58b571e722dcee14734e91cdb2e ] Remove the second declaration of device_attr [1] inside the loop as well as the query_device_ex() which has already been done outside of the loop. [1] https://dpdk.org/ml/archives/dev/2018-March/091744.html Fixes: 9a761de8ea14 ("net/mlx5: flow counter support") Reported-by: Ferruh Yigit Signed-off-by: Nelio Laranjeiro Acked-by: Yongseok Koh Tested-by: Ferruh Yigit --- drivers/net/mlx5/mlx5.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index 03a6a05de..2bb699846 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -698,7 +698,6 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev) struct rte_eth_dev *eth_dev; struct ibv_device_attr_ex device_attr_ex; struct ether_addr mac; - struct ibv_device_attr_ex device_attr; struct mlx5_dev_config config = { .cqe_comp = cqe_comp, .mps = mps, @@ -764,7 +763,6 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev) goto port_error; } - mlx5_glue->query_device_ex(ctx, NULL, &device_attr); /* Check port status. */ err = mlx5_glue->query_port(ctx, port, &port_attr); if (err) { -- 2.14.2