net/qede/base: retain dcbx config till actually applied
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 19 Sep 2017 01:51:39 +0000 (18:51 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000 (02:49 +0200)
commit36341ac6f3557c81d4044c3ccbb926901ce06007
tree0041bc7207c9e782e22605c3f979080171828f61
parent3af0c2a203e16d83ea86754efb70c030956ff85b
net/qede/base: retain dcbx config till actually applied

Retain user dcbx configurations till the config is applied to the adapter
i.e. till the negotiation completes. If base driver receives a config
update before negotiation completes, then base driver merges the new config
with the cached config and sends it to management FW.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dcbx.c
drivers/net/qede/base/ecore_mcp.c