aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2023-08-17 16:19:09 -0700
committerJakub Kicinski <kuba@kernel.org>2023-08-18 19:13:58 -0700
commit4c70dbe3c0087b439b9e5015057e3e378cf5d8b1 (patch)
tree4ebac918c4b3a7b00bc3aa7b6eee47c1d669bd7a /net/ipv4/tcp_output.c
parentd38c19b13b1087890973ac24ae2798797b8a411b (diff)
downloadlinux-4c70dbe3c0087b439b9e5015057e3e378cf5d8b1.tar.gz
linux-4c70dbe3c0087b439b9e5015057e3e378cf5d8b1.tar.bz2
linux-4c70dbe3c0087b439b9e5015057e3e378cf5d8b1.zip
bnxt_en: Save ring error counters across reset
Currently, the ring counters are stored in the per ring datastructure. During reset, all the rings are freed together with the associated datastructures. As a result, all the ring error counters will be reset to zero. Add logic to keep track of the total error counts of all the rings and save them before reset (including ifdown). The next patch will display these total ring error counters under ethtool -S. Link: https://lore.kernel.org/netdev/CACKFLimD-bKmJ1tGZOLYRjWzEwxkri-Mw7iFme1x2Dr0twdCeg@mail.gmail.com/ Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Link: https://lore.kernel.org/r/20230817231911.165035-5-michael.chan@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions