File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ Release History:
4646 - ` smc_rnics ` :
4747 - List unknown devices with option ` -a `
4848 - Include software-set PNET IDs
49+ - ` smc_chk ` : Indicate PNET IDs set by ` smc_pnet ` .
4950
5051 Bug fixes:
5152 - ` smc_rnics ` : Display correct PNET ID for unknown Mellanox cards
Original file line number Diff line number Diff line change @@ -273,6 +273,9 @@ function set_pnetid() {
273273 # Check for a software-defined PNET ID
274274 debug " No luck so far - try the SW PNET table" ;
275275 pnetid=" ` smc_pnet | awk -v id=" $1 " ' $2 == id {print($1)}' ` " ;
276+ if [ " $pnetid " != " " ]; then
277+ pnetid=" $pnetid *" ;
278+ fi
276279 debug " PNET ID is '$pnetid '" ;
277280}
278281
Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ usage information.
6161.BI " \- i, \-\- pnetid " INTERFACE
6262Print the PNET ID of interface
6363.I INTERFACE
64- and exit.
64+ and exit. An appended asterisk * indicates that the PNET ID was defined via
65+ .BR smc_pnet .
6566.TP
6667.BI " \- p, \-\- port " PORT
6768Use port
You can’t perform that action at this time.
0 commit comments