net/i40e/base: add FC threshold parameter for set MAC
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 25 Sep 2018 02:34:37 +0000 (10:34 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:48 +0000 (18:53 +0200)
commit1360f4862fcb02b33daeadf6cf9789b9eb0e8ef8
treee93712698823e879040a7166c1877cabde37558a
parent131b086c5bc8c0ce1f7fec73c13e83a08f356fdd
net/i40e/base: add FC threshold parameter for set MAC

This patch adds the default value for Flow Control Refresh Threshold
to set_mac_config AdminQ command. Previously, calling this AdminQ
command would overwrite the default value with 0.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/base/i40e_common.c