Thread (18 messages) 18 messages, 5 authors, 2018-10-08

Re: [PATCH 1/9] PCI: sysfs: Export available PCIe bandwidth

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2018-09-05 07:26:19
Also in: intel-wired-lan, linux-pci, linux-rdma, lkml

On Mon,  3 Sep 2018 13:02:28 -0500
Alexandru Gagniuc [off-list ref] wrote:
For certain bandwidth-critical devices (e.g. multi-port network cards)
it is useful to know the available bandwidth to the root complex. This
information is only available via the system log, which doesn't
account for link degradation after probing.

With a sysfs attribute, we can computes the bandwidth on-demand, and
will detect degraded links.

Signed-off-by: Alexandru Gagniuc <redacted>
In other places (like /sys/class/net/eth0/speed) only the raw value is printed
without suffix.  The general convention in sysfs is that it should be one value
per file and in more raw format.  So why not just print it in bits/sec without
suffix?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help