Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/84726/?format=api
https://patches.dpdk.org/api/patches/84726/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1606952203-23310-4-git-send-email-xuemingl@nvidia.com/", "project": { "id": 1, "url": "https://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": "<1606952203-23310-4-git-send-email-xuemingl@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1606952203-23310-4-git-send-email-xuemingl@nvidia.com", "date": "2020-12-02T23:36:43", "name": "[4/4] vdpa/mlx5: set default event mode to polling", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "6b44b50e50c331b28a375c9bbddf66ecfe36df0a", "submitter": { "id": 1904, "url": "https://patches.dpdk.org/api/people/1904/?format=api", "name": "Xueming Li", "email": "xuemingl@nvidia.com" }, "delegate": { "id": 2642, "url": "https://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1606952203-23310-4-git-send-email-xuemingl@nvidia.com/mbox/", "series": [ { "id": 14177, "url": "https://patches.dpdk.org/api/series/14177/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14177", "date": "2020-12-02T23:36:40", "name": "[1/4] vdpa/mlx5: set polling mode default delay to zero", "version": 1, "mbox": "https://patches.dpdk.org/series/14177/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/84726/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/84726/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 2F621A09DF;\n\tThu, 3 Dec 2020 00:37:45 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id CE422C9CE;\n\tThu, 3 Dec 2020 00:37:30 +0100 (CET)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 5C53AC9C4\n for <dev@dpdk.org>; Thu, 3 Dec 2020 00:37:27 +0100 (CET)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n xuemingl@nvidia.com) with SMTP; 3 Dec 2020 01:37:23 +0200", "from nvidia.com (pegasus05.mtr.labs.mlnx [10.210.16.100])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0B2Naj4c027188;\n Thu, 3 Dec 2020 01:37:23 +0200" ], "From": "Xueming Li <xuemingl@nvidia.com>", "To": "Matan Azrad <matan@nvidia.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>,\n Maxime Coquelin <maxime.coquelin@redhat.com>", "Cc": "dev@dpdk.org, xuemingl@nvidia.com, Asaf Penso <asafp@nvidia.com>", "Date": "Wed, 2 Dec 2020 23:36:43 +0000", "Message-Id": "<1606952203-23310-4-git-send-email-xuemingl@nvidia.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1606952203-23310-1-git-send-email-xuemingl@nvidia.com>", "References": "<1606952203-23310-1-git-send-email-xuemingl@nvidia.com>", "Subject": "[dpdk-dev] [PATCH 4/4] vdpa/mlx5: set default event mode to polling", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "For better performance and latency, this patch sets default event\nhandling mode to polling mode which uses dedicate thread per device to\npoll and process event.\n\nSigned-off-by: Xueming Li <xuemingl@nvidia.com>\nAcked-by: Matan Azrad <matan@nvidia.com>\n---\n doc/guides/vdpadevs/mlx5.rst | 2 +-\n drivers/vdpa/mlx5/mlx5_vdpa.c | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/doc/guides/vdpadevs/mlx5.rst b/doc/guides/vdpadevs/mlx5.rst\nindex 20254257c9..730e171ba3 100644\n--- a/doc/guides/vdpadevs/mlx5.rst\n+++ b/doc/guides/vdpadevs/mlx5.rst\n@@ -116,7 +116,7 @@ Driver options\n - 2, Completion queue scheduling will be managed by interrupts. Each CQ burst\n arms the CQ in order to get an interrupt event in the next traffic burst.\n \n- - Default mode is 0.\n+ - Default mode is 1.\n \n - ``event_us`` parameter [int]\n \ndiff --git a/drivers/vdpa/mlx5/mlx5_vdpa.c b/drivers/vdpa/mlx5/mlx5_vdpa.c\nindex 1f92c529c9..5d954d48ce 100644\n--- a/drivers/vdpa/mlx5/mlx5_vdpa.c\n+++ b/drivers/vdpa/mlx5/mlx5_vdpa.c\n@@ -647,7 +647,7 @@ mlx5_vdpa_config_get(struct rte_devargs *devargs, struct mlx5_vdpa_priv *priv)\n {\n \tstruct rte_kvargs *kvlist;\n \n-\tpriv->event_mode = MLX5_VDPA_EVENT_MODE_DYNAMIC_TIMER;\n+\tpriv->event_mode = MLX5_VDPA_EVENT_MODE_FIXED_TIMER;\n \tpriv->event_us = 0;\n \tpriv->event_core = -1;\n \tpriv->no_traffic_time_s = MLX5_VDPA_DEFAULT_NO_TRAFFIC_TIME_S;\n", "prefixes": [ "4/4" ] }{ "id": 84726, "url": "