[PATCH] net/bnxt: allow get stats when port is stopped
Thomas Monjalon
thomas at monjalon.net
Wed Mar 11 19:37:27 CET 2026
02/03/2026 20:51, Mohammad Shuab Siddique:
> From: Ajit Khaparde <ajit.khaparde at broadcom.com>
>
> Currently the driver returns an error if stats are requested
> when the port is stopped.
> But some applications may need to get the port stats even if
> the port is stopped.
> Allow the get stats command to show the existing stats
> if the port is stopped.
> When the port is started the driver will get the stats from
> the firmware.
>
> Cc: stable at dpdk.org
>
> Signed-off-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
> Signed-off-by: Mohammad Shuab Siddique <mohammad-shuab.siddique at broadcom.com>
Applied, thanks.
More information about the dev
mailing list