]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Remove enable DCB when SW LLDP is activated
authorMichal Swiatkowski <michal.swiatkowski@intel.com>
Thu, 8 Aug 2019 14:39:29 +0000 (07:39 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 4 Sep 2019 00:14:37 +0000 (17:14 -0700)
commit6916a19af403ac396f853e99ef0f210b520e2c71
tree9280c3cf1b0e17553454a5db26c12acd3b04a2cb
parent1f23ab983e6cb2cfd5317f4e7deb764d5787094e
ice: Remove enable DCB when SW LLDP is activated

Remove code that enables DCB in initialization when SW LLDP is
activated. DCB flag is set or reset before in ice_init_pf_dcb
based on number of TCs. So there is not need to overwrite it.

Setting DCB without checking number of TCs can cause communication
problems with other cards. Host card sends packet with VLAN priority
tag, but client card doesn't strip this tag and ping doesn't work.

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_dcb_lib.c