From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f193.google.com (mail-wj0-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id 90201FAFE for ; Tue, 20 Dec 2016 12:12:15 +0100 (CET) Received: by mail-wj0-f193.google.com with SMTP id kp2so27156873wjc.0 for ; Tue, 20 Dec 2016 03:12:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=t3gAwnjgGC8kttCwynfMhvSzQxYU2b3+N9uO8ao63SI=; b=pajc+i2bb/Rb1i1uMAjKa9kknEy2/3yndOpTZwpIyovbcQHOjnLVUH9sNqLHp1g1kk WOQuMwaj5ftNi99kOaDuZrBsMO/Yz00ao9iEyZSV3w/ryRAKeasGHo4s3owBd9Yie4HV NoLOd3RUSI0DJal2vnWNubQsC5iY3K208TN55VG3MfvARuSX7KgwhywcA76i3pAsDvFx WONUiiIQfjiq0S6WrNP4lA33syFmoUgsUp0cFt+Wh/gWnqy63ikqK9YV2rVZtDvPNu9R kfO2kT8mfh94hAlZ8V4bx3z+Q3tCdlN3n8D2ECSGYDszp7q1HQ0sP0llPIYuDaWI6VWV gkTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=t3gAwnjgGC8kttCwynfMhvSzQxYU2b3+N9uO8ao63SI=; b=sKBaf9NUDwPhM0l5D1hZ/WSwB4aPFhuIypWEvQOI4ScKLY7Kh/HEBwzeFrsodXn5Ht CBB4CkwQwSkaAdv5iar6AFaRDQSbEaGxQD0iNtHFw5t8bizSGceAQu61oE5cPNj9TUk6 BSth3RlMErXjadTyZj1jjS3rasaOSomhA51pJhDFZCgj6JspyJPV1g5s6sOT2kSQDrbR OjJdCs2MrG/VLUMwSJuvuh+fVnQOyxhUtdJBzP3dg9hsex1amDoRxFo09FR0xbNDAZ7S QOOSkZS1+5ruIbOv7rrE56LfOD8fpmCUD3LlnsKKieGBRcK9HDcmkkVRIVllpYWa46BA u3zw== X-Gm-Message-State: AIkVDXKRAcZNJy18ucaoLB4oI/OXeonR/j16Z8yJIdb5W3vIWOlmMdCML2AOTm4TGjBnJg== X-Received: by 10.195.30.165 with SMTP id kf5mr17694893wjd.41.1482232335258; Tue, 20 Dec 2016 03:12:15 -0800 (PST) Received: from weierstrass.local.net ([91.200.109.169]) by smtp.gmail.com with ESMTPSA id q65sm21527756wmd.6.2016.12.20.03.12.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Dec 2016 03:12:13 -0800 (PST) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Cc: shreyansh.jain@nxp.com, david.marchand@6wind.com, stephen@networkplumber.org Date: Tue, 20 Dec 2016 12:11:46 +0100 Message-Id: <1482232315-21626-1-git-send-email-jblunck@infradead.org> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH v3 0/9] Decouple ethdev from PCI device 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: Tue, 20 Dec 2016 11:12:15 -0000 This is a repost of the series I sent in November. I've addressed Shreyansh's review comments about the PCI device users I've missed. Jan Blunck (9): eal: define container_of macro ethdev: Helper to convert to struct rte_pci_device drivers: Use ETH_DEV_PCI_DEV() helper virtio: Don't fill dev_info->driver_name virtio: Add vtpci_intr_handle() helper to get rte_intr_handle virtio: Don't depend on struct rte_eth_dev's pci_dev ethdev: Move filling of rte_eth_dev_info->pci_dev to dev_infos_get() ethdev: Decouple interrupt handling from PCI device ethdev: Decouple struct rte_eth_dev from struct rte_pci_device app/test/virtual_pmd.c | 4 +- drivers/net/bnx2x/bnx2x_ethdev.c | 13 +++--- drivers/net/bnxt/bnxt_ethdev.c | 21 ++++++---- drivers/net/bnxt/bnxt_ring.c | 11 ++--- drivers/net/bonding/rte_eth_bond_args.c | 12 +++++- drivers/net/cxgbe/cxgbe_ethdev.c | 4 +- drivers/net/cxgbe/cxgbe_main.c | 4 +- drivers/net/e1000/em_ethdev.c | 21 ++++++---- drivers/net/e1000/igb_ethdev.c | 52 +++++++++++++---------- drivers/net/e1000/igb_pf.c | 3 +- drivers/net/ena/ena_ethdev.c | 4 +- drivers/net/enic/enic_ethdev.c | 3 +- drivers/net/fm10k/fm10k_ethdev.c | 56 +++++++++++++------------ drivers/net/i40e/i40e_ethdev.c | 45 ++++++++++---------- drivers/net/i40e/i40e_ethdev.h | 4 ++ drivers/net/i40e/i40e_ethdev_vf.c | 39 ++++++++--------- drivers/net/ixgbe/ixgbe_ethdev.c | 67 ++++++++++++++++++------------ drivers/net/ixgbe/ixgbe_pf.c | 2 +- drivers/net/mlx4/mlx4.c | 2 + drivers/net/mlx5/mlx5_ethdev.c | 2 + drivers/net/nfp/nfp_net.c | 17 ++++---- drivers/net/qede/qede_ethdev.c | 18 ++++---- drivers/net/szedata2/rte_eth_szedata2.c | 28 +++++++------ drivers/net/szedata2/rte_eth_szedata2.h | 34 +++++++-------- drivers/net/thunderx/nicvf_ethdev.c | 7 +++- drivers/net/virtio/virtio_ethdev.c | 38 ++++++++--------- drivers/net/virtio/virtio_pci.h | 6 +++ drivers/net/virtio/virtio_user_ethdev.c | 1 - drivers/net/vmxnet3/vmxnet3_ethdev.c | 6 ++- lib/librte_eal/common/include/rte_common.h | 20 +++++++++ lib/librte_eal/common/include/rte_pci.h | 6 +++ lib/librte_ether/rte_ethdev.c | 25 ++++++++--- lib/librte_ether/rte_ethdev.h | 9 +++- 33 files changed, 355 insertions(+), 229 deletions(-) -- 2.7.4