DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: David Marchand <david.marchand@redhat.com>
Cc: dev@dpdk.org, thomas@monjalon.net, ferruh.yigit@amd.com,
	stephen@networkplumber.org, mattias.ronnblom@ericsson.com,
	"Morten Brørup" <mb@smartsharesystems.com>,
	"Hemant Agrawal" <hemant.agrawal@nxp.com>
Subject: Re: [PATCH v2 0/6] Clean up many __builtin_* in drivers.
Date: Wed, 30 Oct 2024 11:24:17 +0100	[thread overview]
Message-ID: <CAJFAV8wg3CJN4gbUFQccV9WSZANmUnQaHhESZ+A=BmwE=T0fMA@mail.gmail.com> (raw)
In-Reply-To: <20241025070424.3916007-1-david.marchand@redhat.com>

On Fri, Oct 25, 2024 at 9:04 AM David Marchand
<david.marchand@redhat.com> wrote:
>
> Here is a series cleaning up most of uses of __builtin_* helpers in
> drivers when they have a direct replacement in EAL.
>
> checkpatch is extended to forbid new additions.
>
> --
> David Marchand
>
> Changes since v1:
> - more fixes in crypto/openssl,
>
> David Marchand (6):
>   devtools: handle multiple pattern for skipping files
>   devtools: forbid use of builtin helpers
>   common/dpaax: use prefetch macros
>   crypto/openssl: fix 3DES-CTR with big endian CPUs
>   drivers: use branch prediction macros
>   drivers: use bitops API instead of compiler builtins
>
>  devtools/check-forbidden-tokens.awk      | 21 +++++++++++++-----
>  devtools/checkpatches.sh                 |  7 +++---
>  drivers/bus/fslmc/qbman/include/compat.h |  6 ++---
>  drivers/common/dpaax/compat.h            |  6 +++--
>  drivers/common/nfp/nfp_platform.h        |  4 +++-
>  drivers/crypto/openssl/rte_openssl_pmd.c | 28 ++++++++----------------
>  drivers/dma/hisilicon/hisi_dmadev.h      |  3 ++-
>  drivers/ml/cnxk/cn10k_ml_ocm.c           |  7 +++---
>  drivers/net/bnxt/bnxt_rxtx_vec_neon.c    |  4 ++--
>  drivers/net/bnxt/tf_ulp/ulp_flow_db.c    |  6 +++--
>  drivers/net/bnxt/tf_ulp/ulp_gen_hash.c   |  4 +++-
>  drivers/net/bonding/rte_eth_bond_pmd.c   |  3 ++-
>  drivers/net/cpfl/cpfl_flow_engine_fxp.c  |  5 ++++-
>  drivers/net/enetfec/enet_ethdev.c        |  5 +++--
>  drivers/net/enetfec/enet_ethdev.h        |  6 -----
>  drivers/net/hns3/hns3_rxtx_vec_neon.h    |  4 +++-
>  drivers/net/i40e/i40e_rxtx_vec_neon.c    |  4 +++-
>  drivers/net/iavf/iavf_rxtx_vec_neon.c    |  4 +++-
>  drivers/net/mlx5/hws/mlx5dr_definer.c    |  8 ++++---
>  drivers/net/mlx5/mlx5_flow_dv.c          |  3 ++-
>  drivers/net/mlx5/mlx5_rxtx_vec_neon.h    | 12 +++++-----
>  drivers/net/mlx5/mlx5_tx.c               |  2 +-
>  drivers/net/qede/base/bcm_osal.h         |  4 +++-
>  drivers/net/vmxnet3/base/vmxnet3_osdep.h |  4 +++-
>  24 files changed, 90 insertions(+), 70 deletions(-)

Series applied, thanks.


-- 
David Marchand


      parent reply	other threads:[~2024-10-30 10:24 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-24 12:05 [PATCH " David Marchand
2024-10-24 12:05 ` [PATCH 1/6] devtools: handle multiple pattern for skipping files David Marchand
2024-10-24 12:05 ` [PATCH 2/6] devtools: forbid use of builtin helpers David Marchand
2024-10-24 16:40   ` Stephen Hemminger
2024-10-24 12:05 ` [PATCH 3/6] common/dpaax: use prefetch macros David Marchand
2024-10-24 16:40   ` Stephen Hemminger
2024-10-24 12:05 ` [PATCH 4/6] crypto/openssl: fix 3DES-CTR with big endian CPUs David Marchand
2024-10-24 12:54   ` Morten Brørup
2024-10-24 13:10     ` David Marchand
2024-10-24 13:17       ` David Marchand
2024-10-24 13:30         ` David Marchand
2024-10-24 14:21           ` Morten Brørup
2024-10-24 12:05 ` [PATCH 5/6] drivers: use branch prediction macros David Marchand
2024-10-24 16:41   ` Stephen Hemminger
2024-10-24 12:05 ` [PATCH 6/6] drivers: use bitops API instead of compiler builtins David Marchand
2024-10-24 12:25   ` Morten Brørup
2024-10-25  7:04 ` [PATCH v2 0/6] Clean up many __builtin_* in drivers David Marchand
2024-10-25  7:04   ` [PATCH v2 1/6] devtools: handle multiple pattern for skipping files David Marchand
2024-10-25  7:04   ` [PATCH v2 2/6] devtools: forbid use of builtin helpers David Marchand
2024-10-25  7:04   ` [PATCH v2 3/6] common/dpaax: use prefetch macros David Marchand
2024-10-25  7:04   ` [PATCH v2 4/6] crypto/openssl: fix 3DES-CTR with big endian CPUs David Marchand
2024-10-25  7:04   ` [PATCH v2 5/6] drivers: use branch prediction macros David Marchand
2024-10-25  7:04   ` [PATCH v2 6/6] drivers: use bitops API instead of compiler builtins David Marchand
2024-10-25  7:19   ` [PATCH v2 0/6] Clean up many __builtin_* in drivers Hemant Agrawal
2024-10-30 10:24   ` David Marchand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJFAV8wg3CJN4gbUFQccV9WSZANmUnQaHhESZ+A=BmwE=T0fMA@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@amd.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=mattias.ronnblom@ericsson.com \
    --cc=mb@smartsharesystems.com \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).