Re: [PATCH v3 iproute2-next] devlink: Add board.serial_number to info subcommand.

From
Jiri Pirko <jiri@resnulli.us>
Date
2020-08-03 11:22:07
Reply to
Vasundhara Volam, 2020-07-31
Fri, Jul 31, 2020 at 12:46:43PM CEST, vasundhara-v.volam@broadcom.com wrote:
Add support for reading board serial_number to devlink info
subcommand. Example:

$ devlink dev info pci/0000:af:00.0 -jp
{
   "info": {
       "pci/0000:af:00.0": {
           "driver": "bnxt_en",
           "serial_number": "00-10-18-FF-FE-AD-1A-00",
           "board.serial_number": "433551F+172300000",
           "versions": {
               "fixed": {
                   "board.id": "7339763 Rev 0.",
                   "asic.id": "16D7",
                   "asic.rev": "1"
               },
               "running": {
                   "fw": "216.1.216.0",
                   "fw.psid": "0.0.0",
                   "fw.mgmt": "216.1.192.0",
                   "fw.mgmt.api": "1.10.1",
                   "fw.ncsi": "0.0.0.0",
                   "fw.roce": "216.1.16.0"
               }
           }
       }
   }
}

Signed-off-by: Vasundhara Volam <redacted>
Looks fine.

Reviewed-by: Jiri Pirko <redacted>
Thread (3 messages) 3 messages, 3 authors, last reply 2020-08-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help