From patchwork Fri Jun 29 13:54:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rafal Kozik X-Patchwork-Id: 41968 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C853B1B4C9; Fri, 29 Jun 2018 15:54:14 +0200 (CEST) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by dpdk.org (Postfix) with ESMTP id 2172D1B4B0 for ; Fri, 29 Jun 2018 15:54:12 +0200 (CEST) Received: by mail-lf0-f68.google.com with SMTP id y200-v6so1275233lfd.7 for ; Fri, 29 Jun 2018 06:54:12 -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=BMz6q8uphZOy+9/VL0vNPKAyX3xmD0j9dVgG6mez+xc=; b=GDn9epNvhEsiWou/+uxYdT2/yfW49gnz6Y5OWcA5qmFhspxRe3AFHY8uPCIeQ1aBGa tf0YGx6QuNFhilmhhTB7Z4HHfzau5IVSN6TYgiTdjeR3E28wzLhzs6F7GQ2WZIYIepCH vFdRHVqoWKirdHmRP6PkaGhdOVoHd6HYqsxHe7kh/MnlclKWGY5uQwR+6g+6dR3FmIAL 5gpB+aHXUCMz5kS91CDYAubg3PS7vXsMuFe+iAlHkgm2pkt77nO6JWIsEUberZSGjxPw b+vX+1wno9vOyC1q/UXaBgP6y76VsQpHZFLTq+H2jy1aiOndGofWp6ToNhvwPHDPusq2 /zJg== 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=BMz6q8uphZOy+9/VL0vNPKAyX3xmD0j9dVgG6mez+xc=; b=r7Q0t5OQqnVzvuTUFCMDiKQqO+zNI3bC0dLZFQLeAS9vN0KPykf9RjtW+iTJusjbvR HwTIESKQflWscHfhhf+F35yCgi+PvMPcdSWVYkYmibwp1NDNqtIk3Lu61feLqfQGnsIf adIlISgv7wJZ5XwNU5ulK6plv5wjA+77iq8lXhheZx1mKRrvXx0Pg5u6ZkFYlBBdHG7U ODZFIQV1IgxTnX9mngFGmZsmXpA1xLYUBE1Vzaw2Z4RvsLqRNYzWiDyOe0Qsb5lWrsud CDkVkjxZH0BkO6bufqevAfvOMk6j+9TXtV0iU0QK2LnUZ4qazL3BHtVbm7/Jt6jQnUBp 9Ceg== X-Gm-Message-State: APt69E0Xk+DC5G/2fuzcIgW7X44qnAbwIQ2b7+VGPH1rU4gZj570ueQT 8Vsw0xQAGzuSAzJA6TUqdIiADw8VL0sBqg== X-Google-Smtp-Source: AAOMgpckKNcSQyBNH62zU95YpAgt/TsPvkga1gMCG/l7vysHRZgbfeGd9Y+eNqr+J2tDBBf1p/TSlA== X-Received: by 2002:a19:dedb:: with SMTP id i88-v6mr10382438lfl.26.1530280451609; Fri, 29 Jun 2018 06:54:11 -0700 (PDT) Received: from rafalkozik.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id v136-v6sm114122lfa.10.2018.06.29.06.54.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Jun 2018 06:54:10 -0700 (PDT) From: Rafal Kozik To: dev@dpdk.org Cc: mw@semihalf.com, mk@semihalf.com, gtzalik@amazon.com, evgenys@amazon.com, matua@amazon.com, igorch@amazon.com, thomas@monjalon.net, ferruh.yigit@intel.com, Rafal Kozik Date: Fri, 29 Jun 2018 15:54:04 +0200 Message-Id: <1530280448-12920-1-git-send-email-rk@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530267873-7236-2-git-send-email-rk@semihalf.com> References: <1530267873-7236-2-git-send-email-rk@semihalf.com> Subject: [dpdk-dev] [PATCH v5 0/4] Support for write combining. 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Support for write combining. Reviewed-by: Ferruh Yigit --- v2: * Rebased on top of master. * Fix typos. * Make commit messages more verbose. * Add comments. * Initialize fd. --- v3: * Log if BAR was mapped with or without support for WC. --- v4: * Log only if WC mapping failed. * Log if wc_activate is set in igb_uio driver. --- v5: * Log message in igb_uio will be printed only once. Kozik (4): igb_uio: add wc option bus/pci: reference driver structure eal: enable WC during resources mapping net/ena: enable WC drivers/bus/pci/linux/pci_uio.c | 47 ++++++++++++++++++++++++++++++----------- drivers/bus/pci/pci_common.c | 17 ++++++++++----- drivers/bus/pci/rte_bus_pci.h | 2 ++ drivers/net/ena/ena_ethdev.c | 3 ++- kernel/linux/igb_uio/igb_uio.c | 20 +++++++++++++++--- 5 files changed, 68 insertions(+), 21 deletions(-)