Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/53520/?format=api
http://patches.dpdk.org/api/patches/53520/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190517122220.31283-3-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": "<20190517122220.31283-3-maxime.coquelin@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190517122220.31283-3-maxime.coquelin@redhat.com", "date": "2019-05-17T12:22:17", "name": "[2/5] vhost: do not inline packed and split functions", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "496a600a0802d19aa586f88282ca098f95d931cd", "submitter": { "id": 512, "url": "http://patches.dpdk.org/api/people/512/?format=api", "name": "Maxime Coquelin", "email": "maxime.coquelin@redhat.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190517122220.31283-3-maxime.coquelin@redhat.com/mbox/", "series": [ { "id": 4707, "url": "http://patches.dpdk.org/api/series/4707/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4707", "date": "2019-05-17T12:22:15", "name": "vhost: I-cache pressure optimizations", "version": 1, "mbox": "http://patches.dpdk.org/series/4707/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/53520/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/53520/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C159B7CE2;\n\tFri, 17 May 2019 14:22:47 +0200 (CEST)", "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 9AD7E5F34\n\tfor <dev@dpdk.org>; Fri, 17 May 2019 14:22:44 +0200 (CEST)", "from smtp.corp.redhat.com\n\t(int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 1B59330BB37A;\n\tFri, 17 May 2019 12:22:39 +0000 (UTC)", "from localhost.localdomain (ovpn-112-59.ams2.redhat.com\n\t[10.36.112.59])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 301E310027B8;\n\tFri, 17 May 2019 12:22:36 +0000 (UTC)" ], "From": "Maxime Coquelin <maxime.coquelin@redhat.com>", "To": "dev@dpdk.org, tiwei.bie@intel.com, jfreimann@redhat.com,\n\tzhihong.wang@intel.com, bruce.richardson@intel.com,\n\tkonstantin.ananyev@intel.com", "Cc": "Maxime Coquelin <maxime.coquelin@redhat.com>", "Date": "Fri, 17 May 2019 14:22:17 +0200", "Message-Id": "<20190517122220.31283-3-maxime.coquelin@redhat.com>", "In-Reply-To": "<20190517122220.31283-1-maxime.coquelin@redhat.com>", "References": "<20190517122220.31283-1-maxime.coquelin@redhat.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Scanned-By": "MIMEDefang 2.84 on 10.5.11.22", "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.49]); Fri, 17 May 2019 12:22:39 +0000 (UTC)", "Subject": "[dpdk-dev] [PATCH 2/5] vhost: do not inline packed and split\n\tfunctions", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "At runtime either packed Tx/Rx functions will always be called,\nor split Tx/Rx functions will always be called.\n\nThis patch removes the forced inlining in order to reduce\nthe I-cache pressure.\n\nSigned-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n lib/librte_vhost/virtio_net.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c\nindex a6a33a1013..35ae4992c2 100644\n--- a/lib/librte_vhost/virtio_net.c\n+++ b/lib/librte_vhost/virtio_net.c\n@@ -771,7 +771,7 @@ copy_mbuf_to_desc(struct virtio_net *dev, struct vhost_virtqueue *vq,\n \treturn error;\n }\n \n-static __rte_always_inline uint32_t\n+static uint32_t\n virtio_dev_rx_split(struct virtio_net *dev, struct vhost_virtqueue *vq,\n \tstruct rte_mbuf **pkts, uint32_t count)\n {\n@@ -830,7 +830,7 @@ virtio_dev_rx_split(struct virtio_net *dev, struct vhost_virtqueue *vq,\n \treturn pkt_idx;\n }\n \n-static __rte_always_inline uint32_t\n+static uint32_t\n virtio_dev_rx_packed(struct virtio_net *dev, struct vhost_virtqueue *vq,\n \tstruct rte_mbuf **pkts, uint32_t count)\n {\n@@ -1300,7 +1300,7 @@ get_zmbuf(struct vhost_virtqueue *vq)\n \treturn NULL;\n }\n \n-static __rte_always_inline uint16_t\n+static uint16_t\n virtio_dev_tx_split(struct virtio_net *dev, struct vhost_virtqueue *vq,\n \tstruct rte_mempool *mbuf_pool, struct rte_mbuf **pkts, uint16_t count)\n {\n@@ -1422,7 +1422,7 @@ virtio_dev_tx_split(struct virtio_net *dev, struct vhost_virtqueue *vq,\n \treturn i;\n }\n \n-static __rte_always_inline uint16_t\n+static uint16_t\n virtio_dev_tx_packed(struct virtio_net *dev, struct vhost_virtqueue *vq,\n \tstruct rte_mempool *mbuf_pool, struct rte_mbuf **pkts, uint16_t count)\n {\n", "prefixes": [ "2/5" ] }{ "id": 53520, "url": "