net/ice/base: disable Tx pacing option
authorLeyi Rong <leyi.rong@intel.com>
Wed, 19 Jun 2019 15:18:07 +0000 (23:18 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:48 +0000 (20:31 +0200)
commit27df96b2846f6592b0efd7b374f5ac3af3c9276d
tree68c3f69e4a1b0424b687fb487ba007377baf2217
parent1ff81a72d4d98a085848525930941079a39c38b7
net/ice/base: disable Tx pacing option

With the current NVM, after GLOBR, before the first link up event, FW
will return to base driver, the pacing value of 20 percents for some
reason, in the get-link-status AQ command. We then use this value as
the pacing param for the set-mac-info AQ command. As result, we are
limited to 20 percents of the available bandwidth until the first
set-mac-info AQ call after the link up event.

Signed-off-by: Chinh T Cao <chinh.t.cao@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_common.c