Skip to content

Commit

Permalink
netkvm: minor fixes in netkvm-wmi.cmd
Browse files Browse the repository at this point in the history
Better output formatting, removed obsolete command.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
  • Loading branch information
ybendito authored and YanVugenfirer committed Dec 18, 2023
1 parent 93015d2 commit d68cf27
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions NetKVM/DebugTools/WMI/netkvm-wmi.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ call :dowmic netkvm_logging set level=%2
goto :eof

:stat
call :dowmic netkvm_statistics get
call :dowmic netkvm_statistics get /value
goto :eof

:reset
call :dowmic netkvm_statistics set rxChecksumOK=0
goto :eof

:rss
call :dowmic NetKvm_RssDiagnostics get
call :dowmic NetKvm_RssDiagnostics get /value
goto :eof

:rss_set
Expand All @@ -33,11 +33,6 @@ goto :eof
call :dowmic NetKvm_Standby get /value
goto :eof

:failover_end
call :dowmic NetKvm_Standby set value=0
goto :eof


:dowmic
wmic /namespace:\\root\wmi path %*
goto :eof
Expand All @@ -51,6 +46,5 @@ echo reset Resets internal statistics
echo rss Query RSS statistics
echo rss 0/1 Disable/enable RSS device support
echo qfo Query failover setting
echo efo End failover command (do not use)
goto :eof

0 comments on commit d68cf27

Please sign in to comment.