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 A5E9F43076; Tue, 15 Aug 2023 23:49:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 306FB41611; Tue, 15 Aug 2023 23:49:22 +0200 (CEST) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id B06B9410ED for ; Tue, 15 Aug 2023 23:49:21 +0200 (CEST) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-68876bbecb6so533286b3a.1 for ; Tue, 15 Aug 2023 14:49:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1692136160; x=1692740960; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=oCos5J9VX/uxSG8gKnw9Do6mhWHCOPXw+V8nYUOAB+M=; b=t64C225TW0s8Xp/j4cYDUUWgzlgNVm8x3/Gw1ezyPeoXNYb8urEnyEhDN84tTxt8eu qFIA6ElAA2S6wjS0eh+wSM3kmwa3MTCv4fpnVhT4E1P9nWYd3u06l+pRqWxPeQaDZw9e AZYsNo8WxoAl/YtyOoFUyyjMmXBsjLS3jFzIaIgDqrGEPp0A7B3YaYYuV5QiG/+kOU0R Wq485ac3EcNFmHyxABbhFBaBfzd3kYJrOdkR+uJ6PtGXsL0FdEqOmA/HmVhh3Pi1KbdR Ra5DcRz6N+bG6hEhqeuuaNXReVs4U3uQn4KFHWTc6MkX82e3RyNQo9Q5NIx7ExAqfLM/ F+dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692136160; x=1692740960; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oCos5J9VX/uxSG8gKnw9Do6mhWHCOPXw+V8nYUOAB+M=; b=BGVN/SSYEsq4zZvkkf89q192Z5jeeAl0wosZvPFFxHGNMlBu7JPXxuSf+OXj652K+8 ALyqhbDdDJG3uq2lQU+jdlMRfd5qhx3IdYXJLck4bbpPg7s4sgN5lnFBYOr+yyBThaYA IgcbF0l3UR87bKeILB9sq6RAHKPUzAzp8R1/a9G+djD/OlD4iNKxGSR3QRY4omVRH6cl Y6NU/sCqu5ZsdyAS+u3d+gDvBUwZKA5KBln073b41zalF9/wCpPLCjSHdDwcE069wQgh sgs+f8WlK2imYjjDzKuMnwJijFnKcVKDFKKrluQfbDUJrjvQmlGj+ULLU6Xaxv5ZG8U3 mj1A== X-Gm-Message-State: AOJu0YxDvFP6vSaKUzsMovRyapDTdht6ou2R4PfrGpfPFGzy+tGjlypp CiZsFy6DAk9lgyqLPFJ5rEKYmVw3EQUMqw/A+o1Whg== X-Google-Smtp-Source: AGHT+IGoywMzEtmgw/8wqeO5EUCEUq83G/otaiOuDnC/oTqU9udRaMaa8LtgppQoIkRJ2LJEtI/+uw== X-Received: by 2002:a05:6a20:458:b0:13b:a1eb:79e6 with SMTP id b24-20020a056a20045800b0013ba1eb79e6mr84778pzb.53.1692136160458; Tue, 15 Aug 2023 14:49:20 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id c17-20020a62e811000000b0067acbc74977sm10038608pfi.96.2023.08.15.14.49.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 14:49:20 -0700 (PDT) Date: Tue, 15 Aug 2023 14:49:18 -0700 From: Stephen Hemminger To: okaya@kernel.org Cc: dev@dpdk.org Subject: Re: [PATCH v1 0/7] support reinit flow Message-ID: <20230815144918.1812db1f@hermes.local> In-Reply-To: <20230815013826.1288972-1-okaya@kernel.org> References: <20230815013826.1288972-1-okaya@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, 14 Aug 2023 21:38:19 -0400 okaya@kernel.org wrote: > From: Sinan Kaya > > We want to be able to call rte_eal_init() and rte_eal_cleanup() > APIs back to back for maintanance reasons. One other note: This sequence could only be done by main lcore, and never ever in a signal handler. Do not try and trap signals like abort, bus error, illegal instruction and try to use this for recovery. It is a recipe for failure.