net/qede/base: fix to handle stag update event
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 8 Sep 2018 20:30:50 +0000 (13:30 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:01 +0000 (01:41 +0200)
commitcb71992793940ce5b642d843e07c934a11f3c13b
tree5972a908cdfae9281ad35929810e536b288d63ff
parent0962b51d3c494b30602897731ef9d598e29b4f3b
net/qede/base: fix to handle stag update event

This fix adds a ecore_mcp_update_stag() handler to handle the STAG update
events from management FW and program the STAG value.
It also clears the stag config on PF, when management FW invalidates
the stag value.

Fixes: ec94dbc57362 ("qede: add base driver")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/bcm_osal.h
drivers/net/qede/base/ecore_mcp.c
drivers/net/qede/base/ecore_mcp_api.h
drivers/net/qede/base/mcp_public.h
drivers/net/qede/base/reg_addr.h