summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon
diff options
context:
space:
mode:
authorAdam Ludkiewicz <adam.ludkiewicz@intel.com>2019-02-06 15:08:15 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-04-16 15:09:29 -0700
commit3e957b377bf4262aec2dd424f28ece94e36814d4 (patch)
treed37e370e70ce37a2c1c369b75d52d5c33a52d08e /drivers/net/ethernet/hisilicon
parent432bc230700f86801cffa5e159e05dea6229f722 (diff)
i40e: Queues are reserved despite "Invalid argument" error
Added a new local variable in the i40e_setup_tc function named old_queue_pairs so num_queue_pairs can be restored to the correct value in case configuring queue channels fails. Additionally, moved the exit label in the i40e_setup_tc function so the if (need_reset) block can be executed. Also, fixed data packing in the i40e_setup_tc function. Signed-off-by: Adam Ludkiewicz <adam.ludkiewicz@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/hisilicon')
0 files changed, 0 insertions, 0 deletions