get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 130988,
    "url": "http://patches.dpdk.org/api/patches/130988/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230831123337.871496-5-bruce.richardson@intel.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": "<20230831123337.871496-5-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230831123337.871496-5-bruce.richardson@intel.com",
    "date": "2023-08-31T12:33:37",
    "name": "[v2,4/4] net/iavf: add support for runtime queue reconfiguration",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4c657626b3a17e9cce5b585a5fd3d5ee9c06c3e3",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230831123337.871496-5-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 29391,
            "url": "http://patches.dpdk.org/api/series/29391/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29391",
            "date": "2023-08-31T12:33:33",
            "name": "Fix i40e/iavf queue reconfig and restarting",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/29391/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/130988/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/130988/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 6B9A241FDD;\n\tThu, 31 Aug 2023 14:34:17 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 199B2402AB;\n\tThu, 31 Aug 2023 14:34:04 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 38DE0402AF\n for <dev@dpdk.org>; Thu, 31 Aug 2023 14:34:02 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 Aug 2023 05:34:01 -0700",
            "from silpixa00401385.ir.intel.com ([10.237.214.14])\n by orsmga005.jf.intel.com with ESMTP; 31 Aug 2023 05:34:01 -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=1693485242; x=1725021242;\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=iXQviYQuDO7v+xAWEaLdALLSUPvpr77Ts8bxUMZ3nB+f7ueDMhq/xRpV\n hUyMbcg0BjyLxuSbYAE7oFsYpFPMsK1Hk/XE5fyTvxJDM6J68XcbXKXsR\n KyuQ8kJhaPviVAGZRGXh6XP/sO6IE/VMjBfpage+QkOKfPHToEoJfklST\n xB4g38nhZ/8yaGR42URS+Emz7sw1yLA5mkXsu4jdbOxaMeQNWBprfMYcY\n WNmbylbam8nEk/8/N/6Y/t/ieyia0PZM/SiAs7HWV+ZkU5/pCwLCx3+d+\n rBMGliDX7hBo3uW8VGl6Je7/t9XdGpfnBXzUC5wUTC/21Wd5QVuo0RTdU A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10818\"; a=\"439874012\"",
            "E=Sophos;i=\"6.02,216,1688454000\"; d=\"scan'208\";a=\"439874012\"",
            "E=McAfee;i=\"6600,9927,10818\"; a=\"913230969\"",
            "E=Sophos;i=\"6.02,216,1688454000\"; d=\"scan'208\";a=\"913230969\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>",
        "Subject": "[PATCH v2 4/4] net/iavf: add support for runtime queue\n reconfiguration",
        "Date": "Thu, 31 Aug 2023 13:33:37 +0100",
        "Message-Id": "<20230831123337.871496-5-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20230831123337.871496-1-bruce.richardson@intel.com>",
        "References": "<20230830155919.592390-1-bruce.richardson@intel.com>\n <20230831123337.871496-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": [
        "v2",
        "4/4"
    ]
}