examples/l3fwd: share queue size variables
[dpdk.git] / drivers / net / enic / enic_main.c
index 97d97ea..9f351de 100644 (file)
@@ -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();