qede: add base driver
authorRasesh Mody <rasesh.mody@qlogic.com>
Wed, 27 Apr 2016 14:18:36 +0000 (07:18 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 6 May 2016 13:51:22 +0000 (15:51 +0200)
commitec94dbc573625119a9ef101a07cd3773c32d8d96
tree4e9abc99af02653e49101e93ed57fcbcc0954737
parent1554106b22271ca3028680626b16f84779dff7b3
qede: add base driver

The base driver is the backend module for the QLogic FastLinQ QL4xxxx
25G/40G CNA family of adapters as well as their virtual functions (VF)
in SR-IOV context.

The purpose of the base module is to:
 - provide all the common code that will be shared between the various
   drivers that would be used with said line of products. Flows such as
   chip initialization and de-initialization fall under this category.
 - abstract the protocol-specific HW & FW components, allowing the
   protocol drivers to have clean APIs, which are detached in its
   slowpath configuration from the actual Hardware Software Interface(HSI).

This patch adds a base module without any protocol-specific bits.
I.e., this adds a basic implementation that almost entirely falls under
the first category.

Signed-off-by: Harish Patil <harish.patil@qlogic.com>
Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
46 files changed:
MAINTAINERS
drivers/net/qede/LICENSE.qede_pmd [new file with mode: 0644]
drivers/net/qede/Makefile [new file with mode: 0644]
drivers/net/qede/base/bcm_osal.c [new file with mode: 0644]
drivers/net/qede/base/bcm_osal.h [new file with mode: 0644]
drivers/net/qede/base/common_hsi.h [new file with mode: 0644]
drivers/net/qede/base/ecore.h [new file with mode: 0644]
drivers/net/qede/base/ecore_chain.h [new file with mode: 0644]
drivers/net/qede/base/ecore_cxt.c [new file with mode: 0644]
drivers/net/qede/base/ecore_cxt.h [new file with mode: 0644]
drivers/net/qede/base/ecore_cxt_api.h [new file with mode: 0644]
drivers/net/qede/base/ecore_dev.c [new file with mode: 0644]
drivers/net/qede/base/ecore_dev_api.h [new file with mode: 0644]
drivers/net/qede/base/ecore_gtt_reg_addr.h [new file with mode: 0644]
drivers/net/qede/base/ecore_gtt_values.h [new file with mode: 0644]
drivers/net/qede/base/ecore_hsi_common.h [new file with mode: 0644]
drivers/net/qede/base/ecore_hsi_eth.h [new file with mode: 0644]
drivers/net/qede/base/ecore_hsi_tools.h [new file with mode: 0644]
drivers/net/qede/base/ecore_hw.c [new file with mode: 0644]
drivers/net/qede/base/ecore_hw.h [new file with mode: 0644]
drivers/net/qede/base/ecore_hw_defs.h [new file with mode: 0644]
drivers/net/qede/base/ecore_init_fw_funcs.c [new file with mode: 0644]
drivers/net/qede/base/ecore_init_fw_funcs.h [new file with mode: 0644]
drivers/net/qede/base/ecore_init_ops.c [new file with mode: 0644]
drivers/net/qede/base/ecore_init_ops.h [new file with mode: 0644]
drivers/net/qede/base/ecore_int.c [new file with mode: 0644]
drivers/net/qede/base/ecore_int.h [new file with mode: 0644]
drivers/net/qede/base/ecore_int_api.h [new file with mode: 0644]
drivers/net/qede/base/ecore_iro.h [new file with mode: 0644]
drivers/net/qede/base/ecore_iro_values.h [new file with mode: 0644]
drivers/net/qede/base/ecore_mcp.c [new file with mode: 0644]
drivers/net/qede/base/ecore_mcp.h [new file with mode: 0644]
drivers/net/qede/base/ecore_mcp_api.h [new file with mode: 0644]
drivers/net/qede/base/ecore_proto_if.h [new file with mode: 0644]
drivers/net/qede/base/ecore_rt_defs.h [new file with mode: 0644]
drivers/net/qede/base/ecore_sp_api.h [new file with mode: 0644]
drivers/net/qede/base/ecore_sp_commands.c [new file with mode: 0644]
drivers/net/qede/base/ecore_sp_commands.h [new file with mode: 0644]
drivers/net/qede/base/ecore_spq.c [new file with mode: 0644]
drivers/net/qede/base/ecore_spq.h [new file with mode: 0644]
drivers/net/qede/base/ecore_status.h [new file with mode: 0644]
drivers/net/qede/base/ecore_utils.h [new file with mode: 0644]
drivers/net/qede/base/eth_common.h [new file with mode: 0644]
drivers/net/qede/base/mcp_public.h [new file with mode: 0644]
drivers/net/qede/base/nvm_cfg.h [new file with mode: 0644]
drivers/net/qede/base/reg_addr.h [new file with mode: 0644]