[PATCH v2 0/3] remove __typeof__ from expansion of per lcore macros
    Tyler Retzlaff 
    roretzla at linux.microsoft.com
       
    Wed Jan  3 00:44:59 CET 2024
    
    
  
The design of the macros requires a type to be provided to the macro.
By expanding the type parameter inside of typeof it also inadvertently
allows an expression to be used which appears not to have been intended
after evaluating the parameter name and existing macro use.
Technically this is an API break but only for applications that were
using these macros outside of the original design intent.
v2:
  * add additional patch to adjust usage for crypto/ipsec_mb 
Tyler Retzlaff (3):
  eal: provide type to per lcore macro
  crypto/ipsec_mb: provide type to per lcore macro
  eal: remove typeof from per lcore macros
 drivers/crypto/ipsec_mb/pmd_aesni_gcm_priv.h | 2 +-
 lib/eal/common/eal_common_errno.c            | 2 +-
 lib/eal/include/rte_per_lcore.h              | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)
-- 
1.8.3.1
    
    
More information about the dev
mailing list