get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 51800,
    "url": "https://patches.dpdk.org/api/patches/51800/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1553692547-16695-1-git-send-email-viacheslavo@mellanox.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": "<1553692547-16695-1-git-send-email-viacheslavo@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1553692547-16695-1-git-send-email-viacheslavo@mellanox.com",
    "date": "2019-03-27T13:15:34",
    "name": "[v4,00/14] net/mlx5: add support for multiport IB devices",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1102,
        "url": "https://patches.dpdk.org/api/people/1102/?format=api",
        "name": "Slava Ovsiienko",
        "email": "viacheslavo@mellanox.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1553692547-16695-1-git-send-email-viacheslavo@mellanox.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/51800/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/51800/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 526891B142;\n\tWed, 27 Mar 2019 14:16:22 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id E85155424\n\tfor <dev@dpdk.org>; Wed, 27 Mar 2019 14:16:17 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n\tviacheslavo@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 27 Mar 2019 15:15:51 +0200",
            "from pegasus12.mtr.labs.mlnx. (pegasus12.mtr.labs.mlnx\n\t[10.210.17.40])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x2RDFpbf000934;\n\tWed, 27 Mar 2019 15:15:51 +0200"
        ],
        "From": "Viacheslav Ovsiienko <viacheslavo@mellanox.com>",
        "To": "dev@dpdk.org",
        "Cc": "shahafs@mellanox.com",
        "Date": "Wed, 27 Mar 2019 13:15:34 +0000",
        "Message-Id": "<1553692547-16695-1-git-send-email-viacheslavo@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1553614522-12151-1-git-send-email-viacheslavo@mellanox.com>",
        "References": "<1553614522-12151-1-git-send-email-viacheslavo@mellanox.com>",
        "Subject": "[dpdk-dev] [PATCH v4 00/14] net/mlx5: add support for multiport IB\n\tdevices",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "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>",
        "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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The Mellanox NICs support SR-IOV and have E-Switch feature. \nWhen SR-IOV is set up in switchdev mode and E-Switch is enabled\nwe have so called VF representors in the system. All representors\nbelonging to the same E-Switch are created on the basis of the\nsingle PCI function and with current implementation each representor\nhas its own dedicated Infiniband device and operates within its\nown Infiniband context. It is proposed to provide representors\nas ports of the single Infiniband device and operate on the\nshared Infiniband context.\n\nmlx5_pci_probe() routine is planned to be extended to probe\nthe ports of found Infiniband devices. All active ports,\nbelonging to the same Infiniband device will use the signle\nshared Infiniband context of that device:\n  - QP are created within shared context, with assigning to\n    specified port\n  - Verb flows are also created with specifying port index\n  - Protection Domain is shared by all representors\n  - Global Memory Regions Cache is shared by all representors,\n    local ones are not (not in this patchset)\n  - Shared Asynchronous Event Handler distributes events\n    among the device ports (not in this patchset)\n  - UAR mapping to user space is also shared (not in patchset)\n\t\t  \nEach representor has its own attached network interface device,\ninterface name and index can be retrieved via IB device and\nport index, so the link control is performed via Netlink\nin the same way as in existing implementation.\n\nThis patchset also superseedes http://patches.dpdk.org/patch/50486/\n\nSigned-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>\n\n---\nv4:\n\t- minor typo fixes for debug compilation\n\t- rebased on current top of repo\n\t- removed dependency on DR (Direct Rules)\n\nv3:\n\thttp://patches.dpdk.org/cover/51728/\n\t- vport_id field is added, contains associated VF vport\n\t  index on E-Switch. representor_id field is reverted\n\t  to keep the VF index\n\t- some comment spellcheck\n\t- some error logging is added for master/representor\n\t  wrong recognition\n\t- shared IB context alloc/free routines mutex\n\t  protection added  \n\nv2:\n\thttp://patches.dpdk.org/patch/51642/\n\t- clarifying comments added\n\t- secondary process does not probe IB device at all and\n\t  does not create shared context\n\t- minor bugs (like ++ in assert) fixed\n\t- representor_id contains corresponding VF vport index,\n\t  no corrections +1 is needed anymore. vport index is\n\t  calculated in the only place in code and if indexing\n\t  schema is changed it would be easy to modify\n\t  \nv1:\n\thttp://patches.dpdk.org/cover/51451/\n\nViacheslav Ovsiienko (13):\n  net/mlx5: add representor recognition on kernels 5.x\n  net/mlx5: modify get ifindex routine for multiport IB\n  net/mlx5: add getting IB ports number for multiport IB\n  net/mlx5: add multiport IB device support to probing\n  net/mlx5: add IB shared context alloc/free functions\n  net/mlx5: switch to the names in the shared IB context\n  net/mlx5: switch to the shared Protection Domain\n  net/mlx5: switch to the shared context IB attributes\n  net/mlx5: switch to the shared IB device context\n  net/mlx5: provide IB port for the object being created\n  net/mlx5: update install/uninstall int handler routines\n  net/mlx5: update event handler for multiport IB devices\n  net/mlx5: add source vport match to the ingress rules\n\n drivers/net/mlx5/Makefile          |  10 +\n drivers/net/mlx5/meson.build       |   4 +\n drivers/net/mlx5/mlx5.c            | 638 ++++++++++++++++++++++++++-----------\n drivers/net/mlx5/mlx5.h            |  45 ++-\n drivers/net/mlx5/mlx5_ethdev.c     | 248 +++++++++-----\n drivers/net/mlx5/mlx5_flow.c       |   2 +\n drivers/net/mlx5/mlx5_flow_dv.c    |  44 ++-\n drivers/net/mlx5/mlx5_flow_verbs.c |   7 +-\n drivers/net/mlx5/mlx5_mr.c         |   4 +-\n drivers/net/mlx5/mlx5_nl.c         | 108 ++++++-\n drivers/net/mlx5/mlx5_rxq.c        |  41 +--\n drivers/net/mlx5/mlx5_socket.c     |   4 +-\n drivers/net/mlx5/mlx5_stats.c      |  22 +-\n drivers/net/mlx5/mlx5_trigger.c    |   2 +-\n drivers/net/mlx5/mlx5_txq.c        |  24 +-\n 15 files changed, 868 insertions(+), 335 deletions(-)",
    "diff": null,
    "prefixes": [
        "v4",
        "00/14"
    ]
}