]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eth: fbnic: Fix debugfs output for BDQ's with page frags
authorDimitri Daskalakis <daskald@meta.com>
Tue, 24 Mar 2026 19:51:23 +0000 (12:51 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Mar 2026 03:30:23 +0000 (20:30 -0700)
commitf3567dd428b264b3f06f881e5e85a738c7c910df
treec46b66d5a070e7f181d0d1611839c73b9dc541bb
parentb38c55320bf85a84a4f04803c57b261fc87e9b4b
eth: fbnic: Fix debugfs output for BDQ's with page frags

The rings size_mask represents the number of pages, so we need to
determine the number of page frags when dumping the descriptors.

Fixes: df04373b0dab ("eth fbnic: Add debugfs hooks for tx/rx rings")
Signed-off-by: Dimitri Daskalakis <daskald@meta.com>
Link: https://patch.msgid.link/20260324195123.3486219-3-dimitri.daskalakis1@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/meta/fbnic/fbnic_debugfs.c