diff options
| author | Jiawen Wu <jiawenwu@trustnetic.com> | 2026-05-25 13:05:42 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-05-28 12:51:51 +0300 |
| commit | 58ac2f8eb050be93484f154d40f17511cd87164c (patch) | |
| tree | d9652e0ea71d77716da1a731ba2e25319875f6c5 /include | |
| parent | 7116ffb48ad0af7a6d066c3e80329270920858fe (diff) | |
| download | linux-58ac2f8eb050be93484f154d40f17511cd87164c.tar.xz | |
net: wangxun: avoid statistics updates during device teardown
After introducing WX_STATE_DOWN, wx_update_stats() now explicitly skips
statistics collection while the device is in teardown or reset state.
Calling wx_update_stats() from the device disable path therefore becomes
redundant.
Remove wx_update_stats() calls from ngbe_disable_device() and
txgbe_disable_device().
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/20260525100543.27140-3-jiawenwu@trustnetic.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
