get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 74585,
    "url": "https://patches.dpdk.org/api/patches/74585/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200721174712.48625-2-ajit.khaparde@broadcom.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": "<20200721174712.48625-2-ajit.khaparde@broadcom.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200721174712.48625-2-ajit.khaparde@broadcom.com",
    "date": "2020-07-21T17:47:12",
    "name": "[2/2] doc: update bnxt doc",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8c35def27d12d1ca0bcc23b9896fea598ca7b867",
    "submitter": {
        "id": 501,
        "url": "https://patches.dpdk.org/api/people/501/?format=api",
        "name": "Ajit Khaparde",
        "email": "ajit.khaparde@broadcom.com"
    },
    "delegate": {
        "id": 1766,
        "url": "https://patches.dpdk.org/api/users/1766/?format=api",
        "username": "ajitkhaparde",
        "first_name": "Ajit",
        "last_name": "Khaparde",
        "email": "ajit.khaparde@broadcom.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200721174712.48625-2-ajit.khaparde@broadcom.com/mbox/",
    "series": [
        {
            "id": 11221,
            "url": "https://patches.dpdk.org/api/series/11221/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11221",
            "date": "2020-07-21T17:47:11",
            "name": "[1/2] net/bnxt: add meson build option",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11221/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74585/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74585/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E9F58A0526;\n\tTue, 21 Jul 2020 19:47:38 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 78F1E1C05C;\n\tTue, 21 Jul 2020 19:47:25 +0200 (CEST)",
            "from mail-wr1-f100.google.com (mail-wr1-f100.google.com\n [209.85.221.100]) by dpdk.org (Postfix) with ESMTP id C9D0F1C037\n for <dev@dpdk.org>; Tue, 21 Jul 2020 19:47:22 +0200 (CEST)",
            "by mail-wr1-f100.google.com with SMTP id z15so22000774wrl.8\n for <dev@dpdk.org>; Tue, 21 Jul 2020 10:47:22 -0700 (PDT)",
            "from localhost.localdomain ([192.19.223.252])\n by smtp-relay.gmail.com with ESMTPS id y6sm71632wmb.38.2020.07.21.10.47.21\n for <dev@dpdk.org>\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Tue, 21 Jul 2020 10:47:22 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com;\n s=google;\n h=from:to:subject:date:message-id:in-reply-to:references:mime-version\n :content-transfer-encoding;\n bh=z9IB2vNhPoFwGR3YUWoIeSLrl5sjcLDPUgLLGHygX3o=;\n b=PrVaggI65O6yR/oKtkecwpNViBRG6A5Xu87X0RJziGm4aGV02TBW5xOXbd13xYZ1x/\n DwObbP/fDkXfZQ98elqRmZOw/0ppgAGuWWYzaYj4wJGPLX8bCXe3UVaSsC5gdeP9tSQ/\n q2jVchq2eJPreKSDUdAXvHiWH5FRyMnv6/Xmk=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=z9IB2vNhPoFwGR3YUWoIeSLrl5sjcLDPUgLLGHygX3o=;\n b=ZZuQW3p86VlY49IYBP6q4r7dbHEPCww5xJuaYRaCg2gfW4SvnAp9+mXyfgNlDR9cet\n CyOnSunYJteik4l/xsff/LfTl5ngcrLVkJ1yUsqOIvNUSzKZS+iTuzxrzMNmqDaDIVvK\n jdQCVioLMnsWZN50B3Me0zXM7xyUNEwiJEg3QvGiZsozxkPw+Qy0BpV5vFvbYOln5Yx5\n Bvx5+T+JEOlcsrJwbrNBvF03glqhFEzOUdqlhwSIJxwznnUFdsB/FloAo0+qMq4HQsrm\n p7IyC+ooCzQcRNtA9LnI2QVT6HoxAtwdpUNbuPyfHABXJM4rCPhcQLgtNOfUDDxginDL\n A/kg==",
        "X-Gm-Message-State": "AOAM532HDvRC/L5lgv0t4i1tH/A0Xa5xfqJbXyWmuzUBka5o68dHsFrz\n Y8hDlKOXDv5GFWFrcBHuCQOUTYY1UoLsfeJDQLRH32FK4y1+1pLl1l0/dNu9HcRrrPU4Zt/JgeG\n cW2RBz3X+IkYUBVLXGyw70Xn4V5KbzRBxqzFm7mzOT1Zjk/M/qkwrhI2EjZ1Ele6hY+ToBa6PMO\n 63uw==",
        "X-Google-Smtp-Source": "\n ABdhPJyfjK/42bo0VTkExWHX3YpN5SVmhRL49YVm0p0lj/iAPxa9pdZ5dLt4hzOfyTl902flCdM4f8z8avA3",
        "X-Received": "by 2002:adf:fb06:: with SMTP id c6mr2754686wrr.261.1595353642428;\n Tue, 21 Jul 2020 10:47:22 -0700 (PDT)",
        "X-Relaying-Domain": "broadcom.com",
        "From": "Ajit Khaparde <ajit.khaparde@broadcom.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 21 Jul 2020 10:47:12 -0700",
        "Message-Id": "<20200721174712.48625-2-ajit.khaparde@broadcom.com>",
        "X-Mailer": "git-send-email 2.21.1 (Apple Git-122.3)",
        "In-Reply-To": "<20200721174712.48625-1-ajit.khaparde@broadcom.com>",
        "References": "<20200721174712.48625-1-ajit.khaparde@broadcom.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 2/2] doc: update bnxt doc",
        "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 <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": "Update bnxt doc to indicate support for VF-representors and some notes\nabout rte_flow API implementation.\n\nSigned-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>\n---\n doc/guides/nics/bnxt.rst | 46 ++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 46 insertions(+)",
    "diff": "diff --git a/doc/guides/nics/bnxt.rst b/doc/guides/nics/bnxt.rst\nindex dcb4309d2..98c47a243 100644\n--- a/doc/guides/nics/bnxt.rst\n+++ b/doc/guides/nics/bnxt.rst\n@@ -688,6 +688,52 @@ optimizes flow insertions and deletions.\n This is a tech preview feature, and is disabled by default. It can be enabled\n using bnxt devargs. For ex: \"-w 0000:0d:00.0,host-based-truflow=1”.\n \n+Notes\n+-----\n+\n+- On stopping a device port, all the flows created on a port by the\n+  application will be flushed from the hardware and any tables maintained\n+  by the PMD. After stopping the device port, all flows on the port become\n+  invalid and are not represented in the system anymore.\n+  Instead of destroying or flushing such flows an application should discard\n+  all references to these flows and re-create the flows as required after the\n+  port is restarted.\n+\n+- While an application is free to use the group id attribute to group flows\n+  together using a specific criteria, the BNXT PMD currently associates this\n+  group id to a VNIC id. One such case is grouping of flows which are filtered\n+  on the same source or destination MAC address. This allows packets of such\n+  flows to be directed to one or more queues associated with the VNIC id.\n+  This implementation is supported only when TRUFLOW functionality is disabled.\n+\n+Note: A VNIC represents a virtual interface in the hardware. It is a resource\n+in the RX path of the chip and is used to setup various target actions such as\n+RSS, MAC filtering etc. for the physical function in use.\n+\n+Virtual Function Port Representors\n+----------------------------------\n+The BNXT PMD supports the creation of VF port representors for the control\n+and monitoring of BNXT virtual function devices. Each port representor\n+corresponds to a single virtual function of that device that is connected to a\n+VF. When there is no hardware flow offload, each packet transmitted by the VF\n+will be received by the corresponding representor. Similarly each packet that is\n+sent to a representor will be received by the VF. Applications can take\n+advantage of this feature when SRIOV is enabled. The representor will allow the\n+first packet that is transmitted by the VF to be received by the DPDK\n+application which can then decide if the flow should be offloaded to the\n+hardware. Once the flow is offloaded in the hardware, any packet matching the\n+flow will be received by the VF while the DPDK application will not receive it\n+any more. The BNXT PMD supports creation and handling of the port representors\n+when the PMD is initialized on a PF or trusted-VF. The user can specify the list\n+of VF IDs of the VFs for which the representors are needed by using the\n+``devargs`` option ``representor``.::\n+\n+  -w DBDF,representor=[0,1,4]\n+\n+Note that currently hot-plugging of representor ports is not supported so all\n+the required representors must be specified on the creation of the PF or the\n+trusted VF.\n+\n Application Support\n -------------------\n \n",
    "prefixes": [
        "2/2"
    ]
}