summaryrefslogtreecommitdiff
path: root/epoll2.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-09-09 12:40:14 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-09-09 12:40:14 +0200
commitdefd121efe1c394fe002ce9b0f36a2422a054af7 (patch)
treec448f569c3dcf303f5943bfe6a973ff6da615b5e /epoll2.h
parent382b08547cc61faf10d94cffef890ce0dc85609c (diff)
ifpps: correct calculation of line rate percentage
The line rate is given in Mbit rather than MiB (in which {rx,tx}_bytes were converted). Correct the calculation by converting {rx,tx}_bytes to Mbit: (n bytes * 8 bits per byte) / 1000^2 = (n bytes) / 125000 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'epoll2.h')
0 files changed, 0 insertions, 0 deletions