mbox series

[v3,0/4] Remove RTE_MACHINE_CPUFLAG_ macros

Message ID 20200924081832.21581-1-radu.nicolau@intel.com (mailing list archive)
Headers
Series Remove RTE_MACHINE_CPUFLAG_ macros |

Message

Radu Nicolau Sept. 24, 2020, 8:18 a.m. UTC
  Remove RTE_MACHINE_CPUFLAG_ macros from the build.
Deprecation notice sent, pasted here for reference:

* build macros: The macros defining RTE_MACHINE_CPUFLAG_* will be removed
  from the build. The information provided by these macros is available
  through standard compiler macros. For example, RTE_MACHINE_CPUFLAG_SSE3
  duplicates the compiler-provided macro __SSE3__.


Radu Nicolau (4):
  x86: change cpuflag macros to compiler macros
  arm: change cpuflag macros to compiler macros
  ppc: change cpuflag macros to compiler macros
  doc: remove reference to RTE_MACHINE_CPUFLAG

 app/test-pmd/macswap.c                           |  2 +-
 app/test/test_memcpy_perf.c                      |  8 ++++----
 config/arm/meson.build                           |  6 ------
 config/ppc/meson.build                           |  2 --
 config/x86/meson.build                           |  2 --
 doc/guides/prog_guide/writing_efficient_code.rst |  2 --
 doc/guides/rel_notes/release_20_11.rst           |  1 +
 drivers/net/enic/meson.build                     |  2 +-
 drivers/net/i40e/meson.build                     |  2 +-
 drivers/net/iavf/meson.build                     |  2 +-
 drivers/net/ice/meson.build                      |  2 +-
 drivers/net/ixgbe/ixgbe_ethdev.c                 |  2 +-
 examples/l3fwd/l3fwd.h                           |  2 +-
 examples/l3fwd/l3fwd_em.c                        | 16 ++++++++--------
 examples/l3fwd/l3fwd_em_hlm.h                    |  2 +-
 examples/l3fwd/l3fwd_em_sequential.h             |  2 +-
 examples/l3fwd/l3fwd_lpm.c                       |  6 +++---
 lib/librte_acl/meson.build                       |  2 +-
 lib/librte_eal/arm/include/rte_memcpy_32.h       |  2 +-
 lib/librte_eal/common/rte_random.c               |  4 ++--
 lib/librte_eal/x86/include/rte_memcpy.h          |  8 ++++----
 lib/librte_efd/rte_efd_x86.h                     |  2 +-
 lib/librte_hash/rte_cuckoo_hash.c                |  4 ++--
 lib/librte_hash/rte_hash_crc.h                   |  2 +-
 lib/librte_hash/rte_thash.h                      |  4 ++--
 lib/librte_member/rte_member.h                   |  2 +-
 lib/librte_member/rte_member_ht.c                | 10 +++++-----
 lib/librte_member/rte_member_x86.h               |  2 +-
 lib/librte_net/rte_net_crc.c                     |  4 ++--
 lib/librte_node/ip4_lookup.c                     |  2 +-
 lib/librte_sched/rte_sched.c                     |  2 +-
 lib/librte_table/rte_lru_arm64.h                 |  2 +-
 lib/librte_table/rte_table_hash_func.h           |  2 +-
 33 files changed, 52 insertions(+), 63 deletions(-)
  

Comments

David Marchand Sept. 25, 2020, 9:18 a.m. UTC | #1
On Thu, Sep 24, 2020 at 10:19 AM Radu Nicolau <radu.nicolau@intel.com> wrote:
>
> Remove RTE_MACHINE_CPUFLAG_ macros from the build.
> Deprecation notice sent, pasted here for reference:
>
> * build macros: The macros defining RTE_MACHINE_CPUFLAG_* will be removed
>   from the build. The information provided by these macros is available
>   through standard compiler macros. For example, RTE_MACHINE_CPUFLAG_SSE3
>   duplicates the compiler-provided macro __SSE3__.
>
>
> Radu Nicolau (4):
>   x86: change cpuflag macros to compiler macros
>   arm: change cpuflag macros to compiler macros
>   ppc: change cpuflag macros to compiler macros
>   doc: remove reference to RTE_MACHINE_CPUFLAG
>
>  app/test-pmd/macswap.c                           |  2 +-
>  app/test/test_memcpy_perf.c                      |  8 ++++----
>  config/arm/meson.build                           |  6 ------
>  config/ppc/meson.build                           |  2 --
>  config/x86/meson.build                           |  2 --
>  doc/guides/prog_guide/writing_efficient_code.rst |  2 --
>  doc/guides/rel_notes/release_20_11.rst           |  1 +
>  drivers/net/enic/meson.build                     |  2 +-
>  drivers/net/i40e/meson.build                     |  2 +-
>  drivers/net/iavf/meson.build                     |  2 +-
>  drivers/net/ice/meson.build                      |  2 +-
>  drivers/net/ixgbe/ixgbe_ethdev.c                 |  2 +-
>  examples/l3fwd/l3fwd.h                           |  2 +-
>  examples/l3fwd/l3fwd_em.c                        | 16 ++++++++--------
>  examples/l3fwd/l3fwd_em_hlm.h                    |  2 +-
>  examples/l3fwd/l3fwd_em_sequential.h             |  2 +-
>  examples/l3fwd/l3fwd_lpm.c                       |  6 +++---
>  lib/librte_acl/meson.build                       |  2 +-
>  lib/librte_eal/arm/include/rte_memcpy_32.h       |  2 +-
>  lib/librte_eal/common/rte_random.c               |  4 ++--
>  lib/librte_eal/x86/include/rte_memcpy.h          |  8 ++++----
>  lib/librte_efd/rte_efd_x86.h                     |  2 +-
>  lib/librte_hash/rte_cuckoo_hash.c                |  4 ++--
>  lib/librte_hash/rte_hash_crc.h                   |  2 +-
>  lib/librte_hash/rte_thash.h                      |  4 ++--
>  lib/librte_member/rte_member.h                   |  2 +-
>  lib/librte_member/rte_member_ht.c                | 10 +++++-----
>  lib/librte_member/rte_member_x86.h               |  2 +-
>  lib/librte_net/rte_net_crc.c                     |  4 ++--
>  lib/librte_node/ip4_lookup.c                     |  2 +-
>  lib/librte_sched/rte_sched.c                     |  2 +-
>  lib/librte_table/rte_lru_arm64.h                 |  2 +-
>  lib/librte_table/rte_table_hash_func.h           |  2 +-
>  33 files changed, 52 insertions(+), 63 deletions(-)

Acked-by: David Marchand <david.marchand@redhat.com>

Rewrote the release note update based on the deprecation notice.
Dropped the notice.

Applied, thanks.