get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1439,
    "url": "https://patches.dpdk.org/api/patches/1439/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/AAC06825A3B29643AF5372F5E0DDF0533503494E@IRSMSX106.ger.corp.intel.com/",
    "project": {
        "id": 1,
        "url": "https://patches.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": "<AAC06825A3B29643AF5372F5E0DDF0533503494E@IRSMSX106.ger.corp.intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/AAC06825A3B29643AF5372F5E0DDF0533503494E@IRSMSX106.ger.corp.intel.com",
    "date": "2014-11-21T17:03:27",
    "name": "[dpdk-dev,v6,09/22] mbuf: extend fdir field",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "10424d498a8273c27616b720a70347bbefcb80e7",
    "submitter": {
        "id": 94,
        "url": "https://patches.dpdk.org/api/people/94/?format=api",
        "name": "Chilikin, Andrey",
        "email": "andrey.chilikin@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/AAC06825A3B29643AF5372F5E0DDF0533503494E@IRSMSX106.ger.corp.intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1439/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1439/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 37B817F70;\n\tFri, 21 Nov 2014 17:52:58 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id DC0426829\n\tfor <dev@dpdk.org>; Fri, 21 Nov 2014 17:52:56 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga102.jf.intel.com with ESMTP; 21 Nov 2014 09:01:13 -0800",
            "from irsmsx103.ger.corp.intel.com ([163.33.3.157])\n\tby orsmga002.jf.intel.com with ESMTP; 21 Nov 2014 09:03:28 -0800",
            "from irsmsx106.ger.corp.intel.com ([169.254.8.18]) by\n\tIRSMSX103.ger.corp.intel.com ([169.254.3.134]) with mapi id\n\t14.03.0195.001; Fri, 21 Nov 2014 17:03:28 +0000"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.07,432,1413270000\"; d=\"scan'208\";a=\"641240508\"",
        "From": "\"Chilikin, Andrey\" <andrey.chilikin@intel.com>",
        "To": "\"Wu, Jingjing\" <jingjing.wu@intel.com>, \"dev@dpdk.org\" <dev@dpdk.org>",
        "Thread-Topic": "[dpdk-dev] [PATCH v6 09/22] mbuf: extend fdir field",
        "Thread-Index": "AQHQBSTQaHI7STNEBEia5fe9AN4wCJxrTwiQ",
        "Date": "Fri, 21 Nov 2014 17:03:27 +0000",
        "Message-ID": "<AAC06825A3B29643AF5372F5E0DDF0533503494E@IRSMSX106.ger.corp.intel.com>",
        "References": "<1414654006-7472-1-git-send-email-jingjing.wu@intel.com>\n\t<1416530816-2159-1-git-send-email-jingjing.wu@intel.com>\n\t<1416530816-2159-10-git-send-email-jingjing.wu@intel.com>",
        "In-Reply-To": "<1416530816-2159-10-git-send-email-jingjing.wu@intel.com>",
        "Accept-Language": "en-GB, en-US",
        "Content-Language": "en-US",
        "X-MS-Has-Attach": "",
        "X-MS-TNEF-Correlator": "",
        "x-originating-ip": "[163.33.239.180]",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "quoted-printable",
        "MIME-Version": "1.0",
        "Subject": "Re: [dpdk-dev] [PATCH v6 09/22] mbuf: extend fdir field",
        "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": "This patch adds extra 32bits to rte_mbuf::hash - so 'uint32_t usr' will move to the second cache line?\n\nRegards,\nAndrey\n\n-----Original Message-----\nFrom: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jingjing Wu\nSent: Friday, November 21, 2014 12:47 AM\nTo: dev@dpdk.org\nSubject: [dpdk-dev] [PATCH v6 09/22] mbuf: extend fdir field\n\nfdir field in rte_mbuf is extened to support flex bytes reported when fdir match.\n8 flex bytes can be reported in maximum.\nThe reported flex bytes are part of flexible payload.\n\nSigned-off-by: jingjing.wu <jingjing.wu@intel.com>\n---\n lib/librte_mbuf/rte_mbuf.h | 17 ++++++++++++++---\n 1 file changed, 14 insertions(+), 3 deletions(-)\n\n #define PKT_TX_IP_CKSUM      (1ULL << 54) /**< IP cksum of TX pkt. computed by NIC. */\n@@ -181,8 +183,17 @@ struct rte_mbuf {\n \tunion {\n \t\tuint32_t rss;     /**< RSS hash result if RSS enabled */\n \t\tstruct {\n-\t\t\tuint16_t hash;\n-\t\t\tuint16_t id;\n+\t\t\tunion {\n+\t\t\t\tstruct {\n+\t\t\t\t\tuint16_t hash;\n+\t\t\t\t\tuint16_t id;\n+\t\t\t\t};\n+\t\t\t\tuint32_t lo;\n+\t\t\t\t/**< Second 4 flexible bytes */\n+\t\t\t};\n+\t\t\tuint32_t hi;\n+\t\t\t/**< First 4 flexible bytes or FD ID, dependent on\n+\t\t\t     PKT_RX_FDIR_* flag in ol_flags. */\n \t\t} fdir;           /**< Filter identifier if FDIR enabled */\n \t\tuint32_t sched;   /**< Hierarchical scheduler */\n \t\tuint32_t usr;\t  /**< User defined tags. See @rte_distributor_process */\n--\n1.8.1.4",
    "diff": "diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index f5f8658..5899e5c 100644\n--- a/lib/librte_mbuf/rte_mbuf.h\n+++ b/lib/librte_mbuf/rte_mbuf.h\n@@ -77,7 +77,7 @@ extern \"C\" {\n  */\n #define PKT_RX_VLAN_PKT      (1ULL << 0)  /**< RX packet is a 802.1q VLAN packet. */\n #define PKT_RX_RSS_HASH      (1ULL << 1)  /**< RX packet with RSS hash result. */\n-#define PKT_RX_FDIR          (1ULL << 2)  /**< RX packet with FDIR infos. */\n+#define PKT_RX_FDIR          (1ULL << 2)  /**< RX packet with FDIR match indicate. */\n #define PKT_RX_L4_CKSUM_BAD  (1ULL << 3)  /**< L4 cksum of RX pkt. is not OK. */  #define PKT_RX_IP_CKSUM_BAD  (1ULL << 4)  /**< IP cksum of RX pkt. is not OK. */  #define PKT_RX_EIP_CKSUM_BAD (0ULL << 0)  /**< External IP header checksum error. */ @@ -93,6 +93,8 @@ extern \"C\" {  #define PKT_RX_IEEE1588_TMST (1ULL << 10) /**< RX IEEE1588 L2/L4 timestamped packet.*/  #define PKT_RX_TUNNEL_IPV4_HDR (1ULL << 11) /**< RX tunnel packet with IPv4 header.*/  #define PKT_RX_TUNNEL_IPV6_HDR (1ULL << 12) /**< RX tunnel packet with IPv6 header. */\n+#define PKT_RX_FDIR_ID       (1ULL << 13) /**< FD id reported if FDIR match. */\n+#define PKT_RX_FDIR_FLX      (1ULL << 14) /**< Flexible bytes reported if FDIR match. */\n \n #define PKT_TX_VLAN_PKT      (1ULL << 55) /**< TX packet is a 802.1q VLAN packet. */\n",
    "prefixes": [
        "dpdk-dev",
        "v6",
        "09/22"
    ]
}