Dear Ewan, Please consider moving to vpp 18.10. 17.04 is not supported anymore.
Thanks... Dave From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of xulang Sent: Saturday, November 10, 2018 4:37 AM To: xulang <xlang...@163.com> Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] vlib_buffer_alloc error My version is 17.04. At 2018-11-10 16:38:17, "xulang" <xlang...@163.com<mailto:xlang...@163.com>> wrote: Hi all, Sometimes(pretty many times), we get strange buffer index and which can cause fatal problem to vpp when we use ipsec vpn. Here are some details in function fill_free_list: (gdb) p mb0 $31 = (struct rte_mbuf *) 0x7f4a796e3740 (gdb) p mb1 $32 = (struct rte_mbuf *) 0x7f4a796e2d00 (gdb) p mb2 $33 = (struct rte_mbuf *) 0x7f4a796e22c0 (gdb) p mb3 $34 = (struct rte_mbuf *) 0x7f4a796e1880 (gdb) p b1 $29 = (vlib_buffer_t *) 0x7f4a796e2d80 (gdb) p b0 $30 = (vlib_buffer_t *) 0x7f4a796e37c0 (gdb) p b2 $27 = (vlib_buffer_t *) 0x7f4a796e2340 (gdb) p b3 $28 = (vlib_buffer_t *) 0x7f4a796e1900 (gdb) p bi0 $21 = 3281633096 (gdb) p bi1 $22 = 32586 (gdb) p bi2 $25 = 84176 (gdb) p bi3 $26 = 84135 Those buffers address are right, but the buffed indexes are quite strange. Any clue or suggestion here? (gdb) fill_free_list (min_free_buffers=1, fl=0x7f4ac36eee40, vm=0x7f4b07dcf2c0 <vlib_global_main>) at /home/vbras/codenew/VBRASV100R001_new_trunk/vpp1704/build-data/../src/plugins/dpdk/buffer.c:238 238 vec_add1_aligned (fl->buffers, bi0, CLIB_CACHE_LINE_BYTES); (gdb) 233 bi0 = vlib_get_buffer_index (vm, b0); (gdb) call sizeof(struct rte_mbuf) $35 = 128 Regards, Ewan 【网易自营|30天无忧退货】网易严选11.11开抢:3.9元色画主义人字拖,68元一套CEO丁磊推荐咖啡碳保暖内衣,先到先得售罄不补>> <http://you.163.com/flashSale/index?from=web_gg_mail_jiaobiao_7>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11193): https://lists.fd.io/g/vpp-dev/message/11193 Mute This Topic: https://lists.fd.io/mt/28070210/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-