net/qede/base: add SmartAN support
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 19 Sep 2017 01:29:52 +0000 (18:29 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000 (02:49 +0200)
commit652ee28ab02d7e97f1a181d18dcb8f1119f3fd9f
tree8b180647bc1c15783fb953f91a57bbb18e8becc0
parent5f88553bcda622b270ddf29230883e090f8512bc
net/qede/base: add SmartAN support

Add SmartAN feature that automatically detects peer switch capabilities
which relieves users from fumbling with adapter and switch configuration
Add new cmd DRV_MSG_CODE_GET_MFW_FEATURE_SUPPORT. Add new SmartLinQ config
method using NVM cfg options 239.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dev.c
drivers/net/qede/base/ecore_mcp.c
drivers/net/qede/base/ecore_mcp.h
drivers/net/qede/base/ecore_mcp_api.h
drivers/net/qede/base/mcp_public.h
drivers/net/qede/base/nvm_cfg.h
drivers/net/qede/qede_if.h
drivers/net/qede/qede_main.c