]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/bnxt_rxq.c
crypto/aesni_gcm: support in-place chained mbufs
[dpdk.git] / drivers / net / bnxt / bnxt_rxq.c
index e1ed360eff6d72eeac5b497412749fb38f3707cd..d55adc33acae0a5dc2fc1e43e19bb2c411f1c963 100644 (file)
@@ -366,6 +366,10 @@ int bnxt_rx_queue_setup_op(struct rte_eth_dev *eth_dev,
        eth_dev->data->rx_queue_state[queue_idx] = queue_state;
        rte_spinlock_init(&rxq->lock);
 
+       /* Configure mtu if it is different from what was configured before */
+       if (!queue_idx)
+               bnxt_mtu_set_op(eth_dev, eth_dev->data->mtu);
+
 out:
        return rc;
 }