]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/memif/rte_eth_memif.c
net/memif: fix multi-process Tx
[dpdk.git] / drivers / net / memif / rte_eth_memif.c
index bcda426f2bbfcc0c195a3bf1553beb0d2263101b..a59f809671373293a93095c0f7dc798d28483749 100644 (file)
@@ -1265,7 +1265,7 @@ rte_pmd_memif_probe(struct rte_vdev_device *vdev)
                eth_dev->dev_ops = &ops;
                eth_dev->device = &vdev->device;
                eth_dev->rx_pkt_burst = eth_memif_rx;
-               eth_dev->tx_pkt_burst = eth_memif_rx;
+               eth_dev->tx_pkt_burst = eth_memif_tx;
 
                if (!rte_eal_primary_proc_alive(NULL)) {
                        MIF_LOG(ERR, "Primary process is missing");