Cover Detail
Show a cover letter.
GET /api/covers/91088/?format=api
https://patches.dpdk.org/api/covers/91088/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/1618209145-3055-1-git-send-email-michaelba@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": "<1618209145-3055-1-git-send-email-michaelba@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1618209145-3055-1-git-send-email-michaelba@nvidia.com", "date": "2021-04-12T06:32:19", "name": "[v2,0/6] net/mlx5: reduce Tx datapath compile time", "submitter": { "id": 1949, "url": "https://patches.dpdk.org/api/people/1949/?format=api", "name": "Michael Baum", "email": "michaelba@nvidia.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/1618209145-3055-1-git-send-email-michaelba@nvidia.com/mbox/", "series": [ { "id": 16284, "url": "https://patches.dpdk.org/api/series/16284/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16284", "date": "2021-04-12T06:32:19", "name": "net/mlx5: reduce Tx datapath compile time", "version": 2, "mbox": "https://patches.dpdk.org/series/16284/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/91088/comments/", "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 54B93A0C44;\n\tMon, 12 Apr 2021 08:32:36 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1CF82141510;\n\tMon, 12 Apr 2021 08:32:36 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id 1EE25141513\n for <dev@dpdk.org>; Mon, 12 Apr 2021 08:32:34 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n michaelba@nvidia.com) with SMTP; 12 Apr 2021 09:32:33 +0300", "from nvidia.com (pegasus07.mtr.labs.mlnx [10.210.16.112])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 13C6WXrC025433;\n Mon, 12 Apr 2021 09:32:33 +0300" ], "From": "Michael Baum <michaelba@nvidia.com>", "To": "dev@dpdk.org", "Cc": "Matan Azrad <matan@nvidia.com>, Raslan Darawsheh <rasland@nvidia.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>", "Date": "Mon, 12 Apr 2021 06:32:19 +0000", "Message-Id": "<1618209145-3055-1-git-send-email-michaelba@nvidia.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1617631256-3018-1-git-send-email-michaelba@nvidia.com>", "References": "<1617631256-3018-1-git-send-email-michaelba@nvidia.com>", "Subject": "[dpdk-dev] [PATCH v2 0/6] net/mlx5: reduce Tx datapath compile time", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The mlx5_rxtx.c file contains a lot of Tx burst functions, each of those is performance-optimized for the specific set of requested offloads.\nThese ones are generated on the basis of the template function and it takes significant time to compile, just due to a large number of giant functions generated in the same file and this compilation is not being done in parallel with using multithreading.\n\nTherefore, in this series we split the mlx5_rxtx.c file into several separate files to allow different functions to be compiled simultaneously.\n \nv2: fix compilation error + rebase\n\nMichael Baum (6):\n net/mlx5: separate Rx function declarations to another file\n net/mlx5: separate Rx function implementations to new file\n net/mlx5: separate Tx function declarations to another file\n net/mlx5: separate Tx burst template to header file\n net/mlx5: separate Tx function implementations to new file\n net/mlx5: separate Tx burst functions to different files\n\n drivers/net/mlx5/linux/mlx5_mp_os.c | 2 +\n drivers/net/mlx5/linux/mlx5_os.c | 2 +\n drivers/net/mlx5/linux/mlx5_verbs.c | 3 +-\n drivers/net/mlx5/meson.build | 6 +\n drivers/net/mlx5/mlx5.c | 2 +\n drivers/net/mlx5/mlx5_devx.c | 3 +-\n drivers/net/mlx5/mlx5_ethdev.c | 2 +\n drivers/net/mlx5/mlx5_flow.c | 3 +-\n drivers/net/mlx5/mlx5_flow_dv.c | 3 +-\n drivers/net/mlx5/mlx5_flow_verbs.c | 2 +-\n drivers/net/mlx5/mlx5_mr.c | 2 +\n drivers/net/mlx5/mlx5_rss.c | 1 +\n drivers/net/mlx5/mlx5_rx.c | 1203 ++++++++\n drivers/net/mlx5/mlx5_rx.h | 598 ++++\n drivers/net/mlx5/mlx5_rxmode.c | 1 -\n drivers/net/mlx5/mlx5_rxq.c | 3 +-\n drivers/net/mlx5/mlx5_rxtx.c | 5468 +----------------------------------\n drivers/net/mlx5/mlx5_rxtx.h | 915 +-----\n drivers/net/mlx5/mlx5_rxtx_vec.c | 1 +\n drivers/net/mlx5/mlx5_stats.c | 3 +-\n drivers/net/mlx5/mlx5_trigger.c | 3 +-\n drivers/net/mlx5/mlx5_tx.c | 780 +++++\n drivers/net/mlx5/mlx5_tx.h | 3734 ++++++++++++++++++++++++\n drivers/net/mlx5/mlx5_tx_empw.c | 71 +\n drivers/net/mlx5/mlx5_tx_mpw.c | 34 +\n drivers/net/mlx5/mlx5_tx_nompw.c | 71 +\n drivers/net/mlx5/mlx5_tx_txpp.c | 45 +\n drivers/net/mlx5/mlx5_txpp.c | 3 +-\n drivers/net/mlx5/mlx5_txq.c | 2 +\n drivers/net/mlx5/mlx5_vlan.c | 1 +\n drivers/net/mlx5/windows/mlx5_os.c | 2 +\n 31 files changed, 6581 insertions(+), 6388 deletions(-)\n create mode 100644 drivers/net/mlx5/mlx5_rx.c\n create mode 100644 drivers/net/mlx5/mlx5_rx.h\n create mode 100644 drivers/net/mlx5/mlx5_tx.c\n create mode 100644 drivers/net/mlx5/mlx5_tx.h\n create mode 100644 drivers/net/mlx5/mlx5_tx_empw.c\n create mode 100644 drivers/net/mlx5/mlx5_tx_mpw.c\n create mode 100644 drivers/net/mlx5/mlx5_tx_nompw.c\n create mode 100644 drivers/net/mlx5/mlx5_tx_txpp.c" }{ "id": 91088, "url": "