get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 130919,
    "url": "http://patchwork.dpdk.org/api/patches/130919/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230830155919.592390-5-bruce.richardson@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20230830155919.592390-5-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230830155919.592390-5-bruce.richardson@intel.com",
    "date": "2023-08-30T15:59:19",
    "name": "[4/4] net/iavf: add support for runtime queue reconfiguration",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4c657626b3a17e9cce5b585a5fd3d5ee9c06c3e3",
    "submitter": {
        "id": 20,
        "url": "http://patchwork.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230830155919.592390-5-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 29377,
            "url": "http://patchwork.dpdk.org/api/series/29377/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29377",
            "date": "2023-08-30T15:59:15",
            "name": "Fix i40e/iavf queue reconfig and restarting",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/29377/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/130919/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/130919/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 (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E834E41FD1;\n\tWed, 30 Aug 2023 18:07:36 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CB47442DC4;\n\tWed, 30 Aug 2023 18:00:22 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 0D07840DDB\n for <dev@dpdk.org>; Wed, 30 Aug 2023 18:00:00 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Aug 2023 09:00:00 -0700",
            "from silpixa00401385.ir.intel.com ([10.237.214.14])\n by orsmga002.jf.intel.com with ESMTP; 30 Aug 2023 08:59:59 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1693411201; x=1724947201;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=3XBqPQgVvJQNy2LvCY+Yep7093VsgR9okFBo7HfWajg=;\n b=K6zhFHZo48JU8O1H6fuFm30uB1AI3p8roONnXKhsDF2mubgJhqJ7Pry4\n 6C6Nx5/vix0qmb87Dnx4TgRM2uM3gGCgP4EoQUMDtjBd/xzDh0hzCr3iL\n DjwJRSeZyXZ4F++V0v0KjySBhNw2cANDE5GssRyv2ehB31ZqLBewbdd5i\n k9vdrp7dqtl2tb1U1U8L/pQpZPelB7S5j5JylTA68YUxP+tPk76TdBU62\n /PYKJp6v0MCaNLARX924KCojpknh+0qbxuZTUMuHnaa9ODjD2EUw1d3G7\n Y3piiTfbQOq8RSPd4Gxzhk75mLtzLs4di6FhufZ6/kXOCrLKfVAlO8xh4 Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10818\"; a=\"360674212\"",
            "E=Sophos;i=\"6.02,214,1688454000\"; d=\"scan'208\";a=\"360674212\"",
            "E=McAfee;i=\"6600,9927,10818\"; a=\"739142754\"",
            "E=Sophos;i=\"6.02,214,1688454000\"; d=\"scan'208\";a=\"739142754\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Yuying Zhang <Yuying.Zhang@intel.com>,\n Beilei Xing <beilei.xing@intel.com>,\n Jingjing Wu <jingjing.wu@intel.com>,\n Bruce Richardson <bruce.richardson@intel.com>",
        "Subject": "[PATCH 4/4] net/iavf: add support for runtime queue reconfiguration",
        "Date": "Wed, 30 Aug 2023 16:59:19 +0100",
        "Message-Id": "<20230830155919.592390-5-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20230830155919.592390-1-bruce.richardson@intel.com>",
        "References": "<20230830155919.592390-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "Unlike the i40e driver, the iavf driver does not advertise support for\nruntime reconfiguration, meaning that application using the same\nhardware may get different behaviour when using a PF vs a VF. On testing\nwith a 40G NIC, the only blocker to reconfiguring an RX queue on the fly\nis the fact that this support is not advertised by the driver.\n\nAdd support for runtime reconfig by reporting it in the device info\nflags.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n doc/guides/nics/features/iavf.ini | 2 ++\n drivers/net/iavf/iavf_ethdev.c    | 4 +++-\n 2 files changed, 5 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/doc/guides/nics/features/iavf.ini b/doc/guides/nics/features/iavf.ini\nindex b72cd98484..db4f92ce71 100644\n--- a/doc/guides/nics/features/iavf.ini\n+++ b/doc/guides/nics/features/iavf.ini\n@@ -11,6 +11,8 @@ Speed capabilities   = Y\n Link status          = Y\n Rx interrupt         = Y\n Queue start/stop     = Y\n+Runtime Rx queue setup = Y\n+Runtime Tx queue setup = Y\n Power mgmt address monitor = Y\n MTU update           = Y\n Scattered Rx         = Y\ndiff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c\nindex f2fc5a5621..22fbd7d6b2 100644\n--- a/drivers/net/iavf/iavf_ethdev.c\n+++ b/drivers/net/iavf/iavf_ethdev.c\n@@ -1127,7 +1127,9 @@ iavf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)\n \tdev_info->reta_size = vf->vf_res->rss_lut_size;\n \tdev_info->flow_type_rss_offloads = IAVF_RSS_OFFLOAD_ALL;\n \tdev_info->max_mac_addrs = IAVF_NUM_MACADDR_MAX;\n-\tdev_info->dev_capa &= ~RTE_ETH_DEV_CAPA_FLOW_RULE_KEEP;\n+\tdev_info->dev_capa =\n+\t\tRTE_ETH_DEV_CAPA_RUNTIME_RX_QUEUE_SETUP |\n+\t\tRTE_ETH_DEV_CAPA_RUNTIME_TX_QUEUE_SETUP;\n \tdev_info->rx_offload_capa =\n \t\tRTE_ETH_RX_OFFLOAD_VLAN_STRIP |\n \t\tRTE_ETH_RX_OFFLOAD_QINQ_STRIP |\n",
    "prefixes": [
        "4/4"
    ]
}