summaryrefslogtreecommitdiffstats
path: root/src/plugins/marvell/pp2/pp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/marvell/pp2/pp2.c')
-rw-r--r--src/plugins/marvell/pp2/pp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/marvell/pp2/pp2.c b/src/plugins/marvell/pp2/pp2.c
index d84d12ffa45..d40b9ec7dd6 100644
--- a/src/plugins/marvell/pp2/pp2.c
+++ b/src/plugins/marvell/pp2/pp2.c
@@ -244,7 +244,7 @@ mrvl_pp2_create_if (mrvl_pp2_create_if_args_t * args)
/* FIXME bpool bit select per pp */
s = format (s, "pool-%d:%d%c", pp2_id, pp2_id + 8, 0);
bpool_params.match = (char *) s;
- bpool_params.buff_len = vlib_bufer_get_default_size (vm);
+ bpool_params.buff_len = vlib_buffer_get_default_data_size (vm);
/* FIXME +64 ? */
if (pp2_bpool_init (&bpool_params, &ppif->inqs[0].bpool))
{