diff options
author | Grzegorz Szczurek <grzegorzx.szczurek@intel.com> | 2022-04-29 14:40:23 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-06-09 08:54:03 -0700 |
commit | 0bb050670ac90a167ecfa3f9590f92966c9a3677 (patch) | |
tree | 2a38953fb8dcaf9df50984823efcde394a8af18c /lib/raid6/mktables.c | |
parent | c3238d36c3a2be0a29a9d848d6c51e1b14be6692 (diff) |
i40e: Fix calculating the number of queue pairs
If ADQ is enabled for a VF, then actual number of queue pair
is a number of currently available traffic classes for this VF.
Without this change the configuration of the Rx/Tx queues
fails with error.
Fixes: d29e0d233e0d ("i40e: missing input validation on VF message handling by the PF")
Signed-off-by: Grzegorz Szczurek <grzegorzx.szczurek@intel.com>
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Tested-by: Bharathi Sreenivas <bharathi.sreenivas@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'lib/raid6/mktables.c')
0 files changed, 0 insertions, 0 deletions