From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id CA8815598 for ; Fri, 14 Apr 2017 14:13:51 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id u2so64131557wmu.0 for ; Fri, 14 Apr 2017 05:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=M2JbjX32pUA0HCJBltnDkPXqtyP/drho3Lz1tPTYINw=; b=h3r4I4bfzuMsLUsuQYTkDuVpPmbupW6UjVmIznWyeB81rMAEdKj5useYR9vve6y9Qg 2k8VgWZIi4on9J3Ta55E4Yi82qVel3Dx8ijeBPeqHzt9TlZQtxqK4z6/oxc1Iv9QNUG5 fGF3uMQjKXSiq7M4Pcj/Q5wH5CMaqk6n347Spw9OHUDgmB32TYJAuLJJ2+w/2DpmZF2t OeiIfja1bwxhEu9XigDMssuxECQ2okyw2FKWBVRofefFgoj1XOMyOcuKKLVo3DN6agrv uoPieBv39Dpw2ApA2k9+wLeV06afpSFE4WOUHH4z6qBTn6/gxoAgL4upo0nH/ZQs3Ur9 VduA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=M2JbjX32pUA0HCJBltnDkPXqtyP/drho3Lz1tPTYINw=; b=dmgf1qaqBI6tBz4/aNgGGzQGVbEDGCde9cAD5lTYmmljOL/j5udNSoFrq1wfqRgTnc guAtNKM/qxd00UenhZPSOQ/OdMruIrG+9J3y+YXNiMn51pjAxOaSJ6sRh40XcFIJqoYC smm6jR4vovdSIQk7Xa5lDIfV6ggN1wowiirpoM9N2Qb6L7pe06DMYXX4j6j2jlH91iqh 0eH2oI8i66H3snZefD5Zk3cb2iMjt/fDYW+kYgStM+axICxnMDiREOdmSBgUlZoRMbWF RkyRvFhkSVvAv/dLM4944Szq2Nphqmz9bnvzv28TgyF5m5h+F5WAPL/dC+c22d8LWJVR Q5Eg== X-Gm-Message-State: AN3rC/6tPJLDkJfS/CLMcV64b+0qVhRMNvWyJt/R0JJtBzW9Vp9/suET 0ijau3GeizNGeqgbjZM= X-Received: by 10.28.13.66 with SMTP id 63mr7429173wmn.2.1492172031374; Fri, 14 Apr 2017 05:13:51 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id b73sm2151671wrd.29.2017.04.14.05.13.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Apr 2017 05:13:50 -0700 (PDT) From: Thomas Monjalon To: Ami Sabo Cc: yuanhan.liu@linux.intel.com, dev@dpdk.org, stable@dpdk.org Date: Fri, 14 Apr 2017 14:13:49 +0200 Message-ID: <15073510.99sBIpKQD2@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1488445242-8824-1-git-send-email-amis@radware.com> References: <1488102926-24158-2-git-send-email-amis@radware.com> <1488445242-8824-1-git-send-email-amis@radware.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH 0/2] Fix virtio-user multi-process crash. X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2017 12:13:52 -0000 2017-03-02 11:00, Ami Sabo: > The patchset fixes secondary process crash issue when it tries > to access virtio-user pmd (e.g. via rte_eth_rx_burst). > > The crash happens because in virtio_user probing, > eth_dev_attach_secondary is not being called, as it does from > rte_eth_dev_pci_probe. Therefore, the device is not properly > initialized. > > The patchset contains 2 patches: > 1. Export rte_eth_dev_attach_secondary, so non-pci drivers will be > allowed to call it. > 2. Fix the actual bug by calling the function during virtio_user probe. > > Ami Sabo (2): > lib/librte_ether: export secondary attach function > net/virtio-user: fix multi-process issue Applied, thanks