/* SPDX-License-Identifier: GPL-2.0 * * Copyright (c) 2019 Facebook * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * Include file for Host Bandwidth Management (HBM) programs
*/ struct hbm_vqueue { struct bpf_spin_lock lock; /* 4 byte hole */ unsignedlonglong lasttime; /* In ns */ int credit; /* In bytes */ unsignedint rate; /* In bytes per NS << 20 */
};
struct hbm_queue_stats { unsignedlong rate; /* in Mbps*/ unsignedlong stats:1, /* get HBM stats (marked, dropped,..) */
loopback:1, /* also limit flows using loopback */
no_cn:1; /* do not use cn flags */ unsignedlonglong pkts_marked; unsignedlonglong bytes_marked; unsignedlonglong pkts_dropped; unsignedlonglong bytes_dropped; unsignedlonglong pkts_total; unsignedlonglong bytes_total; unsignedlonglong firstPacketTime; unsignedlonglong lastPacketTime; unsignedlonglong pkts_ecn_ce; unsignedlonglong returnValCount[4]; unsignedlonglong sum_cwnd; unsignedlonglong sum_rtt; unsignedlonglong sum_cwnd_cnt; longlong sum_credit;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.