]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bnxt_en: Add support for FEC bin histograms
authorMichael Chan <michael.chan@broadcom.com>
Thu, 8 Jan 2026 18:35:18 +0000 (10:35 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Jan 2026 23:19:50 +0000 (15:19 -0800)
commite1c9c8928b5b447dfd9e70cb2007567b0b72d487
treee04911cfc0b38361c4d3d759afb629436507e2cc
parentc470195b989fe7b9f92297e465c4e8a2363c0bb3
bnxt_en: Add support for FEC bin histograms

Fill in the struct ethtool_fec_hist passed to the bnxt_get_fec_stats()
callback if the FW supports the feature.  Bins 0 to 15 inclusive are
available when the feature is supported.

Reviewed-by: Hongguang Gao <hongguang.gao@broadcom.com>
Reviewed-by: Damodharam Ammepalli <damodharam.ammepalli@broadcom.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20260108183521.215610-4-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c