swift update fcwnd calculation

This commit is contained in:
cyp0633 2024-04-07 10:12:14 +08:00
parent 69b7b5c4c2
commit f7b62f2725
Signed by: cyp0633
GPG Key ID: CF90D09FB1FDCE45
1 changed files with 1 additions and 1 deletions

View File

@ -2061,7 +2061,7 @@ RdmaHw::HandleAckSwift(Ptr<RdmaQueuePair> qp, Ptr<Packet> p, CustomHeader& ch)
uint64_t
RdmaHw::TargetFabDelaySwift(Ptr<RdmaQueuePair> qp, Ptr<Packet> p, CustomHeader& ch) const
{
double fcwnd = 0.0;
double fcwnd = qp->m_win;
auto num_hops = ch.ack.ih.swift.nhop;
auto alpha =
swift_fs_range / (std::pow(swift_fs_min_cwnd, -0.5) - std::pow(swift_fs_max_cwnd, -0.5));