]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_dp_rx.h
net/sfc: use Rx queue max fill level calculated on init
[dpdk.git] / drivers / net / sfc / sfc_dp_rx.h
index d2e3106a45def4aeba4b4a9b9a8e2052ff76444a..029ebaf8785e61b2bb335a3aa2d5483c386fbb33 100644 (file)
@@ -60,6 +60,8 @@ struct sfc_dp_rxq {
 struct sfc_dp_rx_qcreate_info {
        /** Memory pool to allocate Rx buffer from */
        struct rte_mempool      *refill_mb_pool;
+       /** Maximum number of pushed Rx descriptors in the queue */
+       unsigned int            max_fill_level;
        /** Minimum number of unused Rx descriptors to do refill */
        unsigned int            refill_threshold;
        /**