OSDN Git Service

Revert "i40e: Fix reset bw limit when DCB enabled with 1 TC"
authorMateusz Palczewski <mateusz.palczewski@intel.com>
Wed, 23 Feb 2022 17:53:47 +0000 (09:53 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 24 Feb 2022 17:16:57 +0000 (09:16 -0800)
commitfe20371578ef640069e6ae9fa8038f60e7908565
tree58bfee1764fad7a8f111b050ac15c1a77d947dc0
parentd9b5ae5c1b241b91480aa30408be12fe91af834a
Revert "i40e: Fix reset bw limit when DCB enabled with 1 TC"

Revert of a patch that instead of fixing a AQ error when trying
to reset BW limit introduced several regressions related to
creation and managing TC. Currently there are errors when creating
a TC on both PF and VF.

Error log:
[17428.783095] i40e 0000:3b:00.1: AQ command Config VSI BW allocation per TC failed = 14
[17428.783107] i40e 0000:3b:00.1: Failed configuring TC map 0 for VSI 391
[17428.783254] i40e 0000:3b:00.1: AQ command Config VSI BW allocation per TC failed = 14
[17428.783259] i40e 0000:3b:00.1: Unable to  configure TC map 0 for VSI 391

This reverts commit 3d2504663c41104b4359a15f35670cfa82de1bbf.

Fixes: 3d2504663c41 (i40e: Fix reset bw limit when DCB enabled with 1 TC)
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://lore.kernel.org/r/20220223175347.1690692-1-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/i40e/i40e_main.c