From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by dpdk.org (Postfix) with ESMTP id 267ED2C5B for ; Thu, 30 Jun 2016 17:05:17 +0200 (CEST) Received: by mail-lf0-f44.google.com with SMTP id q132so57564936lfe.3 for ; Thu, 30 Jun 2016 08:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=naPxchKSSCFRcjgWpWki5qAwowZl9TidRuT3h6YmFYk=; b=Vi1ClsZxxzpgM68gkLD4LzzW/qBkj1U8XdB79Nfyu9OCnAkNsmPbMt4TgNoSaHVdGI YlpzXDJ1KUjyk6r+gVIjr1w+vPO/7didGU4DNzCmPDjn0ls9YWFetekDl0ll9XYFAH+h Z9wF1Yji7My5+VU2hmYjKV8fupuPDt6k3LGwYKe6aknGFBuI8oeTqdmknruwrlxXWNBs 9EUrJECYqa2nevb7AIyPawOcun60h/T5ZG4QOvfyPcCT4juc2BKQfQ6oJqItNKrYmAo9 X26imyymXrUrBJnncFiz3aSYymE5z7FgXtSsGWqmmqOVAOc/XrMCOrsGicYtBeybXF8d Zy/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=naPxchKSSCFRcjgWpWki5qAwowZl9TidRuT3h6YmFYk=; b=LqkeC5MNyqv5WOcoz/lmYWWiDZwdXQcSc8scel1s8Ll+XOw7cAwDrjgL2pLXPBhMWr yktfxmqroYPVDtx66tZ8aO/kqTdmaMfmqu+FPYZ7e6LsnYa0wpeUD4AiHwm//BPednQ2 pIEB/OZlrWPfNeIoLhVsm13cBTObjRFIAd0A//OzCI7SYT7VPeLyOZBmz62UtBAei606 MNRByJ3OO6rBLk19RtOUy0YPCc2gjFybU2Tfv5poz5gD6uTxSfORc7CvR3kgKkG57M2B pwa0ZI/eGieOwqcFDUW3xnytSGp5vmdSdWRoTaoRlnuNNBj5cyPYmr3EePCtDPe5Zg+U CDNw== X-Gm-Message-State: ALyK8tI+iLVCFngETayH6Eyr3HUnT+EIbxkCClC9q6zoMd9bOtYqMu0xPr9aaBcd3Vbu9Q== X-Received: by 10.25.24.95 with SMTP id o92mr5342055lfi.58.1467299116874; Thu, 30 Jun 2016 08:05:16 -0700 (PDT) Received: from anpa-dpdk-2.lab.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 206sm1635339ljj.0.2016.06.30.08.05.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Jun 2016 08:05:16 -0700 (PDT) From: Jan Medala To: dev@dpdk.org Cc: ferruh.yigit@intel.com, bruce.richardson@intel.com, Jan Medala , Alexander Matushevsky , Jakub Palider Date: Thu, 30 Jun 2016 17:04:59 +0200 Message-Id: <1467299099-32498-7-git-send-email-jan@semihalf.com> X-Mailer: git-send-email 2.8.2 In-Reply-To: <1467299099-32498-1-git-send-email-jan@semihalf.com> References: <1466510763-19569-6-git-send-email-jan@semihalf.com> <1467299099-32498-1-git-send-email-jan@semihalf.com> Subject: [dpdk-dev] [PATCH v3 6/6] ena: fix for icc compiler X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2016 15:05:17 -0000 Signed-off-by: Alexander Matushevsky Signed-off-by: Jakub Palider Signed-off-by: Jan Medala --- drivers/net/ena/ena_ethdev.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c index f8dbde4..a8c2b9c 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -940,7 +940,10 @@ static int ena_tx_queue_setup(struct rte_eth_dev *dev, __rte_unused unsigned int socket_id, __rte_unused const struct rte_eth_txconf *tx_conf) { - struct ena_com_create_io_ctx ctx = { 0 }; + struct ena_com_create_io_ctx ctx = + /* policy set to _HOST just to satisfy icc compiler */ + { ENA_ADMIN_PLACEMENT_POLICY_HOST, + ENA_COM_IO_QUEUE_DIRECTION_TX, 0, 0, 0, 0 }; struct ena_ring *txq = NULL; struct ena_adapter *adapter = (struct ena_adapter *)(dev->data->dev_private); @@ -1033,7 +1036,10 @@ static int ena_rx_queue_setup(struct rte_eth_dev *dev, __rte_unused const struct rte_eth_rxconf *rx_conf, struct rte_mempool *mp) { - struct ena_com_create_io_ctx ctx = { 0 }; + struct ena_com_create_io_ctx ctx = + /* policy set to _HOST just to satisfy icc compiler */ + { ENA_ADMIN_PLACEMENT_POLICY_HOST, + ENA_COM_IO_QUEUE_DIRECTION_RX, 0, 0, 0, 0 }; struct ena_adapter *adapter = (struct ena_adapter *)(dev->data->dev_private); struct ena_ring *rxq = NULL; -- 2.8.2