Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/132720/?format=api
http://patchwork.dpdk.org/api/patches/132720/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20231017072623.527-1-liufengjiang.0426@bytedance.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": "<20231017072623.527-1-liufengjiang.0426@bytedance.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20231017072623.527-1-liufengjiang.0426@bytedance.com", "date": "2023-10-17T07:26:23", "name": "net/virtio: fixed missing next flag when sending packets in packed mode", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "7f4666849be384ce55ec7016ac1834cbff9f96df", "submitter": { "id": 3206, "url": "http://patchwork.dpdk.org/api/people/3206/?format=api", "name": "Fengjiang Liu", "email": "liufengjiang.0426@bytedance.com" }, "delegate": { "id": 2642, "url": "http://patchwork.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20231017072623.527-1-liufengjiang.0426@bytedance.com/mbox/", "series": [ { "id": 29870, "url": "http://patchwork.dpdk.org/api/series/29870/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29870", "date": "2023-10-17T07:26:23", "name": "net/virtio: fixed missing next flag when sending packets in packed mode", "version": 1, "mbox": "http://patchwork.dpdk.org/series/29870/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/132720/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/132720/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 AAA2A43188;\n\tTue, 17 Oct 2023 09:26:38 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7D86D40279;\n\tTue, 17 Oct 2023 09:26:38 +0200 (CEST)", "from mail-pg1-f172.google.com (mail-pg1-f172.google.com\n [209.85.215.172])\n by mails.dpdk.org (Postfix) with ESMTP id 3E3E140269\n for <dev@dpdk.org>; Tue, 17 Oct 2023 09:26:37 +0200 (CEST)", "by mail-pg1-f172.google.com with SMTP id\n 41be03b00d2f7-564b6276941so3993270a12.3\n for <dev@dpdk.org>; Tue, 17 Oct 2023 00:26:37 -0700 (PDT)", "from PF1D8Q29-ENF.inc.bytedance.com ([203.208.167.147])\n by smtp.gmail.com with ESMTPSA id\n z6-20020a17090abd8600b0027cbc50b826sm5785321pjr.17.2023.10.17.00.26.34\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 17 Oct 2023 00:26:35 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=bytedance.com; s=google; t=1697527596; x=1698132396; 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=BjuxtcK8hj6hr0DIGFUhijBWgkasP6aHStDPrWJoNDU=;\n b=WFMOW3iS2uJMdxOXA5HAVZ+TOnqCMdi7o4A65a0b0rT3ynC2yKgqDAgxYINHtQJ9TU\n xeUmGQA88B2HRopRAitcCIpC+cN6GEPwbG6oQpHKwsvdsE/Bg+rkdGgh/xpc5MysAhi3\n FSzdmMj33x8fy9+KvmB5wGLgDsDaDOVD+Yh7QppAQoVpTXTbATuo8lacvbCuTTUgCXPM\n MB1Xgy33trEVhEbRYhNb8ILgeDJ4M1nJQoTJOE7weuOZNTSWoZ/6wIcwGfhtAAx1C7kq\n y9q7aRHzZcVD46ezhU8G6eaUb1MOzBclVHYoxs0b8b78wikgv5zUL0OS9SnwEAt5kE/s\n OOUg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1697527596; x=1698132396;\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=BjuxtcK8hj6hr0DIGFUhijBWgkasP6aHStDPrWJoNDU=;\n b=Bh6pqZNq2e4riLL1lVHV5DI+iO6AKVAMXKkGWEwGE2SQgz0onujhshrFu/XTO9igJl\n KCBRJXWY0bN6l3z2jRD1dY2jIwsMTykgxQDnvKCHCJCiM76jdWvqSsps8uVDld8D4HgH\n J53CFgQMYScVS1TSeirInAZyBu3OVnrwO4sY6UFBNEOJq9rtAexVTIM6HygkMvlOZdKS\n wiknm5FaCeJP+hd7Wshzu2o1fMq6vXDUQHc9SLW1JXIwjCL0ZYMgvuqMefJ7vRG13GUW\n Ch/ljzQKMRg5ddg5w3LiM4bhvk8thekdndX86OrXTu3slfJEOssKtIP1vsLeu62iK8aY\n zT2A==", "X-Gm-Message-State": "AOJu0Yw1iLngI6j5ZLNHLllImzuoMwhxL9yUdPhvrSEtk+UYRS599pSk\n KREjphI3W688iSRy+8CD2CxrWrrF9mxixVfEsfnTxA==", "X-Google-Smtp-Source": "\n AGHT+IH10B4gaKvZSIpXmwvcxmfcjHTZkIhtd9JpWR/XcaQz9edmbey+A4o6Nkeg/Pc+c9ZXjEx5pw==", "X-Received": "by 2002:a05:6a20:7286:b0:160:97a3:cae9 with SMTP id\n o6-20020a056a20728600b0016097a3cae9mr1379544pzk.54.1697527596221;\n Tue, 17 Oct 2023 00:26:36 -0700 (PDT)", "From": "Fengjiang Liu <liufengjiang.0426@bytedance.com>", "To": "dev@dpdk.org", "Cc": "maxime.coquelin@redhat.com,\n\tzhangziqian.1@bytedance.com", "Subject": "[PATCH] net/virtio: fixed missing next flag when sending packets in\n packed mode", "Date": "Tue, 17 Oct 2023 15:26:23 +0800", "Message-Id": "<20231017072623.527-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": "When 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": 132720, "url": "