summaryrefslogtreecommitdiffstats
path: root/net/Makefile
diff options
context:
space:
mode:
authorUsha Ketineni <usha.k.ketineni@intel.com>2019-11-06 02:05:31 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-11-08 12:02:46 -0800
commitc0a3665f71a2f086800abea4d9d14d28269089d6 (patch)
tree3adbb37620dab4bf330f50e47224eac4f9697727 /net/Makefile
parent5f8cc355c4134767aa586920458cc21e01295715 (diff)
downloadlinux-c0a3665f71a2f086800abea4d9d14d28269089d6.tar.bz2
ice: Fix to change Rx/Tx ring descriptor size via ethtool with DCBx
This patch fixes the call trace caused by the kernel when the Rx/Tx descriptor size change request is initiated via ethtool when DCB is configured. ice_set_ringparam() should use vsi->num_txq instead of vsi->alloc_txq as it represents the queues that are enabled in the driver when DCB is enabled/disabled. Otherwise, queue index being used can go out of range. For example, when vsi->alloc_txq has 104 queues and with 3 TCS enabled via DCB, each TC gets 34 queues, vsi->num_txq will be 102 and only 102 queues will be enabled. Signed-off-by: Usha Ketineni <usha.k.ketineni@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/Makefile')
0 files changed, 0 insertions, 0 deletions