numam-dpdk/drivers/net/bnxt
Ajit Khaparde 804e746c7b net/bnxt: add hardware resource manager init code
Start adding support to use the HWRM API.
Hardware Resource Manager or HWRM in short, is a set of API provided
by the firmware running in the ASIC to manage the various resources.

Initial commit just performs necessary HWRM queries for init, then
fails as before.

Now that struct bnxt is non-zero size, we can set dev_private_size
correctly.

The used HWRM calls so far:
bnxt_hwrm_func_qcaps:
	This command returns capabilities of a function.

bnxt_hwrm_ver_get:
	This function is called by a driver to determine the HWRM
	interface version supported by the HWRM firmware, the
	version of HWRM firmware implementation, the name of HWRM
	firmware, the versions of other embedded firmwares, and
	the names of other embedded firmwares, etc.  Gets the
	firmware version and interface specifications.  Returns
	an error if the firmware on the device is not supported
	by the driver and ensures the response space is large
	enough for the largest possible response.

bnxt_hwrm_queue_qportcfg:
	This function is called by a driver to query queue
	configuration of a port.

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Stephen Hurd <stephen.hurd@broadcom.com>
Reviewed-by: David Christensen <david.christensen@broadcom.com>
2016-06-20 17:21:51 +02:00
..
bnxt_ethdev.c net/bnxt: add hardware resource manager init code 2016-06-20 17:21:51 +02:00
bnxt_hwrm.c net/bnxt: add hardware resource manager init code 2016-06-20 17:21:51 +02:00
bnxt_hwrm.h net/bnxt: add hardware resource manager init code 2016-06-20 17:21:51 +02:00
bnxt.h net/bnxt: add hardware resource manager init code 2016-06-20 17:21:51 +02:00
hsi_struct_def_dpdk.h net/bnxt: add hardware resource manager init code 2016-06-20 17:21:51 +02:00
Makefile net/bnxt: add hardware resource manager init code 2016-06-20 17:21:51 +02:00
rte_pmd_bnxt_version.map net/bnxt: add driver for Broadcom NetXtreme-C devices 2016-06-20 17:21:51 +02:00