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 05D186CC9 for ; Mon, 4 Jun 2018 14:10:15 +0200 (CEST) Received: by mail-lf0-f65.google.com with SMTP id n3-v6so24830733lfe.12 for ; Mon, 04 Jun 2018 05:10: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=OL9zr1W4iaH0nUUVAR/Ajj6Nwdcms6NEuGJ6rKT/Pgw=; b=qLKYXr+VARhDBFpsMbaqhpul1K+SXUjkYvopiFw0S7rIJJs726Wfg/Eqrhg6hIbKQg 5ThXHksaV+taCBVuX8Xcl6KoBwxcZyIpwaUGPLDuRBY8MM43Uw2b5Ui8zftNdg5fNf0T IEXS3BaOHaRRo7KyLKsRsmHDA++MtNPq3R2yUwWeFxtohZS8nKDsCquQ+gFf8pZ/OcBb kCgM/dttv5xIBM18FHT5yoADipbF7MTxGLQ3y4W21H5dikVCjXIZg34cEQ0lemf4PcpR Hf9uiCLsBZny1sv4XLs9sx4wUrMM9NsVs/pV7izty4QHUraXqA3Zo3h7q03oHq2Nt4za lg7A== 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=OL9zr1W4iaH0nUUVAR/Ajj6Nwdcms6NEuGJ6rKT/Pgw=; b=eGvRF3Ne4vziJy3tBUO9v4EEGXrUifuT+nOH7PlzlslgyEs+uG6w7ToAAW8wV1IWb6 UcrPABLpDjgmLTL93KnKtZBSfDfXYOZBMVPtzD33j+t/pUlHdUv0qU7CcXRT8tNwcXYT oxQk194Jggd8TIgIkUnzr+B00O2KosQ3usIIa7x4mOPGQQ1Pn2fyHzB8BT0CM9x5/xl2 CnZS+fcGfzw3zTeqlekUL7hwcfS7C8wTvvF7QShRhObabhUDRHbWET8pgmx/1sFYYSn/ avM6t7b3laU9lm0I5EtPwpZ017U+wbZRHGWQ+imOuAkECx10sdr9HJE5YsRZAbx8OObH myTg== X-Gm-Message-State: ALKqPwcal0gyiNY9y1Us72F93ZnIL4BbxEkgwjjmfmCe6Oo1xmeqMV18 5HZ2nqHvuKysFVOhjbobfIyqKg== X-Google-Smtp-Source: ADUXVKJOeptv72y6X/OOpmLLunoYupvO+DOJZygdpaQZkFKXOHOpJ6RFiPIeEGz6yGE2wTit29+3JQ== X-Received: by 2002:a19:6387:: with SMTP id v7-v6mr12468077lfi.74.1528114214697; Mon, 04 Jun 2018 05:10: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 g23-v6sm3817415lfi.49.2018.06.04.05.10.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jun 2018 05:10:14 -0700 (PDT) From: Michal Krawczyk To: Marcin Wojtas , Michal Krawczyk , Guy Tzalik , Evgeny Schemeilin Cc: dev@dpdk.org, matua@amazon.com, Rafal Kozik Date: Mon, 4 Jun 2018 14:09:49 +0200 Message-Id: <20180604120955.17319-12-mk@semihalf.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180604120955.17319-1-mk@semihalf.com> References: <20180604120955.17319-1-mk@semihalf.com> Subject: [dpdk-dev] [PATCH v2 21/26] 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: Mon, 04 Jun 2018 12:10:15 -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 a145c2264..d2000f303 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