Skip to content

Commit 2ea3bc5

Browse files
committed
net: ethtool: populate the default HDS params in the core (bnxt)
JIRA: https://issues.redhat.com/browse/RHEL-106550 Conflicts: Partial backport. The core parts were already backported as a part of the ethtool core update, commit 0c943a2. commit 928459b Author: Jakub Kicinski <kuba@kernel.org> Date: Sat Jan 18 18:05:15 2025 -0800 net: ethtool: populate the default HDS params in the core The core has the current HDS config, it can pre-populate the values for the drivers. While at it, remove the zero-setting in netdevsim. Zero are the default values since the config is zalloc'ed. Reviewed-by: Michael Chan <michael.chan@broadcom.com> Link: https://patch.msgid.link/20250119020518.1962249-6-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
1 parent 6700abc commit 2ea3bc5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,6 @@ static void bnxt_get_ringparam(struct net_device *dev,
836836
ering->rx_jumbo_pending = bp->rx_agg_ring_size;
837837
ering->tx_pending = bp->tx_ring_size;
838838

839-
kernel_ering->hds_thresh = dev->cfg->hds_thresh;
840839
kernel_ering->hds_thresh_max = BNXT_HDS_THRESHOLD_MAX;
841840
}
842841

0 commit comments

Comments
 (0)