diff options
author | Damjan Marion <damarion@cisco.com> | 2020-05-06 23:38:58 +0200 |
---|---|---|
committer | Elias Rudberg <elias.rudberg@bahnhof.net> | 2020-05-07 02:23:23 +0200 |
commit | a1e03d4da71a2452c1e5da399d96c51f1b487cad (patch) | |
tree | 9fa4b92a2dfbadc7b2fdac503a480243da45de17 /src/vppinfra | |
parent | b5a575b0924036378b6deb50ac8fe7de3380e18d (diff) |
rdma: fix alignment issue
Type: fix
Change-Id: I0ff7a6f3354066c2252c1ebd0d43ac59db278bf0
Signed-off-by: Damjan Marion <damarion@cisco.com>
Signed-off-by: Elias Rudberg <elias.rudberg@bahnhof.net>
Diffstat (limited to 'src/vppinfra')
-rw-r--r-- | src/vppinfra/clib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vppinfra/clib.h b/src/vppinfra/clib.h index bdea43b3fe0..398f1aebb04 100644 --- a/src/vppinfra/clib.h +++ b/src/vppinfra/clib.h @@ -95,6 +95,9 @@ #define __clib_weak __attribute__ ((weak)) #define __clib_packed __attribute__ ((packed)) #define __clib_constructor __attribute__ ((constructor)) +#define __clib_noinline __attribute__ ((noinline)) +#define __clib_aligned(x) __attribute__ ((aligned(x))) +#define __clib_section(s) __attribute__ ((section(s))) #define never_inline __attribute__ ((__noinline__)) |