From: jialv01 Date: Tue, 11 Jun 2019 06:00:20 +0000 (+0800) Subject: fix compiling error with marvell pp2 plugin X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F64%2F20064%2F2;p=vpp.git fix compiling error with marvell pp2 plugin fix compile issue "src/plugins/marvell/pp2/pp2.c:247:62: error: 'vm' undeclared (first use in this function)" Change-Id: Ia23e21b07c29faefa6e363816a220e312adba81c Signed-off-by: Jianlin Lv --- diff --git a/src/plugins/marvell/pp2/pp2.c b/src/plugins/marvell/pp2/pp2.c index d40b9ec7dd6..411e28b212b 100644 --- a/src/plugins/marvell/pp2/pp2.c +++ b/src/plugins/marvell/pp2/pp2.c @@ -179,6 +179,7 @@ mrvl_pp2_delete_if (mrvl_pp2_if_t * ppif) void mrvl_pp2_create_if (mrvl_pp2_create_if_args_t * args) { + vlib_main_t *vm = vlib_get_main (); vnet_main_t *vnm = vnet_get_main (); vlib_thread_main_t *tm = vlib_get_thread_main (); mrvl_pp2_main_t *ppm = &mrvl_pp2_main;