Show a patch.

GET /api/patches/44074/
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 44074,
    "url": "http://patches.dpdk.org/api/patches/44074/",
    "web_url": "http://patches.dpdk.org/patch/44074/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20180831085337.21419-8-adrien.mazarguil@6wind.com>",
    "date": "2018-08-31T09:01:13",
    "name": "[v3,7/7] ethdev: deprecate rte_flow_copy function",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a8b048dc07624bd3f7a78851498a8eb3bf54e4ec",
    "submitter": {
        "id": 165,
        "url": "http://patches.dpdk.org/api/people/165/",
        "name": "Adrien Mazarguil",
        "email": "adrien.mazarguil@6wind.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "mbox": "http://patches.dpdk.org/patch/44074/mbox/",
    "series": [
        {
            "id": 1123,
            "url": "http://patches.dpdk.org/api/series/1123/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1123",
            "date": "2018-08-31T09:00:57",
            "name": "ethdev: add flow API object converter",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/1123/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44074/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44074/checks/",
    "tags": {},
    "headers": {
        "X-Mailman-Version": "2.1.15",
        "In-Reply-To": "<20180831085337.21419-1-adrien.mazarguil@6wind.com>",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Mailer": "git-send-email 2.11.0",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 8696A56A3;\n\tFri, 31 Aug 2018 11:01:47 +0200 (CEST)",
            "from mail-wm0-f53.google.com (mail-wm0-f53.google.com\n\t[74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 730994F91\n\tfor <dev@dpdk.org>; Fri, 31 Aug 2018 11:01:30 +0200 (CEST)",
            "by mail-wm0-f53.google.com with SMTP id y2-v6so4483493wma.1\n\tfor <dev@dpdk.org>; Fri, 31 Aug 2018 02:01:30 -0700 (PDT)",
            "from 6wind.com (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\td10-v6sm14039839wrv.70.2018.08.31.02.01.28\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 31 Aug 2018 02:01:29 -0700 (PDT)"
        ],
        "References": "<20180803132032.29038-1-adrien.mazarguil@6wind.com>\n\t<20180831085337.21419-1-adrien.mazarguil@6wind.com>",
        "X-Google-Smtp-Source": "ANB0VdaKWdRCEB1IVmg6RfJUAMA40AM+Mw8Dh2Xd/2JDpA+MKtTq2r4g/jEC6Vp0g0ZxX3Sn6p+7kw==",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to;\n\tbh=IzPbNQ/8NnpkShHPveVJrOxLQ4CzraLvD61cufN3nAo=;\n\tb=hBuyLcZjXlPLvwFv0njmJSttlO3fGNbfL44UCo8IClmg3LEsT69WJXFzB9RV65Nltz\n\tFcL6FfosVF0gJ0oAXKxOI8L4tmDFRgDsOjKSHLUYXq9Qaf1t+VV1UOgnW+TT6P3Qdv01\n\tMKQVnuIGpoMXesdlLPcuxs7lY1m7G/Dxh0ug35kV4OhnEWSV9fmyrupC5rMvEgOkIfLy\n\tz22oU8YbTu+WfABA+j7Dw8xhxi1ruUHjkPuLpDLg5f+RbhXCjbXW6f1byOmGohvfmBCK\n\to7S+bpwujQIeGB37Y/3AAlOdaskDUSR68V0TC1Mre+0cmxohrCz1+VnxCamrLbv999bK\n\t6V1w==",
        "MIME-Version": "1.0",
        "X-Received": "by 2002:a1c:a94d:: with SMTP id\n\ts74-v6mr4334212wme.39.1535706090172; \n\tFri, 31 Aug 2018 02:01:30 -0700 (PDT)",
        "Message-ID": "<20180831085337.21419-8-adrien.mazarguil@6wind.com>",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to;\n\tbh=IzPbNQ/8NnpkShHPveVJrOxLQ4CzraLvD61cufN3nAo=;\n\tb=Z4H0yt4/pGnsVUoZi/DAO7zfHR3a4fd0xJBwQ0hUKCNZvdB4HJgoKi3b3x4UOuju2e\n\t2URk82uvf60EqGdR+6k4XDaRQrhrEs0zn6Ivot3d+ANFXfG/55g0t1PHXXqpsf/Bgs+C\n\tJvmTPYn4D4QL07li+CbvJ/Lf7b/PjfiNyauMkIhrEhAQf1JKNvF3bl/jN1AFksT9GELn\n\tKMQH2mDZ7nMIa072Rn6YfYQdhgn/jV7bomjHqPLCgV0yvga+59TZ9NN9AhHn7jymHPZ+\n\tNzg+BkOghhlHOYwUDCfn+tLAjc4MEc4ySmAjSnCAuT/yBN621S1NjF2LZEUGavff5qe4\n\tgkLQ==",
        "Delivered-To": "patchwork@dpdk.org",
        "Precedence": "list",
        "From": "Adrien Mazarguil <adrien.mazarguil@6wind.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "Content-Type": "text/plain; charset=us-ascii",
        "Content-Disposition": "inline",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "To": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Date": "Fri, 31 Aug 2018 11:01:13 +0200",
        "X-Gm-Message-State": "APzg51Cim3xh0Q1/2qOcEsVLkYh54EFNrXujQWJE8ZuHwXf6HJhVM6ow\n\tDAhYGUXtRorhQEdv8fhwctKJEA==",
        "Cc": "dev@dpdk.org, Thomas Monjalon <thomas@monjalon.net>,\n\tAndrew Rybchenko <arybchenko@solarflare.com>,\n\tGaetan Rivet <gaetan.rivet@6wind.com>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-BeenThere": "dev@dpdk.org",
        "Subject": "[dpdk-dev] [PATCH v3 7/7] ethdev: deprecate rte_flow_copy function"
    },
    "content": "No users left for this function, time to deprecate it.\n\nSigned-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>\nCc: Thomas Monjalon <thomas@monjalon.net>\nCc: Ferruh Yigit <ferruh.yigit@intel.com>\nCc: Andrew Rybchenko <arybchenko@solarflare.com>\nCc: Gaetan Rivet <gaetan.rivet@6wind.com>\n--\nv3 changes:\n\n- Removed deprecation notice (finally got Ferruh's point), made patch last\n  in series.\n\nv2 changes:\n\n- Patch was not present in original series.\n---\n doc/guides/rel_notes/deprecation.rst | 7 -------\n lib/librte_ethdev/rte_flow.h         | 7 ++++++-\n 2 files changed, 6 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex e2dbee317..48cfb266b 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -88,10 +88,3 @@ Deprecation Notices\n   - ``rte_pdump_set_socket_dir`` will be removed;\n   - The parameter, ``path``, of ``rte_pdump_init`` will be removed;\n   - The enum ``rte_pdump_socktype`` will be removed.\n-\n-* ethdev: flow API function ``rte_flow_copy()`` will be deprecated in v18.11\n-  in favor of ``rte_flow_conv()`` (which will appear in that version) and\n-  subsequently removed for v19.02.\n-\n-  This is due to a lack of flexibility and reliance on a type unusable with\n-  C++ programs (struct rte_flow_desc).\ndiff --git a/lib/librte_ethdev/rte_flow.h b/lib/librte_ethdev/rte_flow.h\nindex 052ceefb6..f062ffead 100644\n--- a/lib/librte_ethdev/rte_flow.h\n+++ b/lib/librte_ethdev/rte_flow.h\n@@ -2332,6 +2332,7 @@ rte_flow_error_set(struct rte_flow_error *error,\n \t\t   const char *message);\n \n /**\n+ * @deprecated\n  * @see rte_flow_copy()\n  */\n struct rte_flow_desc {\n@@ -2343,10 +2344,13 @@ struct rte_flow_desc {\n };\n \n /**\n+ * @deprecated\n  * Copy an rte_flow rule description.\n  *\n  * This interface is kept for compatibility with older applications but is\n- * implemented as a wrapper to rte_flow_conv().\n+ * implemented as a wrapper to rte_flow_conv(). It is deprecated due to its\n+ * lack of flexibility and reliance on a type unusable with C++ programs\n+ * (struct rte_flow_desc).\n  *\n  * @param[in] fd\n  *   Flow rule description.\n@@ -2365,6 +2369,7 @@ struct rte_flow_desc {\n  *   If len is lower than the size of the flow, the number of bytes that would\n  *   have been written to desc had it been sufficient. Nothing is written.\n  */\n+__rte_deprecated\n size_t\n rte_flow_copy(struct rte_flow_desc *fd, size_t len,\n \t      const struct rte_flow_attr *attr,\n",
    "prefixes": [
        "v3",
        "7/7"
    ]
}