Hi, I was going through the implementation of RED in dpdk. I wanted to clarify some doubts about the implementation. First, In RED Paper the Pmax used, how is this related to InvMaxp in dpdk, why inverse? Secondly, the minth and maxth are constant values in RED paper, but in the dpdk implementation, it's being left-shifted by wqlog2 + RED_SCALING. why? More, wq is also a constant in RED paper, but it's calculated using lookup tables in dpdk. What is the basic reason to do this? It will be very helpful if these doubts are cleared.
Thank you. Regards