Hello all,

Continuing my reading of VPP code, I have a query regarding packet handling.

When a node gets a vector of packets to process, if I understand
correctly, this would be a vlib_frame_t instance. From this
vlib_frame_t instance arguments[0] is the offset to first  packet,
arguments[1] is the offset to second  packet and so on, upto xx number
of packets. Is this understanding correct? if yes, how much is the
maximum size of the packet buffer?

Also what is the significance of scalar_size/vector_size in
vlib_frame_t? Does it mean the number of frames/size of frames?

in vlib/main.c there is a statement  vec_resize (nm->pending_frames,
32). In here, what is pending_frames and what is the significance of
number 32?

I know I have been asking too many questions over here and very
grateful to all who answer.

Thanks a lot!

Raj
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12093): https://lists.fd.io/g/vpp-dev/message/12093
Mute This Topic: https://lists.fd.io/mt/29606187/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to