Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/130918/?format=api
http://patchwork.dpdk.org/api/patches/130918/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230830155919.592390-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": "<20230830155919.592390-4-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230830155919.592390-4-bruce.richardson@intel.com", "date": "2023-08-30T15:59:18", "name": "[3/4] net/iavf: fix restart of Rx queue on reconfigure", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "0a289c7f3a1b9bf067621d3ad6e2e4cbe028f012", "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-4-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/130918/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/130918/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 0DAFD41FD1;\n\tWed, 30 Aug 2023 18:07:14 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id EB9DA42D6A;\n\tWed, 30 Aug 2023 18:00:19 +0200 (CEST)", "from mgamail.intel.com (mgamail.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 94187402E2;\n Wed, 30 Aug 2023 17:59:55 +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 08:59:55 -0700", "from silpixa00401385.ir.intel.com ([10.237.214.14])\n by orsmga002.jf.intel.com with ESMTP; 30 Aug 2023 08:59:53 -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=1693411195; x=1724947195;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=Vaef2TE5CsJjJO1uxXTElcfWslXvx4sL2mIjJl2a884=;\n b=OsgSR5YxUBMEp5zq+WZah+Cx2xzST/SK+ItGhYdQsUsNEFw/xAf4z76W\n nzowNjzvCLLbokWislBjXL4DIytnNNfRdD0J8ljXf/2MwScpskkxLeEd7\n F16YwVYLGxgkg7OWDu69b/rBcHH6o2iRYBFVF5WalWbcSbnENJSIsdc5+\n /XU2RtoAWMumqA1OkQkbQS/Wjo2U+/oXIZr3nNLgsCdmfOoZgG/D9+Sgf\n O5c1IzBIkA/PhoUn0OTMsZ7R9hDmYZxHcOZ1f9CksgZ7xEua8qi4rWoE3\n 7tiJB4TinxijmJH8gsPbEPnuEB0Lx0F4NcRei5TsAveCET8+1fR0kg0Re Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10818\"; a=\"360674204\"", "E=Sophos;i=\"6.02,214,1688454000\"; d=\"scan'208\";a=\"360674204\"", "E=McAfee;i=\"6600,9927,10818\"; a=\"739142740\"", "E=Sophos;i=\"6.02,214,1688454000\"; d=\"scan'208\";a=\"739142740\"" ], "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>, stable@dpdk.org", "Subject": "[PATCH 3/4] net/iavf: fix restart of Rx queue on reconfigure", "Date": "Wed, 30 Aug 2023 16:59:18 +0100", "Message-Id": "<20230830155919.592390-4-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": "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 | 6 ++++++\n 1 file changed, 6 insertions(+)", "diff": "diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c\nindex f7df4665d1..347f686831 100644\n--- a/drivers/net/iavf/iavf_rxtx.c\n+++ b/drivers/net/iavf/iavf_rxtx.c\n@@ -755,6 +755,12 @@ 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+\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+\n \treturn 0;\n }\n \n", "prefixes": [ "3/4" ] }{ "id": 130918, "url": "