Show a patch.

GET /api/patches/74585/
Content-Type: application/json
Vary: Accept

    "id": 74585,
    "url": "",
    "web_url": "",
    "project": {
        "id": 1,
        "url": "",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "",
        "list_email": "",
        "web_url": "",
        "scm_url": "git://",
        "webscm_url": ""
    "msgid": "<>",
    "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": "",
        "name": "Ajit Khaparde",
        "email": ""
    "delegate": {
        "id": 1766,
        "url": "",
        "username": "ajitkhaparde",
        "first_name": "Ajit",
        "last_name": "Khaparde",
        "email": ""
    "mbox": "",
    "series": [
            "id": 11221,
            "url": "",
            "web_url": "",
            "date": "2020-07-21T17:47:11",
            "name": "[1/2] net/bnxt: add meson build option",
            "version": 1,
            "mbox": ""
    "comments": "",
    "check": "success",
    "checks": "",
    "tags": {},
    "headers": {
        "List-Subscribe": "<>,\n <>",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "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",
        "List-Post": "<>",
        "MIME-Version": "1.0",
        "List-Id": "DPDK patches and discussions <>",
        "X-BeenThere": "",
        "References": "<>",
        "Subject": "[dpdk-dev] [PATCH 2/2] doc: update bnxt doc",
        "Content-Type": "text/plain; charset=UTF-8",
        "Delivered-To": "",
        "Received": [
            "from ( [])\n\tby (Postfix) with ESMTP id E9F58A0526;\n\tTue, 21 Jul 2020 19:47:38 +0200 (CEST)",
            "from [] (localhost [])\n\tby (Postfix) with ESMTP id 78F1E1C05C;\n\tTue, 21 Jul 2020 19:47:25 +0200 (CEST)",
            "from (\n []) by (Postfix) with ESMTP id C9D0F1C037\n for <>; Tue, 21 Jul 2020 19:47:22 +0200 (CEST)",
            "by with SMTP id z15so22000774wrl.8\n for <>; Tue, 21 Jul 2020 10:47:22 -0700 (PDT)",
            "from localhost.localdomain ([])\n by with ESMTPS id y6sm71632wmb.38.2020.\n for <>\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Tue, 21 Jul 2020 10:47:22 -0700 (PDT)"
        "List-Archive": "<>",
        "Sender": "\"dev\" <>",
        "X-Original-To": "",
        "X-Mailer": "git-send-email 2.21.1 (Apple Git-122.3)",
        "List-Unsubscribe": "<>,\n <>",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n; 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==",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;;\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=",
        "Date": "Tue, 21 Jul 2020 10:47:12 -0700",
        "Content-Transfer-Encoding": "8bit",
        "X-Received": "by 2002:adf:fb06:: with SMTP id c6mr2754686wrr.261.1595353642428;\n Tue, 21 Jul 2020 10:47:22 -0700 (PDT)",
        "To": "",
        "X-Relaying-Domain": "",
        "From": "Ajit Khaparde <>",
        "In-Reply-To": "<>",
        "List-Help": "<>",
        "Errors-To": "",
        "Message-Id": "<>",
        "Return-Path": "<>"
    "content": "Update bnxt doc to indicate support for VF-representors and some notes\nabout rte_flow API implementation.\n\nSigned-off-by: Ajit Khaparde <>\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": [