summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2025-09-17 02:58:09 -0700
committerJakub Kicinski <kuba@kernel.org>2025-09-18 07:07:37 -0700
commit06fad5a4aeb2622b7aeefd6ad60b6cf76c0b7c5b (patch)
treed5eb3aaa11ad34437690c5c643fa639dc83c777c /rust/helpers/build_bug.c
parent3efaede2e13b0c0372500a6acdfc5c31268a3ed4 (diff)
net: ethtool: add support for ETHTOOL_GRXRINGS ioctl
This patch adds handling for the ETHTOOL_GRXRINGS ioctl command in the ethtool ioctl dispatcher. It introduces a new helper function ethtool_get_rxrings() that calls the driver's get_rxnfc() callback with appropriate parameters to retrieve the number of RX rings supported by the device. By explicitly handling ETHTOOL_GRXRINGS, userspace queries through ethtool can now obtain RX ring information in a structured manner. In this patch, ethtool_get_rxrings() is a simply copy of ethtool_get_rxnfc(). Signed-off-by: Breno Leitao <leitao@debian.org> Link: https://patch.msgid.link/20250917-gxrings-v4-2-dae520e2e1cb@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions