Commit Graph

3 Commits

Author SHA1 Message Date
Changqing Li
eda9e18bdf
dpdk: fix lib32-dpdk compile failure
Fix the following compile error:
"../git/lib/ethdev/ethdev_trace.h: In function
'rte_eth_trace_timesync_write_time':
../git/lib/eal/include/rte_common.h:498:55: error: size of unnamed array is
negative
  498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 -
      2*!!(condition)]))"

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2025-06-05 07:04:41 +08:00
Xiangyu Chen
4f5ff4c3c8
dpdk: backport patches to fix build
Currently, a number of integer types are typedef'd to their corresponding
userspace or RTE values. This can be problematic if these types are already
defined somewhere else, as it would cause type collisions.

The error like this:
gve_osdep.h:45:20: error: conflicting types for '__le64';
have 'rte_le64_t' {aka 'long unsigned int'} | 45 | typedef rte_le64_t __le64; | | ^~~~~~ |
....
recipe-sysroot/usr/include/linux/types.h:35:25: note: previous declaration of
'__le64' with type '__le64' {aka 'long long unsigned int'} | 35 | typedef __u64 __bitwise __le64;

The upstream has already fixed, backport them to 23.11.x.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2025-02-13 23:27:14 +08:00
Mun Chun Yep
bc701e378c dpdk: update 23.11 -> 23.11.1
Signed-off-by: Mun Chun Yep <mun.chun.yep@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-05-27 18:51:09 +08:00