summaryrefslogtreecommitdiff
path: root/drivers/net/mlx4/mlx4.c
diff options
context:
space:
mode:
authorAnatoly Burakov <anatoly.burakov@intel.com>2019-07-05 14:10:30 +0100
committerThomas Monjalon <thomas@monjalon.net>2019-07-06 10:32:34 +0200
commit028669bc9f0d1b44a7656920733ab98d626aa373 (patch)
treefa6b531d8315e43cd205347ad8845d3739301822 /drivers/net/mlx4/mlx4.c
parent119cee86cd4dd37cbdd09d8a5012bdb45103d202 (diff)
downloaddpdk-028669bc9f0d1b44a7656920733ab98d626aa373.zip
dpdk-028669bc9f0d1b44a7656920733ab98d626aa373.tar.gz
dpdk-028669bc9f0d1b44a7656920733ab98d626aa373.tar.xz
eal: hide shared memory config
Now that everything that has ever accessed the shared memory config is doing so through the public API's, we can make it internal. Since we're removing quite a few headers from rte_eal_memconfig.h, we need to add them back in places where this header is used. This bumps the ABI, so also change all build files and make update documentation. Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: David Marchand <david.marchand@redhat.com>
Diffstat (limited to 'drivers/net/mlx4/mlx4.c')
-rw-r--r--drivers/net/mlx4/mlx4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
index aa4d43f..2e169b0 100644
--- a/drivers/net/mlx4/mlx4.c
+++ b/drivers/net/mlx4/mlx4.c
@@ -715,7 +715,7 @@ mlx4_init_once(void)
ret = mlx4_mp_init_primary();
if (ret)
goto out;
- sd->init_done = true;
+ sd->init_done = 1;
break;
case RTE_PROC_SECONDARY:
if (ld->init_done)
@@ -724,7 +724,7 @@ mlx4_init_once(void)
if (ret)
goto out;
++sd->secondary_cnt;
- ld->init_done = true;
+ ld->init_done = 1;
break;
default:
break;