Project

General

Profile

Bug #9514

dladm man page documents fields which are not part of output

Added by Sachidananda Urs about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2018-04-30
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

dladm man page documents the following for option -H

dladm show-phys [-m | -H | -P] [[-p] -o field[,...]] [phys-link]

           Show the physical device and attributes of all physical links, or
           of the named physical link. Without -P, only physical links that
           are available on the running system are displayed.

           -H

               Show hardware resource usage, as returned by the NIC driver.
               Output from -H displays the following elements:

               LINK

                   A physical device corresponding to a NIC driver.

               GROUP

                   A collection of rings.

               GROUPTYPE

                   RX or TX. All rings in a group are of the same group type.

               RINGS

                   A hardware resource used by a data link, subject to
                   assignment by a driver to different groups.

               CLIENTS

                   MAC clients that are using the rings within a group.

However the actual output is:

root@oi:~# dladm show-phys -H -P
LINK         RINGTYPE RINGS                CLIENTS
e1000g0      RX       0                    <default,mcast>,vnic0,e1000g0,vn4,vn3,vn2,vn1,vn0

Either the man page is wrong or the dladm command output. If the man page is wrong, then GROUP and GROUPTYPE has to be removed.

Also available in: Atom PDF