]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix for Tx timeouts when interface is brought up if DCB is enabled
authorMartyna Szapar <martyna.szapar@intel.com>
Wed, 8 Aug 2018 00:11:23 +0000 (17:11 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 24 Aug 2018 15:52:35 +0000 (08:52 -0700)
commit9c0c1ae121c4958ddaa1153049d47cd5c1e911aa
treebba9bb360e6319b6d1ad25449460b6544c4f243a
parentbcbfda5aef2bc8b4c7d8d21f7d999328fb3471f5
i40e: Fix for Tx timeouts when interface is brought up if DCB is enabled

If interface is connected to switch port configured for DCB there are
TX timeouts when bringing up interface. Problem started appearing after
adding in i40e driver code mqprio hardware offload mode. In function
i40e_vsi_configure_bw_alloc was added resetting BW rate which should
be executing when mqprio qdisc is removed but was also when there was
no mqprio qdisc added and DCB was enabled. In this patch was added
additional check for DCB flag so now when DCB is enabled the correct
DCB configs from before mqprio patch are restored.

Signed-off-by: Martyna Szapar <martyna.szapar@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c