Commit 3e957b3
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>1 parent 432bc23 commit 3e957b3
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6846 | 6846 | | |
6847 | 6847 | | |
6848 | 6848 | | |
| 6849 | + | |
6849 | 6850 | | |
6850 | 6851 | | |
6851 | 6852 | | |
6852 | 6853 | | |
| 6854 | + | |
6853 | 6855 | | |
6854 | 6856 | | |
6855 | 6857 | | |
| |||
6950 | 6952 | | |
6951 | 6953 | | |
6952 | 6954 | | |
| 6955 | + | |
6953 | 6956 | | |
6954 | 6957 | | |
6955 | 6958 | | |
| |||
0 commit comments