net/bnxt: update to HWRM version 1.7.7
[dpdk.git] / drivers / net / bnxt / bnxt_ring.c
index 0fafa13..52fbd89 100644 (file)
@@ -219,8 +219,8 @@ int bnxt_alloc_hwrm_rings(struct bnxt *bp)
                struct bnxt_ring *cp_ring = cpr->cp_ring_struct;
 
                rc = bnxt_hwrm_ring_alloc(bp, cp_ring,
-                                         HWRM_RING_ALLOC_INPUT_RING_TYPE_CMPL,
-                                         0, HWRM_NA_SIGNATURE);
+                                       HWRM_RING_ALLOC_INPUT_RING_TYPE_L2_CMPL,
+                                       0, HWRM_NA_SIGNATURE);
                if (rc)
                        goto err_out;
                cpr->cp_doorbell = pci_dev->mem_resource[2].addr;
@@ -238,7 +238,7 @@ int bnxt_alloc_hwrm_rings(struct bnxt *bp)
 
                /* Rx cmpl */
                rc = bnxt_hwrm_ring_alloc(bp, cp_ring,
-                                       HWRM_RING_ALLOC_INPUT_RING_TYPE_CMPL,
+                                       HWRM_RING_ALLOC_INPUT_RING_TYPE_L2_CMPL,
                                        idx, HWRM_NA_SIGNATURE);
                if (rc)
                        goto err_out;
@@ -276,7 +276,7 @@ int bnxt_alloc_hwrm_rings(struct bnxt *bp)
 
                /* Tx cmpl */
                rc = bnxt_hwrm_ring_alloc(bp, cp_ring,
-                                       HWRM_RING_ALLOC_INPUT_RING_TYPE_CMPL,
+                                       HWRM_RING_ALLOC_INPUT_RING_TYPE_L2_CMPL,
                                        idx, HWRM_NA_SIGNATURE);
                if (rc)
                        goto err_out;