net/memif: fix multi-process Tx
authorPhil Yang <phil.yang@arm.com>
Tue, 6 Aug 2019 08:45:26 +0000 (16:45 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Aug 2019 09:26:52 +0000 (11:26 +0200)
commit9467deff9ddfe08321d893437a569c16a362f4c0
treecb661f928929dd8f0233a0b89889f19600a668de
parent10bd0ad5128d2ca0fee020c0961c43bd41ecdf8f
net/memif: fix multi-process Tx

When working as a secondary process, it uses eth_memif_rx in PMD egress.
It should be eth_memif_tx.

Fixes: c41a04958b ("net/memif: support multi-process")

Signed-off-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
drivers/net/memif/rte_eth_memif.c