net/bnxt: update HWRM defines
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 9 Jun 2017 04:24:47 +0000 (23:24 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:29 +0000 (10:41 +0100)
Some HWRM defines are missing from hsi_struct_def_dpdk.h
This patch adds them.

Also remove duplicate HWRM_RING_GRP_ALLOC entry.

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/hsi_struct_def_dpdk.h

index 17a912f..e082d33 100644 (file)
 #define HWRM_VNIC_RSS_QCFG             (UINT32_C(0x47))
 #define HWRM_VNIC_PLCMODES_CFG         (UINT32_C(0x48))
 #define HWRM_VNIC_PLCMODES_QCFG                (UINT32_C(0x49))
+#define HWRM_VNIC_QCAPS                        (UINT32_C(0x4a))
 #define HWRM_RING_ALLOC                        (UINT32_C(0x50))
 #define HWRM_RING_FREE                 (UINT32_C(0x51))
-#define HWRM_RING_CMPL_RING_CFG_AGGINT_PARAM   (UINT32_C(0x53))
+#define HWRM_RING_CMPL_RING_QAGGINT_PARAMS     (UINT32_C(0x52))
+#define HWRM_RING_CMPL_RING_CFG_AGGINT_PARAMS  (UINT32_C(0x53))
 #define HWRM_RING_RESET                        (UINT32_C(0x5e))
 #define HWRM_RING_GRP_ALLOC            (UINT32_C(0x60))
-#define HWRM_RING_GRP_ALLOC            (UINT32_C(0x60))
 #define HWRM_RING_GRP_FREE             (UINT32_C(0x61))
 #define HWRM_VNIC_RSS_COS_LB_CTX_ALLOC (UINT32_C(0x70))
 #define HWRM_VNIC_RSS_COS_LB_CTX_FREE  (UINT32_C(0x71))
 #define HWRM_STAT_CTX_FREE             (UINT32_C(0xb1))
 #define HWRM_STAT_CTX_QUERY            (UINT32_C(0xb2))
 #define HWRM_STAT_CTX_CLR_STATS                (UINT32_C(0xb3))
+#define HWRM_FW_RESET                  (UINT32_C(0xc0))
+#define HWRM_FW_QSTATUS                        (UINT32_C(0xc1))
 #define HWRM_EXEC_FWD_RESP             (UINT32_C(0xd0))
 #define HWRM_REJECT_FWD_RESP           (UINT32_C(0xd1))
 #define HWRM_FWD_RESP                  (UINT32_C(0xd2))