eth_dev->data->mac_addrs = NULL;
eth_dev->rx_pkt_burst = NULL;
+ eth_dev->tx_pkt_burst = NULL;
return 0;
}
PMD_INIT_FUNC_TRACE();
eth_dev->rx_pkt_burst = &lio_dev_recv_pkts;
+ eth_dev->tx_pkt_burst = &lio_dev_xmit_pkts;
/* Primary does the initialization. */
if (rte_eal_process_type() != RTE_PROC_PRIMARY)
"MAC addresses memory allocation failed\n");
eth_dev->dev_ops = NULL;
eth_dev->rx_pkt_burst = NULL;
+ eth_dev->tx_pkt_burst = NULL;
return -ENOMEM;
}