public/io/netif.h: document a mechanism to advertise carrier state
authorPaul Durrant <pdurrant@amazon.com>
Fri, 13 Dec 2019 16:39:44 +0000 (16:39 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 13 Dec 2019 16:43:00 +0000 (16:43 +0000)
commitd25482b2f6382e8518657181198aa2201e52c326
tree87262296fc3e853478daf4896437a72090d2f2e1
parent9239a90ecd4789e73dcb2b67e07db4cfec580a9e
public/io/netif.h: document a mechanism to advertise carrier state

This patch adds a specification for a 'carrier' node in xenstore to allow
a backend to notify a frontend of it's virtual carrier/link state. E.g.
a backend that is unable to forward packets from the guest because it is
not attached to a bridge may wish to advertise 'no carrier'.

While in the area also fix an erroneous backend path description.

NOTE: This is purely a documentation patch. No functional change.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
xen/include/public/io/netif.h