linux/drivers/net/ethernet/intel/ice
Usha Ketineni c0a3665f71 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>
2019-11-08 12:02:46 -08:00
..
ice.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_adminq_cmd.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_base.c ice: introduce frame padding computation logic 2019-11-04 13:09:50 -08:00
ice_base.h ice: get rid of per-tc flow in Tx queue configuration routines 2019-11-04 10:03:14 -08:00
ice_common.c ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_common.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_controlq.c ice: separate out control queue lock creation 2019-07-31 10:23:04 -07:00
ice_controlq.h ice: Trivial cosmetic changes 2019-05-30 10:57:55 -07:00
ice_dcb.c ice: Adjust DCB INIT for SW mode 2019-11-06 16:41:45 -08:00
ice_dcb.h ice: Allow for delayed LLDP MIB change registration 2019-09-05 08:13:41 -07:00
ice_dcb_lib.c ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_dcb_lib.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_dcb_nl.c ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_dcb_nl.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_devids.h
ice_ethtool.c ice: Fix to change Rx/Tx ring descriptor size via ethtool with DCBx 2019-11-08 12:02:46 -08:00
ice_flex_pipe.c ice: Enable DDP package download 2019-09-12 11:37:38 -07:00
ice_flex_pipe.h ice: Enable DDP package download 2019-09-12 11:37:38 -07:00
ice_flex_type.h ice: Initialize DDP package structures 2019-09-12 11:28:40 -07:00
ice_hw_autogen.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_lan_tx_rx.h ice: update Tx context struct 2019-09-05 08:13:41 -07:00
ice_lib.c ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_lib.h ice: Use ice_ena_vsi and ice_dis_vsi in DCB configuration flow 2019-11-08 11:58:49 -08:00
ice_main.c ice: avoid setting features during reset 2019-11-08 12:02:43 -08:00
ice_nvm.c ice: Update Boot Configuration Section read of NVM 2019-11-06 16:41:45 -08:00
ice_nvm.h ice: Update Boot Configuration Section read of NVM 2019-11-06 16:41:45 -08:00
ice_osdep.h
ice_sched.c ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_sched.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_sriov.c
ice_sriov.h
ice_status.h
ice_switch.c ice: Fix resource leak in ice_remove_rule_internal() 2019-09-03 16:08:54 -07:00
ice_switch.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_txrx.c ice: Get rid of ice_cleanup_header 2019-11-06 16:41:45 -08:00
ice_txrx.h ice: introduce frame padding computation logic 2019-11-04 13:09:50 -08:00
ice_txrx_lib.c ice: Move common functions to ice_txrx_lib.c 2019-11-04 11:45:05 -08:00
ice_txrx_lib.h ice: Move common functions to ice_txrx_lib.c 2019-11-04 11:45:05 -08:00
ice_type.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_virtchnl_pf.c ice: Fix return value when SR-IOV is not supported 2019-11-06 16:41:45 -08:00
ice_virtchnl_pf.h ice: add support for virtchnl_queue_select.[tx|rx]_queues bitmap 2019-08-26 23:37:16 -07:00
ice_xsk.c ice: Add support for AF_XDP 2019-11-04 12:01:55 -08:00
ice_xsk.h ice: Add support for AF_XDP 2019-11-04 12:01:55 -08:00
Makefile ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00