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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11190): https://lists.fd.io/g/vpp-dev/message/11190
Mute This Topic: https://lists.fd.io/mt/28070210/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to