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 111881B57D for ; Fri, 29 Jun 2018 14:17:22 +0200 (CEST) Received: by mail-lf0-f65.google.com with SMTP id g21-v6so6651639lfb.4 for ; Fri, 29 Jun 2018 05:17:21 -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=0G55/e2svbz1sNlntguR4vS3K8CP29LRNLf8ZusesFI=; b=Y9f6rENvsXqtvfRaQOsx7UqU/W4Ibyk/3A7Jk/tXl+4y167XduwQnRYh8Be/c/PnIA emHJeKlEg0YG5SHYcIn99IrwiZ3ze9pNSb8opRIDbtz1TyD9F2tnx9DMWq9R06lVCjsC ssu8mRtmOdLMgJDM9njztbn47LbGViAza1V9vMIniEqEzlSaCgkO902Yz37+KnyeNZYF lT0lo9bnDp+q6+Cqr21xKZwyZobvQrBu73dZcj5+yAiInjhaVPppvFQPRsWzXvDuBJFE rINQoYtT2RS1vO8ZT2UvE1rKYqVAYAM5jTb2Af55htn9QcMT2LeOMImCUNfQwel6uii7 KabA== 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=0G55/e2svbz1sNlntguR4vS3K8CP29LRNLf8ZusesFI=; b=SoQ+plcx64wr/p7f1qslXGdhGuVdkx/M24TBBIy4y6cD0yl1MXmmgXRznFd77FbZtM JXP7aK1v8BhWU1pUBVVEfe8zvxrRdX3Wc8G3LWUu+mUXCe52d8H6b+E2X+rJi3nFJxpM qyEd42ZPXUX4obwo7xpiN2/x639/c8CN7PY4uPnG8eBv32af/CU63i5cE1MfiNz2qDGF b1tBz6vv75DajIDrHcYiZN/6pBQxfxTOaJIl6PEgP9/ueTTqHAv5itpHRPfRPlIDQ/z7 dhv3WWSDz8keTCK36ghL6MDI2I0dtueKoZ08wvu1EM8Jme8khEp73+sk9VOEdZxo9VbU XKIQ== X-Gm-Message-State: APt69E2zfWGAG4yL5F78ID+wsCAO5VmuwOtbZ59wqyWjmz9oCL7e9vOr L8r10GM9sVqcYpIgbaQMNwn9aFuXykufnw== X-Google-Smtp-Source: AAOMgpcUNop8WKAq2E9eF1YvKDtYBQkLYzZty/N0ozHUPhc/UpCDuITiYyzEpB1crOSI4wJCArUGzg== X-Received: by 2002:a19:4b90:: with SMTP id y138-v6mr8096359lfa.118.1530274641448; Fri, 29 Jun 2018 05:17:21 -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 r21-v6sm1527333lja.92.2018.06.29.05.17.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Jun 2018 05:17:20 -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 14:17:13 +0200 Message-Id: <1530274637-10156-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 v4 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: , X-List-Received-Date: Fri, 29 Jun 2018 12:17:22 -0000 Support for write combining. --- 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: * Before opening PCI resource, check if it supports WC. * Log only when WC mapping failed. * Log when wc_activate is set in igb_uio driver. 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 | 18 +++++++++++++--- 5 files changed, 66 insertions(+), 21 deletions(-) -- 2.7.4