net/fm10k/base: enable lport map request
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 8 Mar 2017 06:18:59 +0000 (01:18 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:52 +0000 (15:52 +0200)
commit60028b4bdfd578b72de09f8f885043554530c7cc
tree017b577fcb2b4dbf3aa2787b72ea9246f61da90c
parenta5db0e800465ba192cddff3bd1bd7646290ee68d
net/fm10k/base: enable lport map request

If the fm10k interface is brought up, but the switch manager software is
not running, the driver will continuously request the lport map every
few seconds in the base driver watchdog routine. Eventually after
several minutes the switch mailbox Tx fifo will fill up and the mailbox
will timeout, resulting in a reset. This reset will appear as if for no
reason, and occurs regularly every few minutes until the switch manager
software is loaded.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/fm10k/base/fm10k_common.c
drivers/net/fm10k/base/fm10k_pf.c
drivers/net/fm10k/base/fm10k_type.h