From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by dpdk.org (Postfix) with ESMTP id 9B0A91B1B7 for ; Thu, 7 Jun 2018 11:44:14 +0200 (CEST) Received: by mail-lf0-f65.google.com with SMTP id g21-v6so11671076lfb.4 for ; Thu, 07 Jun 2018 02:44:14 -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=JiXedJLiU3BFWjU6kN3NsPAsCo1IrizfnSbmgycI2Tc=; b=MtRj9PgIuSi2lvAu+uCWDAC7ni+EosbR9v1YFHi3OB+u8829iEsxoFvJM4bjFP+mNK 6HzVmaHLT4diiFi58k2d6UNXGdLs2+aqs+kKo1vz9kJvtuk0oA9E2Sh8K2Eb82hxGcij vhOrR+6EG2Rt4EnomdzhKmKafa8FBpBqCETq4RXgGbJf3t6zE9WqVFBIBJXTm3a2srrW 1ZYaNH6INIZ7/AkDI744rsEvp/HUdcrAd1iF9hXrAzRFrxEi6yIkDBefrvwnrKQ4Y1To vaVTF5WHlU9ZtZ3+Y4DwIEQGVw1bOMny2k5Cu5FKAj/JigM2nWifQr9WNzioQexe5WdU UK0Q== 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=JiXedJLiU3BFWjU6kN3NsPAsCo1IrizfnSbmgycI2Tc=; b=Frz35fQzT7b5XdXcWrJsRyH08a8PjAunxJzlQpg4kllv3JWtotJMPGbjFqh7KuuLnB xcUB6iDCdhESz3rvL0lU4jkazs3F4mJJorOVS1wAyJsEOU41+L1HrX2AwYOruWz+Ykds pvj7s35p3miyQy4J53m+a3s0X+zUvWwBDLx8shd/eSCvOY+ano/Da74PrRdzuP8ypjbv eM9JLirIQ8ei0JDQo9spHLIj36xWmMy1pHYGR61E5ZODwmA30Qa2Kp3AEr3WMDjFROpG 7mBNGbaAJNMu7gW748NIVuXX3uCQVEsjDAQccEu8QwmFyTjUoy/KtBkenzkYSMI1/XBj KMbw== X-Gm-Message-State: APt69E1QCB1mNxUbbC/UW95/VRfKsXNSnm+J+kf/zWg6rnjFafxLnGUk sbJF721IfkZI2e7Fa4SAFjHX7w== X-Google-Smtp-Source: ADUXVKJsgNX2TUJ15usgJJdmNdKLpr7B2D1JXIWHRu/8YTtMEQpDXLNWczvfHrBwNw6HWLHi/wbevg== X-Received: by 2002:a19:188a:: with SMTP id 10-v6mr888586lfy.26.1528364654298; Thu, 07 Jun 2018 02:44:14 -0700 (PDT) Received: from mkPC.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id p28-v6sm3612368lfh.24.2018.06.07.02.44.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 02:44:11 -0700 (PDT) From: Michal Krawczyk To: Marcin Wojtas , Michal Krawczyk , Guy Tzalik , Evgeny Schemeilin Cc: dev@dpdk.org, matua@amazon.com, Rafal Kozik Date: Thu, 7 Jun 2018 11:43:17 +0200 Message-Id: <20180607094322.14312-22-mk@semihalf.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180607094322.14312-1-mk@semihalf.com> References: <20180607094322.14312-1-mk@semihalf.com> Subject: [dpdk-dev] [PATCH v3 22/27] net/ena: update numa node 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: , X-List-Received-Date: Thu, 07 Jun 2018 09:44:14 -0000 From: Rafal Kozik During initializing tx queues update Non-Uniform Memory Access configuration in NIC firmware. Signed-off-by: Rafal Kozik Acked-by: Michal Krawczyk --- drivers/net/ena/ena_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c index c051f23a3..5c3b6494f 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -1175,6 +1175,8 @@ static int ena_tx_queue_setup(struct rte_eth_dev *dev, goto err_destroy_io_queue; } + ena_com_update_numa_node(txq->ena_com_io_cq, ctx.numa_node); + txq->port_id = dev->data->port_id; txq->next_to_clean = 0; txq->next_to_use = 0; -- 2.14.1