Comment 9 for bug 1541544

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-02-08 09:34 EDT-------
> I would advice to list these also in the Device Drivers Book.
Part of my given information is already contained in the qeth chapter of the Device Drivers Book under "Finding out the type of a network adapter" and under "Setting the layer2 attribute".

> Is there a sysfs attribute to get a numeric type for these or does an implementation needs to parse the strings?
No, there is just the sysfs attribute "card_type" with its string-type output.

> AFAIK, the CP QUERY VSWITCH is a privileged command and, thus, an implementation should not rely on getting this information.
According to zVM documentation it should work here: "A class G user can view information about a virtual switch if the user is in the CP access list for the virtual switch, or if the user currently has an adapter connected to it."