From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 49D97A0579; Tue, 6 Apr 2021 11:34:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 36EF1141054; Tue, 6 Apr 2021 11:34:09 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 5562414101D for ; Tue, 6 Apr 2021 11:34:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617701647; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lasEpoVrL8vC9MDL1jzHr1j6MleMS0ExbbkvnTmDlW0=; b=dgtAzpvJW4pH7mFTyzpUreilsIGfjBVG/Ibo4WAxar1/jt8BbpqCm883Tbf/gzCkBWWfdV 4X+jp2kjVpOTjkon2COLOBJtz7lzqk9pNH6MCJANZ9rcSaepVkSpQcTof1sWpG386NKomz iFa/KIVRqleY3o2XEUYVNNOFprzKul0= Received: from mail-ua1-f72.google.com (mail-ua1-f72.google.com [209.85.222.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-495-n_2fQ1nAO4C3IV24MnJkPg-1; Tue, 06 Apr 2021 05:34:04 -0400 X-MC-Unique: n_2fQ1nAO4C3IV24MnJkPg-1 Received: by mail-ua1-f72.google.com with SMTP id h13so3060882uaj.6 for ; Tue, 06 Apr 2021 02:34:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=lasEpoVrL8vC9MDL1jzHr1j6MleMS0ExbbkvnTmDlW0=; b=HHTxPHwaHCgfVqNNamUj1HERLma6wTVFKwf46ozFl556AzHdqyNIFW4J+Xjhp+s3BL jZaxkX/SZDdLQFwJy9+m2rVxE1b+rrniJo0dKmLA0P0uLtvmDWuYPc9aAlp22ZVXVpmd 4BLwK67+Ba1+sJODBgjlEvrxOQNjYgnHwEc35DwajfaX1zZUz0PFIJQFkncrqSrkoNWG f6ZU5/Ok8C0mG/4mU/6lWdXeyWUvRLE8wfOfFgtpAtoFyw6XX3U0KUWdKt2OUUPBBI+L jIbnk7FBTt1UfsDB9aQaktXTpb97LIkKwoH8cBKP9WnfqgdxD9mDlvUjETq9E9WPGNYY l9lw== X-Gm-Message-State: AOAM532OyQXPp3dOVD9zGwOiZrrUCDGG7bbA8IZ9j8blkR0/0rK7EZp5 OMR99tWS11yQTtGo7Amquw29fUaDegCtke67KxZH4VOfQ4ZJpWklK1gwYcagGg3YjtD2DLePGGs MlhaLKDc0wrkWugsWk0I= X-Received: by 2002:a67:f84a:: with SMTP id b10mr8408763vsp.10.1617701643477; Tue, 06 Apr 2021 02:34:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhXnleeJpqnv3W/kFNoF+ECFG21Hs/dxFGl7iahcNnXdHdywoY1UIEko3myqcWHSBvogYxhDJgXe6ntDI3C/Y= X-Received: by 2002:a67:f84a:: with SMTP id b10mr8408756vsp.10.1617701643283; Tue, 06 Apr 2021 02:34:03 -0700 (PDT) MIME-Version: 1.0 References: <1617631256-3018-1-git-send-email-michaelba@nvidia.com> In-Reply-To: <1617631256-3018-1-git-send-email-michaelba@nvidia.com> From: David Marchand Date: Tue, 6 Apr 2021 11:33:51 +0200 Message-ID: To: Michael Baum Cc: dev , Matan Azrad , Raslan Darawsheh , Viacheslav Ovsiienko Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Apr 5, 2021 at 4:01 PM Michael Baum wrote: > > 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. > These ones are generated on the basis of the template function and it tak= es significant time to compile, just due to a large number of giant functio= ns generated in the same file and this compilation is not being done in par= allel with using multithreading. > > Therefore, in this series we split the mlx5_rxtx.c file into several sepa= rate files to allow different functions to be compiled simultaneously. > > Michael Baum (6): > net/mlx5: separate Rx function declarations to another file > net/mlx5: separate Rx function implementations to new file > net/mlx5: separate Tx function declarations to another file > net/mlx5: separate Tx burst template to header file > net/mlx5: separate Tx function implementations to new file > net/mlx5: separate Tx burst functions to different files Please fix the indentation in meson.build updates. Out of curiosity, what is the gain in compilation time? --=20 David Marchand