]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c
ixgbe: make txq_ops const
[dpdk.git] / lib / librte_pmd_ixgbe / ixgbe_rxtx_vec.c
index 1f46f0f6b4ecd6b4397de2ce21da01393d4ece38..11e9f12d1a902c81ded8ba8e5483a170c6f0cd78 100644 (file)
@@ -723,7 +723,7 @@ ixgbe_reset_tx_queue(struct igb_tx_queue *txq)
                IXGBE_CTX_NUM * sizeof(struct ixgbe_advctx_info));
 }
 
-static struct ixgbe_txq_ops vec_txq_ops = {
+static const struct ixgbe_txq_ops vec_txq_ops = {
        .release_mbufs = ixgbe_tx_queue_release_mbufs,
        .free_swring = ixgbe_tx_free_swring,
        .reset = ixgbe_reset_tx_queue,