Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/120363/?format=api
http://patches.dpdk.org/api/patches/120363/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221130155639.150553-6-maxime.coquelin@redhat.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": "<20221130155639.150553-6-maxime.coquelin@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221130155639.150553-6-maxime.coquelin@redhat.com", "date": "2022-11-30T15:56:23", "name": "[v1,05/21] net/virtio: remove unused fields in Tx queue struct", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "93bec5757e30b67bf8db85297ecec94c4a7a38a1", "submitter": { "id": 512, "url": "http://patches.dpdk.org/api/people/512/?format=api", "name": "Maxime Coquelin", "email": "maxime.coquelin@redhat.com" }, "delegate": { "id": 2642, "url": "http://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20221130155639.150553-6-maxime.coquelin@redhat.com/mbox/", "series": [ { "id": 25958, "url": "http://patches.dpdk.org/api/series/25958/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=25958", "date": "2022-11-30T15:56:18", "name": "Add control queue & MQ support to Virtio-user vDPA", "version": 1, "mbox": "http://patches.dpdk.org/series/25958/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/120363/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/120363/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 CBD6CA00C2;\n\tWed, 30 Nov 2022 16:57:28 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E0F2342D38;\n\tWed, 30 Nov 2022 16:57:01 +0100 (CET)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id 3D5CC42D24\n for <dev@dpdk.org>; Wed, 30 Nov 2022 16:57:00 +0100 (CET)", "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-19-EoYV4y0_Om-E0sA_qfBc6w-1; Wed, 30 Nov 2022 10:56:56 -0500", "from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com\n [10.11.54.1])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EB561185A7A8;\n Wed, 30 Nov 2022 15:56:55 +0000 (UTC)", "from max-t490s.redhat.com (unknown [10.39.208.22])\n by smtp.corp.redhat.com (Postfix) with ESMTP id CA8A640C2144;\n Wed, 30 Nov 2022 15:56:54 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1669823819;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=7gRt3/NEHyVoDNMaIXnKUp27pzWQO4TgUQn5JKbMLFg=;\n b=PrQTb/kzwv5zcgftzPY8I+vvf1/PyNRN2Jk5lcdCQhwf8E5atnJb7RPJvghpZUkAH8i7eB\n iBqfqbG3mATFIs8+1ywcVCtVRGkFUOlJcqPczoqcAPod4cWJt48r7GdIIvHEB0wytrm9+d\n 9KHEzwMo6nQ8KtotcpMR+ISqxsekPLQ=", "X-MC-Unique": "EoYV4y0_Om-E0sA_qfBc6w-1", "From": "Maxime Coquelin <maxime.coquelin@redhat.com>", "To": "dev@dpdk.org, chenbo.xia@intel.com, david.marchand@redhat.com,\n eperezma@redhat.com", "Cc": "Maxime Coquelin <maxime.coquelin@redhat.com>", "Subject": "[PATCH v1 05/21] net/virtio: remove unused fields in Tx queue struct", "Date": "Wed, 30 Nov 2022 16:56:23 +0100", "Message-Id": "<20221130155639.150553-6-maxime.coquelin@redhat.com>", "In-Reply-To": "<20221130155639.150553-1-maxime.coquelin@redhat.com>", "References": "<20221130155639.150553-1-maxime.coquelin@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.1 on 10.11.54.1", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true", "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": "The port and queue IDs are not used in virtnet_tx struct,\nthis patch removes them.\n\nSigned-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n drivers/net/virtio/virtio_ethdev.c | 1 -\n drivers/net/virtio/virtio_rxtx.c | 1 -\n drivers/net/virtio/virtio_rxtx.h | 3 ---\n 3 files changed, 5 deletions(-)", "diff": "diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c\nindex 1c68e5a283..a581fae408 100644\n--- a/drivers/net/virtio/virtio_ethdev.c\n+++ b/drivers/net/virtio/virtio_ethdev.c\n@@ -466,7 +466,6 @@ virtio_init_queue(struct rte_eth_dev *dev, uint16_t queue_idx)\n \t\trxvq->fake_mbuf = fake_mbuf;\n \t} else if (queue_type == VTNET_TQ) {\n \t\ttxvq = &vq->txq;\n-\t\ttxvq->port_id = dev->data->port_id;\n \t\ttxvq->mz = mz;\n \t} else if (queue_type == VTNET_CQ) {\n \t\tcvq = &vq->cq;\ndiff --git a/drivers/net/virtio/virtio_rxtx.c b/drivers/net/virtio/virtio_rxtx.c\nindex 45c04aa3f8..304403d46c 100644\n--- a/drivers/net/virtio/virtio_rxtx.c\n+++ b/drivers/net/virtio/virtio_rxtx.c\n@@ -831,7 +831,6 @@ virtio_dev_tx_queue_setup(struct rte_eth_dev *dev,\n \tvq->vq_free_cnt = RTE_MIN(vq->vq_free_cnt, nb_desc);\n \n \ttxvq = &vq->txq;\n-\ttxvq->queue_id = queue_idx;\n \n \ttx_free_thresh = tx_conf->tx_free_thresh;\n \tif (tx_free_thresh == 0)\ndiff --git a/drivers/net/virtio/virtio_rxtx.h b/drivers/net/virtio/virtio_rxtx.h\nindex 97de9eb0a3..9bbcf32f66 100644\n--- a/drivers/net/virtio/virtio_rxtx.h\n+++ b/drivers/net/virtio/virtio_rxtx.h\n@@ -35,9 +35,6 @@ struct virtnet_tx {\n \tconst struct rte_memzone *hdr_mz; /**< memzone to populate hdr. */\n \trte_iova_t hdr_mem; /**< hdr for each xmit packet */\n \n-\tuint16_t queue_id; /**< DPDK queue index. */\n-\tuint16_t port_id; /**< Device port identifier. */\n-\n \tstruct virtnet_stats stats; /* Statistics */\n \n \tconst struct rte_memzone *mz; /**< mem zone to populate TX ring. */\n", "prefixes": [ "v1", "05/21" ] }{ "id": 120363, "url": "