[dpdk-dev] [PATCH] net/memif: fix multi-process device probe error

Thomas Monjalon thomas at monjalon.net
Fri Aug 2 23:01:10 CEST 2019


01/08/2019 12:35, Phil Yang:
> Fixes: c41a04958b ("net/memif: support multi-process")
> 
> Signed-off-by: Phil Yang <phil.yang at arm.com>
> Reviewed-by: Gavin Hu <gavin.hu at arm.com>
> ---
> --- a/drivers/net/memif/rte_eth_memif.c
> +++ b/drivers/net/memif/rte_eth_memif.c
> @@ -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;

It is not a probe error, but malfunctioning device, right?
What is the current behaviour? You could better explain
the symptom in the commit log, and the root cause (typo).




More information about the dev mailing list