From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2FA9A44098 for ; Wed, 22 May 2024 10:06:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D0DD4402BB; Wed, 22 May 2024 10:06:20 +0200 (CEST) Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) by mails.dpdk.org (Postfix) with ESMTP id 6402140295 for ; Wed, 22 May 2024 10:06:19 +0200 (CEST) Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-572669fd9f9so9849740a12.0 for ; Wed, 22 May 2024 01:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716365179; x=1716969979; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3HY8vuCIJP95EhA9leb7HU9bG0SyNl6lhVvlVFV12d8=; b=PBwCrMW0UI46fZ5rIE10mmtjlfixr7b/m2w6R03eoPIbSUNQzfWmITZkwZLryu3HT1 RTIZMV/Su9vBUsIPC16CSJhvSZX0svXdgj6ATfwHgqadLdkd2ETLRNzPdOYTkwHYstm0 z5gY6+ub0kQGwIv4IsVREpiponCrckma294dGswQYmrqpDVCVtwO6BXIhSUfhSKLR1Y1 QNRic+Lo6THTpTWkgmG775i+mbNqYPGnBaL8EmYBjWj9VD2IcKNEPtIew0a+4WrfC6ei 2I9u7xWip4qO6yWaps5Qj5V95xNJd5hhhaia/bEsVU0VpDHx7CcxNJaTsw5q0KVUbMzj RpnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716365179; x=1716969979; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3HY8vuCIJP95EhA9leb7HU9bG0SyNl6lhVvlVFV12d8=; b=psURSDu1+mJDJnYwYIw9sYWonPZhJGy8ThJJq8cf8ndOxfQh7WaxG+xRDdNcQwrPyg PKjP1GnD5CLuFwgJ6atIVrgDJrNxCxdJI/TDtofihcaWecY5v74FA98aGkJgRvqXIhIn KkptwMqW1PF1x1LHcNe0dU+R0/MaZqRB/LSabN0C99/MaJMLo0lMFqxtQWfEll+S/Nan 5A/mlYy8VFOBFZFDDDlT8VelK2ARd87hKr3aF5ywq4gy1OpspiDww5cVrr2Clfu2sk4d ylh11y2+cKpMMNAgXt2ulIb1EDNiF/HrGc57GCdw0Dio6nfzJPRLeufx8fVK/aGEHgi8 eY8A== X-Gm-Message-State: AOJu0YxzPHm5NfI3LO+YlW1vrU0GxNvaJHeIIk9545znUjO9WEcTOvKT VGN0n1VJIvTausoUG7PMKT2Zb4RnPSmLPtcZAZmgARZ3GOxCY2DwC/ito7/EgS9clmQjuF6Z8dR EHCCGr+6y8iOXuppCkDBNakUJEQAft3tXkZM= X-Google-Smtp-Source: AGHT+IEFzyof+qDTkeZ4wTv/jnMOLh01efywij0z2Y8A5KLi78G1gyudvCwxneciTdfCoOVYaRTl26oQ8X4GkkT08Dk= X-Received: by 2002:a17:906:bc4e:b0:a5a:896e:d0b4 with SMTP id a640c23a62f3a-a6228083fafmr73750266b.26.1716365178862; Wed, 22 May 2024 01:06:18 -0700 (PDT) MIME-Version: 1.0 References: <20240522102148.0db4d9b6@sovereign> In-Reply-To: <20240522102148.0db4d9b6@sovereign> From: Antonio Di Bacco Date: Wed, 22 May 2024 10:06:07 +0200 Message-ID: Subject: Re: Request to map PCI device in a secondary that uses the --block for that device To: Dmitry Kozlyuk Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Thank you. In my case, I have the same block/allow but the primary does an explicit probe of a DMA engine on the processor, the secondary is notified and it crashes. It should not crash I suppose. The same software is running on several machines (100) but the problem is sporadic just on two of them. Very strange. Thx, Antonio. On Wed, May 22, 2024 at 9:21=E2=80=AFAM Dmitry Kozlyuk wrote: > > 2024-05-22 08:46 (UTC+0200), Antonio Di Bacco: > > Is it correct that a primary requests a secondary to map a device that > > the secondary explicitly blocks with the --block arg ? > > > > IN my case this requests of mapping creates a crash in the secondary. > > > > Using DPDK 21.11 > > > > Best regards, > > Antonio. > > Hi Antonio, > > "Secondary processes which requires access to physical devices in Primary > process, must be passed with the same allow and block options." > > https://doc.dpdk.org/guides/prog_guide/multi_proc_support.html