Hi, 

First of all, note that fifo tunning is not fully supported yet. If you enable 
it by setting the SESSION_F_CUSTOM_FIFO_TUNING flag, you will get notifications 
whenever new data is enqueued with the aim of allowing the app to update the 
size of the fifo based on needs. Currently the expectation is that the app will 
update the size based on fifo segment memory pressure and fifo utilization 
only. 

We could report the amount of bytes just enqueued, but ideally we should 
compute and periodically report some form of averages, to avoid churn. That’s 
planned but no ETA yet. 

Regards,
Florin

> On Jul 16, 2020, at 9:37 AM, jiangxiaom...@outlook.com wrote:
> 
> Hi,
>       Currently vpp's hoststack app's callback 
> 'session_cb_vft_t->fifo_tuning_callback' always return 0 if act == 
> SESSION_FT_ACTION_ENQUEUED.
> If act == SESSION_FT_ACTION_DEQUEUED, the bytes is the lenght of data the 
> session have send.
> So I think the value should be the length of the session recv data.
> Anyone know if the value is design to be 0 with SESSION_FT_ACTION_ENQUEUED 
> notify, 
> or the value will be the right length of the session recv data in future vpp 
> version?
> 
> Thanks! 

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

View/Reply Online (#16993): https://lists.fd.io/g/vpp-dev/message/16993
Mute This Topic: https://lists.fd.io/mt/75545558/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