From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f195.google.com (mail-ua0-f195.google.com [209.85.217.195]) by dpdk.org (Postfix) with ESMTP id 0D3694F98 for ; Mon, 2 Jul 2018 08:52:48 +0200 (CEST) Received: by mail-ua0-f195.google.com with SMTP id v15-v6so9393725ual.11 for ; Sun, 01 Jul 2018 23:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=PMtG0IDzjQzn+Nm/eNeuFxTJ59zAgL0fJXgMJJ2D3DA=; b=GOvo7FmqEnCtkIg0Wj+3rBiUM5IzYcOGa9PlqAVHi5EcUADItyFe3bfcwlot7fDhvx XB+OSgtBswkYPxrohva25kwtZsSgvnyuuAKu7Kql63bGl1JVncW3Sk604EQkZaYkiZU8 IRiBXypoM3iKTD4xeCAhdc9Pg1xK2zxzSrra5dOIOxIOUchTh+hpQnWrLi1f9yul1eS/ /tvBmD5PxdeL/4ROMPi3jLTULg9kL0W97v3gDD6VkFZ1xSAvkfOTvD6qnp8BAoGYUytS PVKkdK5NKAU7Y15hOQpsghGpzbX7L9mbMAaNHnWf0xvOFLJsBC8oOWxMfKN3YB/RdDDV hTSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=PMtG0IDzjQzn+Nm/eNeuFxTJ59zAgL0fJXgMJJ2D3DA=; b=SvIzj6zcR/dIeKEJCV+TRY6kc2Zp4Q/cvI7woX9qI3yUZ3ZIJYvFG3rHPmEn7k64q/ d1Kr5X19QnKjeL9tFz8G79YrkbuOiH4+Zcw6GZ+UaaP79t/lPXTG3MJvhJHdqlsGeQaR oiG1Hbz3hzViYxesReQSGDtBhF2FydMtRzN0aBBNWFHnHuo3fQoh9XKE+SVaEWEB3Jrx nS0NlkTQO2M5dMicGpg80S9RfxEKrhmC4paA8h6e4yJms+OaFaKI2NoNFxt1Cn1wGgra NN6tzfirDIWm7ER1aHxqEOpjrHw8L4xVHQwHFFguOM3+LnQfCmnaCBK2AXadChEMjb4x Ymgw== X-Gm-Message-State: APt69E2RAQ2MnNEKaCKajlXKpC3L/FhAAwSTqmFIpnyBBZ4R2LdCW60S Ir1XfJRdQorCPPtGFs7m2U5ujnKo1jf9WR82yPNzug== X-Google-Smtp-Source: AAOMgpevGhJHhMTgSqAYzq5mk4+Y/zIJBh5TmRr7YjpR4IbXgxIaa0F0Fu1NVFPlEDzpI9n3pWmrAG0qLllAQkTfgDg= X-Received: by 2002:ab0:596f:: with SMTP id o44-v6mr14905502uad.29.1530514367330; Sun, 01 Jul 2018 23:52:47 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:6283:0:0:0:0:0 with HTTP; Sun, 1 Jul 2018 23:52:46 -0700 (PDT) In-Reply-To: <1530191753-18689-5-git-send-email-rk@semihalf.com> References: <1530191753-18689-1-git-send-email-rk@semihalf.com> <1530191753-18689-5-git-send-email-rk@semihalf.com> From: =?UTF-8?Q?Micha=C5=82_Krawczyk?= Date: Mon, 2 Jul 2018 08:52:46 +0200 Message-ID: To: Rafal Kozik Cc: dev@dpdk.org, Marcin Wojtas , "Tzalik, Guy" , "Schmeilin, Evgeny" , "Matushevsky, Alexander" , "Chauskin, Igor" , Thomas Monjalon , Ferruh Yigit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 4/4] net/ena: enable WC 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, 02 Jul 2018 06:52:48 -0000 2018-06-28 15:15 GMT+02:00 Rafal Kozik : > > Write combining (WC) increases NIC performance by making better > utilization of PCI bus. ENA PMD may make usage of this feature. > > To enable it load igb_uio driver with wc_activate set to 1. > > Signed-off-by: Rafal Kozik > Acked-by: Bruce Richardson Acked-by: Michal Krawczyk > --- > drivers/net/ena/ena_ethdev.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c > index 9ae73e3..1870edf 100644 > --- a/drivers/net/ena/ena_ethdev.c > +++ b/drivers/net/ena/ena_ethdev.c > @@ -2210,7 +2210,8 @@ static int eth_ena_pci_remove(struct rte_pci_device *pci_dev) > > static struct rte_pci_driver rte_ena_pmd = { > .id_table = pci_id_ena_map, > - .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC, > + .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC | > + RTE_PCI_DRV_WC_ACTIVATE, > .probe = eth_ena_pci_probe, > .remove = eth_ena_pci_remove, > }; > -- > 2.7.4 >