simple fix of spacing
This commit is contained in:
@@ -525,22 +525,22 @@ void NetworkNic::schedule_port_if_needed(PortId port) noexcept {
|
|||||||
|
|
||||||
bool NetworkNic::pick_next_qclass(const PortQueues& pq,
|
bool NetworkNic::pick_next_qclass(const PortQueues& pq,
|
||||||
QClass& out_cls) const noexcept {
|
QClass& out_cls) const noexcept {
|
||||||
if (!pq.control.empty() && pq.b_control > Bytes(0)) {
|
if (!pq.control.empty() && pq.b_control > Bytes(0)) {
|
||||||
out_cls = QClass::CONTROL;
|
out_cls = QClass::CONTROL;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pq.retrans.empty() && pq.b_retrans > Bytes(0)) {
|
if (!pq.retrans.empty() && pq.b_retrans > Bytes(0)) {
|
||||||
out_cls = QClass::RETRANS;
|
out_cls = QClass::RETRANS;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pq.mice.empty() && pq.b_mice > Bytes(0)) {
|
if (!pq.mice.empty() && pq.b_mice > Bytes(0)) {
|
||||||
out_cls = QClass::MICE;
|
out_cls = QClass::MICE;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pq.elephant.empty() && pq.b_elephant > Bytes(0)) {
|
if (!pq.elephant.empty() && pq.b_elephant > Bytes(0)) {
|
||||||
out_cls = QClass::ELEPHANT;
|
out_cls = QClass::ELEPHANT;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user