get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 7313,
    "url": "https://patches.dpdk.org/api/patches/7313/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1443620583-28310-4-git-send-email-andrey.chilikin@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": "<1443620583-28310-4-git-send-email-andrey.chilikin@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1443620583-28310-4-git-send-email-andrey.chilikin@intel.com",
    "date": "2015-09-30T13:43:03",
    "name": "[dpdk-dev,v2,3/3] ixgbe: add check for supported flow director behaviors",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "952b5cbb0dfadd456dd1a6ac722a67557a9132d6",
    "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/1443620583-28310-4-git-send-email-andrey.chilikin@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/7313/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/7313/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 28CFD8E59;\n\tWed, 30 Sep 2015 15:43:17 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 10E29CE7\n\tfor <dev@dpdk.org>; Wed, 30 Sep 2015 15:43:09 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga101.jf.intel.com with ESMTP; 30 Sep 2015 06:43:08 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga001.jf.intel.com with ESMTP; 30 Sep 2015 06:43:08 -0700",
            "from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com\n\t[10.237.217.46])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tt8UDh6tX016502; Wed, 30 Sep 2015 14:43:07 +0100",
            "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id t8UDh6sH028377;\n\tWed, 30 Sep 2015 14:43:06 +0100",
            "(from achiliki@localhost)\n\tby sivswdev02.ir.intel.com with  id t8UDh6x8028373;\n\tWed, 30 Sep 2015 14:43:06 +0100"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.17,612,1437462000\"; d=\"scan'208\";a=\"780926303\"",
        "From": "Andrey Chilikin <andrey.chilikin@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 30 Sep 2015 14:43:03 +0100",
        "Message-Id": "<1443620583-28310-4-git-send-email-andrey.chilikin@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "In-Reply-To": "<1443620583-28310-1-git-send-email-andrey.chilikin@intel.com>",
        "References": "<1443536800-13269-1-git-send-email-andrey.chilikin@intel.com>\n\t<1443620583-28310-1-git-send-email-andrey.chilikin@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 3/3] ixgbe: add check for supported flow\n\tdirector behaviors",
        "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": "Handle only supported flow director behaviors\n\nSigned-off-by: Andrey Chilikin <andrey.chilikin@intel.com>\n---\n drivers/net/ixgbe/ixgbe_fdir.c |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)",
    "diff": "diff --git a/drivers/net/ixgbe/ixgbe_fdir.c b/drivers/net/ixgbe/ixgbe_fdir.c\nindex 5c8b833..cf0e8be 100644\n--- a/drivers/net/ixgbe/ixgbe_fdir.c\n+++ b/drivers/net/ixgbe/ixgbe_fdir.c\n@@ -959,7 +959,8 @@ ixgbe_add_del_fdir_filter(struct rte_eth_dev *dev,\n \t\t\t\t\" signature mode.\");\n \t\t\treturn -EINVAL;\n \t\t}\n-\t} else if (fdir_filter->action.rx_queue < IXGBE_MAX_RX_QUEUE_NUM)\n+\t} else if (fdir_filter->action.behavior == RTE_ETH_FDIR_ACCEPT &&\n+\t\t\tfdir_filter->action.rx_queue < IXGBE_MAX_RX_QUEUE_NUM)\n \t\tqueue = (uint8_t)fdir_filter->action.rx_queue;\n \telse\n \t\treturn -EINVAL;\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "3/3"
    ]
}