net/bonding: fix slave add for mode 4
[dpdk.git] / drivers / net / bnxt / bnxt_ring.h
index 6c86259..1446d78 100644 (file)
@@ -28,6 +28,7 @@
 
 #define BNXT_TPA_MAX           64
 #define AGG_RING_SIZE_FACTOR   2
+#define AGG_RING_MULTIPLIER    2
 
 /* These assume 4k pages */
 #define MAX_RX_DESC_CNT (8 * 1024)
@@ -69,6 +70,7 @@ int bnxt_alloc_rings(struct bnxt *bp, uint16_t qidx,
                            struct bnxt_rx_queue *rxq,
                            struct bnxt_cp_ring_info *cp_ring_info,
                            const char *suffix);
+int bnxt_alloc_hwrm_rx_ring(struct bnxt *bp, int queue_index);
 int bnxt_alloc_hwrm_rings(struct bnxt *bp);
 
 #endif