]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx4/mlx4.c
eal: introduce macro for no inline
[dpdk.git] / drivers / net / mlx4 / mlx4.c
index ec4419a8c7864207c031121baba5588806978bad..0d7b4b63656fa48ab833b636163cf42d2b1c6350 100644 (file)
@@ -1098,7 +1098,7 @@ static int mlx4_check_mempool(struct rte_mempool *mp, uintptr_t *start,
 
 /* For best performance, this function should not be inlined. */
 static struct ibv_mr *mlx4_mp2mr(struct ibv_pd *, struct rte_mempool *)
-       __attribute__((noinline));
+       __rte_noinline;
 
 /**
  * Register mempool as a memory region.