get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 59697,
    "url": "http://patches.dpdk.org/api/patches/59697/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1569398015-6027-1-git-send-email-viacheslavo@mellanox.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<1569398015-6027-1-git-send-email-viacheslavo@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1569398015-6027-1-git-send-email-viacheslavo@mellanox.com",
    "date": "2019-09-25T07:53:23",
    "name": "[00/12] net/mlx5: add bonding configuration support",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1102,
        "url": "http://patches.dpdk.org/api/people/1102/?format=api",
        "name": "Slava Ovsiienko",
        "email": "viacheslavo@mellanox.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1569398015-6027-1-git-send-email-viacheslavo@mellanox.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/59697/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/59697/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 5D683B62;\n\tWed, 25 Sep 2019 09:53:47 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id 838912AB\n\tfor <dev@dpdk.org>; Wed, 25 Sep 2019 09:53:45 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n\tviacheslavo@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 25 Sep 2019 10:53:44 +0300",
            "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 x8P7riMN030174;\n\tWed, 25 Sep 2019 10:53:44 +0300",
            "from pegasus12.mtr.labs.mlnx (localhost [127.0.0.1])\n\tby pegasus12.mtr.labs.mlnx (8.14.7/8.14.7) with ESMTP id\n\tx8P7riVB006849; Wed, 25 Sep 2019 07:53:44 GMT",
            "(from viacheslavo@localhost)\n\tby pegasus12.mtr.labs.mlnx (8.14.7/8.14.7/Submit) id x8P7riGS006848; \n\tWed, 25 Sep 2019 07:53:44 GMT"
        ],
        "X-Authentication-Warning": "pegasus12.mtr.labs.mlnx: viacheslavo set sender to\n\tviacheslavo@mellanox.com using -f",
        "From": "Viacheslav Ovsiienko <viacheslavo@mellanox.com>",
        "To": "dev@dpdk.org",
        "Cc": "matan@mellanox.com, rasland@mellanox.com",
        "Date": "Wed, 25 Sep 2019 07:53:23 +0000",
        "Message-Id": "<1569398015-6027-1-git-send-email-viacheslavo@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [PATCH 00/12] net/mlx5: add bonding configuration support",
        "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": "Multiport Mellanox NICs may support the bonding configurations internally.\nLet's suppose there is ConnectX-5 NIC with two physical ports, on the host\nit presents two PCI physical functions:\n\n- PF0, say with PCI address 0000:82:00.0 and net interface ens1f0\n- PF1, say with PCI address 0000:82:00.1 and net interface ens1f1\n\nAlso, let's suppose SR-IOV feature is enabled, swithdev mode is engaged,\nand there is some set virtual PCI functions and their representor interfaces.\nThe physical interfaces may be combined into single bond interface,\nsupported by NIC HW/FW means directly with standard script:\n\n  modprobe bonding miimon=100 mode=4  # 100 ms link check interval, mode - LACP\n  ip link set ens3f0 master bond0\n  ip link set ens3f0 master bond1\n\nThe dedicated Infiniband devices for single ports is destroyed, the new\nmultiport Infiniband device is created for bond interface and all\nrepresentors for both PFs. The unified E-Switch is created either,\nand all representor ports belong to the same unified switch domain.\n\nTo use the created bond interface with DPDK application both slave\nPCI devices must be specified (in whitelist, if any):\n\n  -w 82:00.0,representor=[0-4]\n  -w 82:00.1,representor=[0-7]\n\nRepresentor enumerations follows the VF enumerations in the same way\nas for single device. The two PCI devices will be probed, but eth ports\nfor only one master device and for all representors will be created.\nThis ports may reference to different rte_pci_dev but share the\nsame switch domain ID.\n\nThe extra devargs specifying configurations must be compatible\n(otherwise error on probing will be arisen). For example, it is not\nallowed to specify different values of dv_flow_en parameter for\ndifferent PCI devices.\n\nSigned-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>\n\nViacheslav Ovsiienko (12):\n  net/mlx5: move backing PCI device to private context\n  net/mlx5: update PCI address retrieving routine\n  net/mlx5: allocate device list explicitly\n  net/mlx5: add VF LAG mode bonding device recognition\n  net/mlx5: generate bonding device name\n  net/mlx5: check the kernel support for VF LAG bonding\n  net/mlx5: query vport index match mode and parameters\n  net/mlx5: elaborate E-Switch port parameters query\n  net/mlx5: update source and destination vport translations\n  net/mlx5: extend switch domain searching range\n  net/mlx5: update switch port ID in bonding configuration\n  net/mlx5: check sibling device configurations mismatch\n\n drivers/net/mlx5/Makefile       |   5 +\n drivers/net/mlx5/meson.build    |   2 +\n drivers/net/mlx5/mlx5.c         | 359 +++++++++++++++++++++++++++++++++++++---\n drivers/net/mlx5/mlx5.h         |  23 ++-\n drivers/net/mlx5/mlx5_defs.h    |   4 +\n drivers/net/mlx5/mlx5_ethdev.c  | 128 +++++++-------\n drivers/net/mlx5/mlx5_flow_dv.c |  98 +++++++----\n drivers/net/mlx5/mlx5_prm.h     |   9 +-\n drivers/net/mlx5/mlx5_txq.c     |   2 +-\n 9 files changed, 506 insertions(+), 124 deletions(-)",
    "diff": null,
    "prefixes": [
        "00/12"
    ]
}