Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/132718/?format=api
http://patches.dpdk.org/api/patches/132718/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231017071133.399-1-liufengjiang.0426@bytedance.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": "<20231017071133.399-1-liufengjiang.0426@bytedance.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20231017071133.399-1-liufengjiang.0426@bytedance.com", "date": "2023-10-17T07:11:33", "name": "net/virtio: fixed missing next flag when sending packets in packed mode", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": true, "hash": "7f4666849be384ce55ec7016ac1834cbff9f96df", "submitter": { "id": 3206, "url": "http://patches.dpdk.org/api/people/3206/?format=api", "name": "Fengjiang Liu", "email": "liufengjiang.0426@bytedance.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231017071133.399-1-liufengjiang.0426@bytedance.com/mbox/", "series": [ { "id": 29868, "url": "http://patches.dpdk.org/api/series/29868/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29868", "date": "2023-10-17T07:11:33", "name": "net/virtio: fixed missing next flag when sending packets in packed mode", "version": 1, "mbox": "http://patches.dpdk.org/series/29868/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/132718/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/132718/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 3C69743188;\n\tTue, 17 Oct 2023 09:11:44 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2A1D640F16;\n\tTue, 17 Oct 2023 09:11:44 +0200 (CEST)", "from mail-pg1-f174.google.com (mail-pg1-f174.google.com\n [209.85.215.174])\n by mails.dpdk.org (Postfix) with ESMTP id 4B78340279\n for <dev@dpdk.org>; Tue, 17 Oct 2023 09:11:43 +0200 (CEST)", "by mail-pg1-f174.google.com with SMTP id\n 41be03b00d2f7-5a9bc2ec556so2568484a12.0\n for <dev@dpdk.org>; Tue, 17 Oct 2023 00:11:43 -0700 (PDT)", "from PF1D8Q29-ENF.inc.bytedance.com ([203.208.167.147])\n by smtp.gmail.com with ESMTPSA id\n z15-20020a1709027e8f00b001c726147a45sm771556pla.190.2023.10.17.00.11.40\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 17 Oct 2023 00:11:42 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=bytedance.com; s=google; t=1697526702; x=1698131502; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=QTA2HdsYT4VstZABVzWNRXmHL5OT/LlJxCRJ5Mw1Zig=;\n b=AEBswCXrfVQ5/xd5o9dmRnVNnj5lysMRm1vdfx/XGxDcrgAlBQIh3ls5H9o3EuSy40\n gQrQYaJE3/gqpDY3wIm1Q6IELv3mCA9dhgrxzhv0CBN4MXPeOjannfBJsaxYy3rM9fhy\n YRjBgsYO5chmVUn8Kjyo/opOtf6HtKhCE4rVXiNSZG2Vp76MtHkshVW+LS6uYTfb23p6\n kWUpudU7ceRklpc9XX6NsoN/xU5NY8LX3x7eOTWEGG3HJDxgiM1VCEBAcOc8O1aPkz9u\n GHih780khBws27H/eo0Di+tNyVAIi0HVcjqmwqIadNVe25B4FKAlyE4qQr0UmnTbSA0T\n togA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1697526702; x=1698131502;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=QTA2HdsYT4VstZABVzWNRXmHL5OT/LlJxCRJ5Mw1Zig=;\n b=UrgCPgfWg7DwMLclbaqKuP3zLPX8KEYSJbgAIHfEEwqP/jImQHb1GALeIhILlQGjnS\n uIzNRfac3D6OTpB9aAowDQyYxfKD15zsQgLOYlmfvlrhyPEvFgyxStpNuTyWPTKq2Of9\n 4Tn8vm24jKxBoObWssOiTsrMPnumljv9O/7W+acOnGFgt03cXNhpYtfN/dOuJrESsy/N\n RS4e9dDET3p6kfje/wDq9MnKMtj0YhcxL9IdRHhUV6ooTt9Sb03NZiJlzgJRhd9MDGF0\n Lz+Xkp6fRbk6HuWnnYI54sNhbFG0R6ll3MMwLEBB3MtrLC3TgZoiqk+nFpzYtPQ3LQe7\n 0yTQ==", "X-Gm-Message-State": "AOJu0YxBbx5DW48geDL2VMW7JCeMg3CuVh+WiZw+yZTwBPj6xqXNxPsZ\n /Knq+c4+hvnmLqwa+DsxGBzcWbvFP5YCTLGSPBqQWg==", "X-Google-Smtp-Source": "\n AGHT+IGM2gZjM8NpqLr0ZoS0p5HESQERbRr1ol8xdRINQ9QkYrGOylnGBFwGentaB8nr5dwuXGu9PQ==", "X-Received": "by 2002:a05:6a20:a38d:b0:14c:5dc3:f1c9 with SMTP id\n w13-20020a056a20a38d00b0014c5dc3f1c9mr873390pzk.49.1697526702321;\n Tue, 17 Oct 2023 00:11:42 -0700 (PDT)", "From": "Fengjiang Liu <liufengjiang.0426@bytedance.com>", "To": "dev@dpdk.org", "Cc": "maxime.coquelin@redhat.com, zhangziqian.1@bytedance.com,\n \"liufengjiang.0426\" <liufengjiang.0426@bytedance.com>", "Subject": "[PATCH] net/virtio: fixed missing next flag when sending packets in\n packed mode", "Date": "Tue, 17 Oct 2023 15:11:33 +0800", "Message-Id": "<20231017071133.399-1-liufengjiang.0426@bytedance.com>", "X-Mailer": "git-send-email 2.37.0.windows.1", "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": "From: \"liufengjiang.0426\" <liufengjiang.0426@bytedance.com>\n\nWhen the packets is sent in packed mode, and the packets data and\nvirtio-header are divided into two desc, set the next flag of\nvirtio-header desc\n\nBugzilla ID: 1295\nFixes: 892dc798fa9c (\"net/virtio: implement Tx path for packed queues\")\n\nSigned-off-by: Fengjiang Liu <liufengjiang.0426@bytedance.com>\n---\n drivers/net/virtio/virtqueue.h | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h\nindex 9d4aba11a3..4e9f2d0358 100644\n--- a/drivers/net/virtio/virtqueue.h\n+++ b/drivers/net/virtio/virtqueue.h\n@@ -672,6 +672,7 @@ virtqueue_enqueue_xmit_packed(struct virtnet_tx *txvq, struct rte_mbuf *cookie,\n \t\t */\n \t\tstart_dp[idx].addr = txvq->hdr_mem + RTE_PTR_DIFF(&txr[idx].tx_hdr, txr);\n \t\tstart_dp[idx].len = vq->hw->vtnet_hdr_size;\n+\t\thead_flags |= VRING_DESC_F_NEXT;\n \t\thdr = (struct virtio_net_hdr *)&txr[idx].tx_hdr;\n \t\tidx++;\n \t\tif (idx >= vq->vq_nentries) {\n", "prefixes": [] }{ "id": 132718, "url": "