From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EB912A10DA for ; Thu, 1 Aug 2019 12:35:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1801B1C1CA; Thu, 1 Aug 2019 12:35:42 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 1DD701BE33 for ; Thu, 1 Aug 2019 12:35:40 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5586F1570; Thu, 1 Aug 2019 03:35:40 -0700 (PDT) Received: from phil-VirtualBox.shanghai.arm.com (unknown [10.169.108.156]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id ACA5A3F575; Thu, 1 Aug 2019 03:35:38 -0700 (PDT) From: Phil Yang To: dev@dpdk.org Cc: jgrajcia@cisco.com, anatoly.burakov@intel.com, ferruh.yigit@intel.com, gavin.hu@arm.com, honnappa.nagarahalli@arm.com, nd@arm.com Date: Thu, 1 Aug 2019 18:35:27 +0800 Message-Id: <1564655727-4142-1-git-send-email-phil.yang@arm.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] net/memif: fix multi-process device probe error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fixes: c41a04958b ("net/memif: support multi-process") Signed-off-by: Phil Yang Reviewed-by: Gavin Hu --- drivers/net/memif/rte_eth_memif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c index bcda426..a59f809 100644 --- 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; if (!rte_eal_primary_proc_alive(NULL)) { MIF_LOG(ERR, "Primary process is missing"); -- 2.7.4