examples/l3fwd: share queue size variables
[dpdk.git] / drivers / net / enic / enic_main.c
index 7f84b5f..9f351de 100644 (file)
@@ -1137,7 +1137,7 @@ int enic_disable(struct enic *enic)
        }
 
        /* If we were using interrupts, set the interrupt vector to -1
-        * to disable interrupts.  We are not disabling link notifcations,
+        * to disable interrupts.  We are not disabling link notifications,
         * though, as we want the polling of link status to continue working.
         */
        if (enic->rte_dev->data->dev_conf.intr_conf.lsc)
@@ -1664,7 +1664,7 @@ int enic_set_mtu(struct enic *enic, uint16_t new_mtu)
        }
 
        /* replace Rx function with a no-op to avoid getting stale pkts */
-       eth_dev->rx_pkt_burst = enic_dummy_recv_pkts;
+       eth_dev->rx_pkt_burst = rte_eth_pkt_burst_dummy;
        rte_eth_fp_ops[enic->port_id].rx_pkt_burst = eth_dev->rx_pkt_burst;
        rte_mb();