Skip to content

Clean up many __builtin_* in drivers.

David Marchand dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesIn review
  2. v16 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6devtools: handle multiple pattern for skipping filesdevtools/check-forbidden-tokens.awk+15 -60 replies
2/6devtools: forbid use of builtin helpersdevtools/checkpatches.sh+4 -30 replies
3/6common/dpaax: use prefetch macrosdrivers/common/dpaax/compat.h+4 -20 replies
4/6crypto/openssl: fix 3DES-CTR with big endian CPUsdrivers/crypto/openssl/rte_openssl_pmd.c+9 -190 replies
5/6drivers: use branch prediction macrosdrivers/bus/fslmc/qbman/include/compat.h drivers/net/qede/base/bcm_osal.h drivers/net/vmxnet3/base/vmxnet3_osdep.h+8 -60 replies
6/6drivers: use bitops API instead of compiler builtinsdrivers/common/nfp/nfp_platform.h drivers/dma/hisilicon/hisi_dmadev.h drivers/ml/cnxk/cn10k_ml_ocm.c +14 more+50 -340 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStephen HemmingerMorten BrørupHemant Agrawal
SeriesA-b
1/6
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/6] Clean up many __builtin_* in drivers.

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.

Signature · 41 lines
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(-)

-- 
2.46.2