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 601A8A0613 for ; Tue, 27 Aug 2019 11:03:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2DB391C0CB; Tue, 27 Aug 2019 11:03:00 +0200 (CEST) Received: from mail.ud15.udmedia.de (ud15.udmedia.de [194.117.254.55]) by dpdk.org (Postfix) with ESMTP id DBC151C0C6 for ; Tue, 27 Aug 2019 11:02:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=ng4t.com; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=k1; bh=lnTmmXhoB0x+4rjzCfQZCdKQNPOsi2CbGhQSLs26lws=; b=a7nCCP sjday1VkZnDpuICsAb7rWafRVPnbhLN0zEaRL3Ur/Vr3pgDQ2gX3XSchZmY4OdlF PpZWgt4Fsg5DisM8+ssYO/qJ0untXotJj4dI5frj7s/J54FKswdaOjcVFec9qE1E JbAUa1oKCqH18tNn/fj7sR5GRJdmcDXEfeTG4= Received: (qmail 22654 invoked from network); 27 Aug 2019 11:02:58 +0200 Received: by mail.ud15.udmedia.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 27 Aug 2019 11:02:58 +0200 X-UD-Smtp-Session: ud15?2p5@o7ryiRWROsYqAoEGAAH5AALgTP/+aBWL From: dirk To: dev@dpdk.org Date: Tue, 27 Aug 2019 11:02:47 +0200 Message-Id: <20190827090248.6185-1-dirk.lenz@ng4t.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/1] net/enic: enic driver doesn't work with 2nd process 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" dirk (1): net/enic: enic driver doesn't work with 2nd process. the problem is that the private data structure enic uses pointers to rte_eth_dev and rte_pci_device which are overwritten when a 2nd process starts using this device. given patch removes these two pointers from the private data and uses the correct pointers. For us the given patch works fine on a cisco rack. (we used three processes working concurrently) drivers/net/enic/enic.h | 36 ++++--- drivers/net/enic/enic_clsf.c | 5 +- drivers/net/enic/enic_ethdev.c | 79 ++++++--------- drivers/net/enic/enic_main.c | 177 +++++++++++++++++++--------------- drivers/net/enic/enic_res.c | 7 +- drivers/net/enic/enic_res.h | 6 +- drivers/net/enic/enic_rxtx_vec_avx2.c | 5 +- 7 files changed, 156 insertions(+), 159 deletions(-) -- 2.15.1