[PATCH v2 0/6] Clean up many __builtin_* in drivers.
David Marchand
david.marchand at redhat.com
Wed Oct 30 11:24:17 CET 2024
On Fri, Oct 25, 2024 at 9:04 AM David Marchand
<david.marchand at 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
More information about the dev
mailing list