All of lore.kernel.org
 help / color / mirror / Atom feed
* Implement Ethernet Interface Properties
@ 2021-12-01  9:58 Spencer Ku (古世瑜)
  2021-12-01 18:24 ` Ed Tanous
  2021-12-01 22:49 ` Patrick Williams
  0 siblings, 2 replies; 10+ messages in thread
From: Spencer Ku (古世瑜) @ 2021-12-01  9:58 UTC (permalink / raw)
  To: openbmc
  Cc: Litzung Chen (陳利琮),
	Fran Hsu (徐誌謙),
	Nan Zhou

[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]

Hi All,



We want to implement two network Ethernet interface properties “Bandwidth” and “Drop package rate”, and expose the information via Redfish. The goal is that clients can talk to bmc via Redfish and get those two information. It will improve the debuggability of BMCs.



About the implement method, we divide the work into two parts: phosphor-network(or other suitable service) part, and bmcweb part.

For phosphor-network part, we propose to use existing tool like ipert to get the Ethernet BW/Drop package rate. Or the other method is that read TX/RX from ethernet driver (/sys/class/net/{Ethernet_Name}), then calculate the BW/Drop package rate. After that, we will need to register the D-Bus interface and sync the property info to that D-Bus.



For bmcweb part, as I know so far, there has no suitable field under the EthernetInterface <https://redfish.dmtf.org/schemas/v1/EthernetInterface.v1_7_0.json> to set BW/Drop package rate. The idea is that read the value from D-bus then set the properties under the EthernetInterface OEM field. Please let me know if I have missed anything.



We are willing to see any suggestions and alternatives as well. Thanks!



Sincerely,

Spencer Ku

[-- Attachment #2: Type: text/html, Size: 4400 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-01-25  8:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01  9:58 Implement Ethernet Interface Properties Spencer Ku (古世瑜)
2021-12-01 18:24 ` Ed Tanous
2021-12-02  8:45   ` Spencer Ku (古世瑜)
2022-01-20  8:42     ` Spencer Ku (古世瑜)
2022-01-20  9:07       ` i.kononenko
2022-01-24  2:22         ` Spencer Ku (古世瑜)
2022-01-24 20:37       ` Ed Tanous
2022-01-25  8:00         ` Spencer Ku (古世瑜)
2021-12-01 22:49 ` Patrick Williams
2021-12-02  9:22   ` Spencer Ku (古世瑜)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.