i40e: Fix log TC creation failure when max num of queues is exceeded
authorJedrzej Jagielski <jedrzej.jagielski@intel.com>
Fri, 18 Jun 2021 08:49:49 +0000 (08:49 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 23 Jul 2021 14:44:48 +0000 (07:44 -0700)
commitea52faae1d17cd3048681d86d2e8641f44de484d
tree8736043c6dd5efe6fd2cdf15aa12597bae903ab3
parent89ec1f0886c127c7e41ac61a6b6d539f4fb2510b
i40e: Fix log TC creation failure when max num of queues is exceeded

Fix missing failed message if driver does not have enough queues to
complete TC command. Without this fix no message is displayed in dmesg.

Fixes: a9ce82f744dc ("i40e: Enable 'channel' mode in mqprio for TC configs")
Signed-off-by: Grzegorz Szczurek <grzegorzx.szczurek@intel.com>
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Tested-by: Imam Hassan Reza Biswas <imam.hassan.reza.biswas@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c