net/ice/base: refactor flow control function
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 30 Mar 2020 11:45:27 +0000 (19:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commita0793f6ddf17e8ec75d19917594237e80450f6c7
treeee6c60d596fa64fd1a737cedea7e4d0f4988ca10
parent25a6a176b4c707be44877c01f8958e8c89f08088
net/ice/base: refactor flow control function

We will remove the logic of configuring the flow control out of the
ice_set_fc(...) function. The goal is to enable any driver to combine
all PHY related flow logic, without repeatedly call ice_aq_set_phy_cfg.

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: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_common.c