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 A470843075; Tue, 15 Aug 2023 21:47:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 471EA41611; Tue, 15 Aug 2023 21:47:48 +0200 (CEST) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id 0AB09410ED for ; Tue, 15 Aug 2023 21:47:46 +0200 (CEST) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1bc8a2f71eeso37165675ad.0 for ; Tue, 15 Aug 2023 12:47:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1692128866; x=1692733666; 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=6sHGmbTFLTM7eT6/61Ujrnsjeiq3sIh0a+CproSGntM=; b=zExQ3oTlSLVGjnDbxUAWXrzAc+vm7VvD7tKrPGkzITIoyNbMrnZ2aUKj8qs0PvY3k7 pMcUd9nH//qLkTYYHOwtGE0ilUjq5SmT1LxFq75kWj5pi2gpnPeIQuUrQ24GORm1pGIj tQA+PsP5tx9nmMdQl/ec8R1gv/Bako+9e4eh3NvcrqCyxp3SY9C91qEZmu/Y8EWbkVIg tyaN4XdTaoIYsTLSacho8ejhz0iS2SpzV8tNpMQ9L0PAU72yLYTIshvJ5cnXyGJ81vAJ qW05CdpHSz/1ybfPm9z8llAlCQTdOtDmpiKcODIwPMf55gx6WEfTBLqfkPyMH5RtMUsY guWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692128866; x=1692733666; 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=6sHGmbTFLTM7eT6/61Ujrnsjeiq3sIh0a+CproSGntM=; b=amVg+9n3cLtkibnKnRjWLqazVoB6P9Le0pMLBQHN/4h9btKefXKO6LM1+F3oKIF8Tb Wg43axUaTQ1Q2SJyMLmDbD7JGg1VQ760F2CozCBn6iCAHjyDAmO2s+Xmf+9zXgYfw0uD Sva/Yky5zOFku9oDLElOzSr5ZhGgkNPf0vKpCnx2jX4rPAzpxhvc+O1TmTF67evuaE6V qTE0PpUm/aJqblsLucIi1ffWeyqRpXyhYKWg+3gqFFCPxtxtKEF6b4Huzxrx3X93hcSP Lon/ojFwt6cKldNoizS/hgjFOIDjESnWgp0AFrqlmdvL1j2LLHh6P5qaYgyTJuSITLUk QifQ== X-Gm-Message-State: AOJu0YwowV/HWVQmxgRYbCg1Lr9Rm4dEk+CvajvqQ7fo289WC94ypiFw RzhLrfZTwXtIm2NOprWSFYv3Cw== X-Google-Smtp-Source: AGHT+IG+zcMPE6hrvxNAfKDISQNbkVuW9+YWGVroyNRY0TS1GDzLhMoXlvxLst7djXxYatoh7uU3AQ== X-Received: by 2002:a17:903:185:b0:1bc:2036:2219 with SMTP id z5-20020a170903018500b001bc20362219mr13405139plg.41.1692128865849; Tue, 15 Aug 2023 12:47:45 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id s15-20020a17090a880f00b00267fbd521dbsm11855504pjn.5.2023.08.15.12.47.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 12:47:45 -0700 (PDT) Date: Tue, 15 Aug 2023 12:47:43 -0700 From: Stephen Hemminger To: Sinan Kaya Cc: dev@dpdk.org Subject: Re: [PATCH v4 0/8] support reinit flow Message-ID: <20230815124743.61fc02b2@hermes.local> In-Reply-To: <9643dc6e7486019db77ba57b7f073b6c85867315.camel@kernel.org> References: <20230815145023.1386003-1-okaya@kernel.org> <20230815104524.5ffcf627@hermes.local> <9643dc6e7486019db77ba57b7f073b6c85867315.camel@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 Tue, 15 Aug 2023 14:58:03 -0400 Sinan Kaya wrote: > > > > As a compromise, can this restart be officially tagged as > > unsupported. > > any pointers how to do this? > > I have no idea how to mark something unsupported in code. > If this is acceptable in cover letter, I'm happy to do that too. Put some additional notes in the rte_eal.h like: diff --git a/lib/eal/include/rte_eal.h b/lib/eal/include/rte_eal.h index 53c4a5519e61..348b340f006d 100644 --- a/lib/eal/include/rte_eal.h +++ b/lib/eal/include/rte_eal.h @@ -67,6 +67,11 @@ int rte_eal_iopl_init(void); * as possible in the application's main() function. * It puts the WORKER lcores in the WAIT state. * + * @warning + * It maybe possisble to call it again after rte_eal_cleanup(). + * But this usage is dependent on libraries and drivers support which + * may not work. Use at your own risk. + * * @param argc * A non-negative value. If it is greater than 0, the array members * for argv[0] through argv[argc] (non-inclusive) shall contain pointers Or maybe in the Shutdown and Cleanup section of: doc/guides/prog_guide/env_abstraction_layer.rst