get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 86060,
    "url": "https://patches.dpdk.org/api/patches/86060/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1609949855-23817-1-git-send-email-xuemingl@nvidia.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": "<1609949855-23817-1-git-send-email-xuemingl@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1609949855-23817-1-git-send-email-xuemingl@nvidia.com",
    "date": "2021-01-06T16:17:26",
    "name": "[v2,0/9] support SubFunction representor",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1904,
        "url": "https://patches.dpdk.org/api/people/1904/?format=api",
        "name": "Xueming Li",
        "email": "xuemingl@nvidia.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1609949855-23817-1-git-send-email-xuemingl@nvidia.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/86060/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/86060/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 00849A09FF;\n\tWed,  6 Jan 2021 17:18:35 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6DB39140E1E;\n\tWed,  6 Jan 2021 17:18:11 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id 582C4140E03\n for <dev@dpdk.org>; Wed,  6 Jan 2021 17:18:05 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n xuemingl@nvidia.com) with SMTP; 6 Jan 2021 18:18:00 +0200",
            "from nvidia.com (pegasus05.mtr.labs.mlnx [10.210.16.100])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 106GI0Mf017451;\n Wed, 6 Jan 2021 18:18:00 +0200"
        ],
        "From": "Xueming Li <xuemingl@nvidia.com>",
        "To": "Thomas Monjalon <thomas@monjalon.net>,\n Ferruh Yigit <ferruh.yigit@intel.com>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,\n Olivier Matz <olivier.matz@6wind.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>",
        "Cc": "dev@dpdk.org, xuemingl@nvidia.com, Asaf Penso <asafp@nvidia.com>",
        "Date": "Wed,  6 Jan 2021 16:17:26 +0000",
        "Message-Id": "<1609949855-23817-1-git-send-email-xuemingl@nvidia.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1608303356-13089-2-git-send-email-xuemingl@nvidia.com>",
        "References": "<1608303356-13089-2-git-send-email-xuemingl@nvidia.com>",
        "Subject": "[dpdk-dev] [PATCH v2 0/9] support SubFunction representor",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "SubFunction [1] is a portion of the PCI device, a SF netdev has its own\ndedicated queues(txq, rxq). A SF netdev supports eswitch representation\noffload similar to existing PF and VF representors. A SF shares PCI\nlevel resources with other SFs and/or with its parent PCI function.\n\nFrom SmartNIC perspective, when PCI device is shared for multi-host,\nrepresentors for host controller and host PF is required.\n\nThis patch set introduces new representor types in addtion to existing\nVF representor. Syntax:\n\n[[c#]pf#]vf#: VF port representor/s from controller/pf\n[[c#]pf#]sf#: SF port representor/s from controller/pf\n#: VF representor - for backwards compatibility\n\n\"#\" is number instance, list or range, valid examples:\n  1, [1,3,5], [0-3], [0,2-4,6]\n\nFor backward compatibility, this patch also introduces new netdev\ncapability\nto indicate the capability to support SF representor.\n\nVersion history:\n RFC:\n \tinitial version [2]\n V2:\n    - separate patch for represnetor infrastructure, controller, pf and\n      sf.\n    - replace representor ID macro with functions:\n      rte_eth_representor_id_encode()\n      rte_eth_representor_id_parse()\n    - new patch to allow devargs with same PCI BDF but different\n      representors.\n    - other minor code updates according to comments, thanks Andrew!\n    - update document\n\n[1] SubFunction in kernel:\nhttps://lore.kernel.org/netdev/20201112192424.2742-1-parav@nvidia.com/\n\n[2] RFC:\nhttp://patchwork.dpdk.org/project/dpdk/list/?series=14376\n\nXueming Li (9):\n  ethdev: refactor representor infrastructure\n  ethdev: support new VF representor syntax\n  ethdev: support sub function representor\n  ethdev: support PF index in representor\n  ethdev: support multi-host representor\n  devarg: change reprsentor ID to bitmap\n  ethdev: capability of new representor syntax\n  kvargs: update parser for new representor syntax\n  eal: allow PCI device with different representors\n\n config/rte_config.h                      |   1 +\n doc/guides/prog_guide/poll_mode_drv.rst  |   8 +-\n drivers/net/bnxt/bnxt_ethdev.c           |  12 +++\n drivers/net/bnxt/bnxt_reps.c             |   3 +-\n drivers/net/enic/enic_ethdev.c           |   7 ++\n drivers/net/enic/enic_vf_representor.c   |   3 +-\n drivers/net/i40e/i40e_ethdev.c           |   8 ++\n drivers/net/i40e/i40e_vf_representor.c   |   3 +-\n drivers/net/ixgbe/ixgbe_ethdev.c         |   8 ++\n drivers/net/ixgbe/ixgbe_vf_representor.c |   3 +-\n drivers/net/mlx5/linux/mlx5_os.c         |  15 ++-\n lib/librte_eal/common/eal_common_bus.c   |  25 +++++\n lib/librte_ethdev/ethdev_private.c       | 128 ++++++++++++++---------\n lib/librte_ethdev/ethdev_private.h       |   3 -\n lib/librte_ethdev/rte_class_eth.c        |  40 +++++--\n lib/librte_ethdev/rte_ethdev.c           |  31 +++++-\n lib/librte_ethdev/rte_ethdev.h           |   2 +\n lib/librte_ethdev/rte_ethdev_driver.h    |  64 ++++++++++++\n lib/librte_ethdev/version.map            |   2 +\n lib/librte_kvargs/rte_kvargs.c           |  83 ++++++++++-----\n 20 files changed, 348 insertions(+), 101 deletions(-)",
    "diff": null,
    "prefixes": [
        "v2",
        "0/9"
    ]
}