From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) by dpdk.org (Postfix) with ESMTP id DC8A8C36C for ; Tue, 21 Jun 2016 14:06:23 +0200 (CEST) Received: by mail-lf0-f46.google.com with SMTP id l188so20328091lfe.2 for ; Tue, 21 Jun 2016 05:06:23 -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=IXaVGqfh4yCLOZTCNFnltt9ylXHWjFJ/ArBr4q+I/EY=; b=kXQzYo5e2AVFwc+JdvD2MhgIRU4kmUuvqozJVeI1bCNpDBaVjuRIr8rsBktGNafvJG 0b1/S1pICHcDSIXIJbvSGYsxwDK2Cf+m89K81htITaKK9/6D1zEfSObzFfXu8tjoo0ur koXY8mo4sy2qG187QLbl4fo7vrxcuInrXtHa6TQ4uSv31r/IMV/mZIkKd1XeywNqPpQL MNSFJj4kmpYtscbmVmY7IsGq7k5p6QWKwsY3A7+uCBu7jZeoAAdHbedHQmWPBcQGBRfe EVWLAhsau4zw/kstRv25CE730LWpD+qj8JFhkZTsTmLUe02of5ODsjFw8iyEb3BH/4rq Mnrw== 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=IXaVGqfh4yCLOZTCNFnltt9ylXHWjFJ/ArBr4q+I/EY=; b=guKc/JAeNu5TViV46s3Kg1BAhlZeR2+KQ1Xk1e1OidjUfo87eAw8AU71MCmNeNuJ83 9fYSwrfswNMHR0CX9wA5Hf+4Bbl4lAEter16blJa8Phnyw4I77P+Ys4hrHuEHyQfUB0V idkxiv1gEK5NmlMMnNzqKvx2bNTNtL5soxiAsmw6XC5nAMYmuipWwKr78mT+2lcaAp4F fC3E4VlW+XeTLU2XIsnahmT51+09lumT4oeLQfx4pwtOjTPasLq8nPlQd7fhHwYAj9Wc CkWZJSuIHJdJ6/t4daqCY2VNmDJoApJ2WbsHKTx168oan/SpaOxI4dLQUCIO6hPqx3BZ 19Yw== X-Gm-Message-State: ALyK8tLxSfa4Mf/A2+wWSj0bxvGqBlDKeCSRTHkZNpMLeyJsvhuMn+v0tjc9sI+3QuKYcw== X-Received: by 10.25.127.4 with SMTP id a4mr6648968lfd.111.1466510783294; Tue, 21 Jun 2016 05:06:23 -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 t10sm6613629lfd.18.2016.06.21.05.06.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Jun 2016 05:06:22 -0700 (PDT) From: Jan Medala To: dev@dpdk.org Cc: ferruh.yigit@intel.com, Jan Medala , Alexander Matushevsky , Jakub Palider Date: Tue, 21 Jun 2016 14:06:03 +0200 Message-Id: <1466510763-19569-7-git-send-email-jan@semihalf.com> X-Mailer: git-send-email 2.8.2 In-Reply-To: <1466510763-19569-1-git-send-email-jan@semihalf.com> References: <1466099690-28085-1-git-send-email-jan@semihalf.com> <1466510763-19569-1-git-send-email-jan@semihalf.com> Subject: [dpdk-dev] [PATCH v2 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: Tue, 21 Jun 2016 12:06:24 -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 d0927f7..928b37f 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -943,7 +943,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); @@ -1036,7 +1039,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