Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/6865/?format=api
http://patchwork.dpdk.org/api/patches/6865/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1441199803-27055-6-git-send-email-thomas.monjalon@6wind.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1441199803-27055-6-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1441199803-27055-6-git-send-email-thomas.monjalon@6wind.com", "date": "2015-09-02T13:16:38", "name": "[dpdk-dev,v2,05/10] eal: remove deprecated function", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "3bb6391035d5c4fd3f5e507624ada60c8404750a", "submitter": { "id": 1, "url": "http://patchwork.dpdk.org/api/people/1/?format=api", "name": "Thomas Monjalon", "email": "thomas.monjalon@6wind.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1441199803-27055-6-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "http://patchwork.dpdk.org/api/patches/6865/comments/", "check": "pending", "checks": "http://patchwork.dpdk.org/api/patches/6865/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id DFFD78E80;\n\tWed, 2 Sep 2015 15:18:07 +0200 (CEST)", "from mail-wi0-f181.google.com (mail-wi0-f181.google.com\n\t[209.85.212.181]) by dpdk.org (Postfix) with ESMTP id 270598E7B\n\tfor <dev@dpdk.org>; Wed, 2 Sep 2015 15:18:06 +0200 (CEST)", "by wicmc4 with SMTP id mc4so65960477wic.0\n\tfor <dev@dpdk.org>; Wed, 02 Sep 2015 06:18:06 -0700 (PDT)", "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by smtp.gmail.com with ESMTPSA id\n\ti6sm32392938wje.33.2015.09.02.06.18.04\n\tfor <dev@dpdk.org> (version=TLSv1/SSLv3 cipher=OTHER);\n\tWed, 02 Sep 2015 06:18:05 -0700 (PDT)" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=EyoMvyWQJIb8ozK8ZPB/CxNBKssBazlCq8Z2nCtbbjg=;\n\tb=F+4dv2SgLSRSS8GBPEYg3QZhKkxzN9p/Z3o1fvhekDU67ONMDu6NIvlOCIgxmqPvm3\n\teTYBpRaTvPHfqxWFY7aNoo6ZCMmrWq32y/PcGx/nR9kFR4vGMcvhaE3luP0vDH/D0vIm\n\tuW7SheoIRA00JkbV28sM1ikRfxdrs67FdJmvZRyjdPqSgbMF8Y4RTD+Av7YJroKfCIe9\n\tfpKnxztCP+o8ExXDi71AIy8j2UdrF0OGW36H6hHcLrSMgsQf0AuTbFFCWbbdOS4fArPy\n\tE+orzQHQ1TZdO0tvUdEMYW5FTeZ3OWrb7K/FRP+PSg9jXLfFASVE5OYzgJvGH7gq4oSn\n\tMFeg==", "X-Gm-Message-State": "ALoCoQkooIMVjNmF3HPHl1PhE2LAmj8Sa7ywhAJzC0zmbNzdYn0/7KS5Z4VpDt9MoD9aLB6En8cj", "X-Received": "by 10.180.72.35 with SMTP id a3mr3843000wiv.21.1441199886035;\n\tWed, 02 Sep 2015 06:18:06 -0700 (PDT)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "dev@dpdk.org", "Date": "Wed, 2 Sep 2015 15:16:38 +0200", "Message-Id": "<1441199803-27055-6-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.5.1", "In-Reply-To": "<1441199803-27055-1-git-send-email-thomas.monjalon@6wind.com>", "References": "<1441138697-25157-1-git-send-email-thomas.monjalon@6wind.com>\n\t<1441199803-27055-1-git-send-email-thomas.monjalon@6wind.com>", "Subject": "[dpdk-dev] [PATCH v2 05/10] eal: remove deprecated function", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The function rte_eal_pci_close_one() was renamed rte_eal_pci_detach().\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\nAcked-by: Stephen Hemminger <stephen@networkplumber.org>\nAcked-by: Neil Horman <nhorman@tuxdriver.com>\n---\n doc/guides/rel_notes/deprecation.rst | 3 ---\n doc/guides/rel_notes/release_2_2.rst | 3 +++\n lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 -\n lib/librte_eal/common/eal_common_pci.c | 6 ------\n lib/librte_eal/common/include/rte_pci.h | 2 --\n lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 -\n 6 files changed, 3 insertions(+), 13 deletions(-)", "diff": "diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex cf5cd17..604a899 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -13,9 +13,6 @@ Deprecation Notices\n There is no backward compatibility planned from release 2.2.\n All binaries will need to be rebuilt from release 2.2.\n \n-* The EAL function rte_eal_pci_close_one is deprecated because renamed to\n- rte_eal_pci_detach.\n-\n * The Macros RTE_HASH_BUCKET_ENTRIES_MAX and RTE_HASH_KEY_LENGTH_MAX are\n deprecated and will be removed with version 2.2.\n \ndiff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst\nindex 825c612..8a5b29a 100644\n--- a/doc/guides/rel_notes/release_2_2.rst\n+++ b/doc/guides/rel_notes/release_2_2.rst\n@@ -16,6 +16,9 @@ Known Issues\n API Changes\n -----------\n \n+* The function rte_eal_pci_close_one() is removed.\n+ It was replaced by rte_eal_pci_detach().\n+\n \n ABI Changes\n -----------\ndiff --git a/lib/librte_eal/bsdapp/eal/rte_eal_version.map b/lib/librte_eal/bsdapp/eal/rte_eal_version.map\nindex 2758848..64fdfb1 100644\n--- a/lib/librte_eal/bsdapp/eal/rte_eal_version.map\n+++ b/lib/librte_eal/bsdapp/eal/rte_eal_version.map\n@@ -40,7 +40,6 @@ DPDK_2.0 {\n \trte_eal_mp_remote_launch;\n \trte_eal_mp_wait_lcore;\n \trte_eal_parse_devargs_str;\n-\trte_eal_pci_close_one;\n \trte_eal_pci_dump;\n \trte_eal_pci_probe;\n \trte_eal_pci_probe_one;\ndiff --git a/lib/librte_eal/common/eal_common_pci.c b/lib/librte_eal/common/eal_common_pci.c\nindex 16e8629..dcfe947 100644\n--- a/lib/librte_eal/common/eal_common_pci.c\n+++ b/lib/librte_eal/common/eal_common_pci.c\n@@ -348,12 +348,6 @@ err_return:\n \treturn -1;\n }\n \n-int __attribute__ ((deprecated))\n-rte_eal_pci_close_one(const struct rte_pci_addr *addr)\n-{\n-\treturn rte_eal_pci_detach(addr);\n-}\n-\n /*\n * Detach device specified by its pci address.\n */\ndiff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h\nindex 3fb2d3a..83e3c28 100644\n--- a/lib/librte_eal/common/include/rte_pci.h\n+++ b/lib/librte_eal/common/include/rte_pci.h\n@@ -426,8 +426,6 @@ int rte_eal_pci_probe_one(const struct rte_pci_addr *addr);\n * - Negative on error.\n */\n int rte_eal_pci_detach(const struct rte_pci_addr *addr);\n-int __attribute__ ((deprecated))\n-rte_eal_pci_close_one(const struct rte_pci_addr *addr);\n \n /**\n * Dump the content of the PCI bus.\ndiff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map\nindex 59b1717..dbb8fa1 100644\n--- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map\n+++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map\n@@ -40,7 +40,6 @@ DPDK_2.0 {\n \trte_eal_mp_remote_launch;\n \trte_eal_mp_wait_lcore;\n \trte_eal_parse_devargs_str;\n-\trte_eal_pci_close_one;\n \trte_eal_pci_dump;\n \trte_eal_pci_probe;\n \trte_eal_pci_probe_one;\n", "prefixes": [ "dpdk-dev", "v2", "05/10" ] }{ "id": 6865, "url": "