Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/130987/?format=api
http://patchwork.dpdk.org/api/patches/130987/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230831123337.871496-4-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": "<20230831123337.871496-4-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230831123337.871496-4-bruce.richardson@intel.com", "date": "2023-08-31T12:33:36", "name": "[v2,3/4] net/iavf: fix restart of Rx queue on reconfigure", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "3f5c5006eccc628f08443a59a75002514d18d0ab", "submitter": { "id": 20, "url": "http://patchwork.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "delegate": { "id": 1540, "url": "http://patchwork.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230831123337.871496-4-bruce.richardson@intel.com/mbox/", "series": [ { "id": 29391, "url": "http://patchwork.dpdk.org/api/series/29391/?format=api", "web_url": "http://patchwork.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://patchwork.dpdk.org/series/29391/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/130987/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/130987/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 311E241FDD;\n\tThu, 31 Aug 2023 14:34:09 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C171B402A4;\n\tThu, 31 Aug 2023 14:34:01 +0200 (CEST)", "from mgamail.intel.com (mgamail.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 00764402AF;\n Thu, 31 Aug 2023 14:33:59 +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:33:59 -0700", "from silpixa00401385.ir.intel.com ([10.237.214.14])\n by orsmga005.jf.intel.com with ESMTP; 31 Aug 2023 05:33:58 -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=1693485240; x=1725021240;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=0ykNZp4Xvc4xhwK9ov4yoAGLKIKa0hcM5rLgSXACtq4=;\n b=N01XwsltVw5OgzfKK7vbW+zzXABgWi2v1n9ak6NMYSSes+Ngu7f/NZYF\n u9lGqsYZk3Bptia8sxX3lYdcQ4HohuqigwswWNSnfNUvNaSFFYVgdq9Ei\n UnyfPQaz6ShNVwYxwJq/gYlNC9cIsoLRpXMqjb6OuYwNu/T2hEhTU8IU3\n PV6zWWR+WwsyRl1lPUHkhwLaaTG5WWk+VcKw/kTUdvH0QpWvssHf4TRC0\n WWTllk6b53lF4NVrV2AbqgPS70FlFP9pXaLkjBc5jYVQ6d6cVGN60vPSn\n j8LGQfKp4lwnDrr5sBhrZ/yHmgC//jma+l/El5l74v8ZFqSNBi+xpfdyE A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10818\"; a=\"439874007\"", "E=Sophos;i=\"6.02,216,1688454000\"; d=\"scan'208\";a=\"439874007\"", "E=McAfee;i=\"6600,9927,10818\"; a=\"913230956\"", "E=Sophos;i=\"6.02,216,1688454000\"; d=\"scan'208\";a=\"913230956\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>, jingjing.wu@intel.com,\n stable@dpdk.org", "Subject": "[PATCH v2 3/4] net/iavf: fix restart of Rx queue on reconfigure", "Date": "Thu, 31 Aug 2023 13:33:36 +0100", "Message-Id": "<20230831123337.871496-4-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": "After reconfiguring an RX queue the mbuf_initializer value was not being\ncorrectly set. Fix this by calling the appropriate function if vector\nprocessing is enabled. This mirrors the behaviour by the i40e driver.\n\nFixes: 319c421f3890 (\"net/avf: enable SSE Rx Tx\")\nCc: jingjing.wu@intel.com\nCc: stable@dpdk.org\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n drivers/net/iavf/iavf_rxtx.c | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c\nindex f7df4665d1..797cdda4b2 100644\n--- a/drivers/net/iavf/iavf_rxtx.c\n+++ b/drivers/net/iavf/iavf_rxtx.c\n@@ -755,6 +755,13 @@ iavf_dev_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx,\n \tif (check_rx_vec_allow(rxq) == false)\n \t\tad->rx_vec_allowed = false;\n \n+#if defined RTE_ARCH_X86 || defined RTE_ARCH_ARM\n+\t/* check vector conflict */\n+\tif (ad->rx_vec_allowed && iavf_rxq_vec_setup(rxq)) {\n+\t\tPMD_DRV_LOG(ERR, \"Failed vector rx setup.\");\n+\t\treturn -EINVAL;\n+\t}\n+#endif\n \treturn 0;\n }\n \n", "prefixes": [ "v2", "3/4" ] }{ "id": 130987, "url": "