From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 30C32952 for ; Wed, 8 Feb 2017 20:11:37 +0100 (CET) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 51E5A7FB7B; Wed, 8 Feb 2017 19:11:38 +0000 (UTC) Received: from dhcp-25-97.bos.redhat.com (dhcp-25-172.bos.redhat.com [10.18.25.172]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v18JBbPc011041 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 8 Feb 2017 14:11:37 -0500 From: Aaron Conole To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson References: <20170208185142.28678-1-aconole@redhat.com> Date: Wed, 08 Feb 2017 14:11:36 -0500 In-Reply-To: <20170208185142.28678-1-aconole@redhat.com> (Aaron Conole's message of "Wed, 8 Feb 2017 13:51:17 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 08 Feb 2017 19:11:38 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH v2 00/25] linux/eal: Remove most causes of panic on init 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: , X-List-Received-Date: Wed, 08 Feb 2017 19:11:38 -0000 Aaron Conole writes: > In many cases, it's enough to simply let the application know that the > call to initialize DPDK has failed. A complete halt can then be > decided by the application based on error returned (and the app could > even attempt a possible re-attempt after some corrective action by the > user or application). > > Changes ->v2: > - Audited all "RTE_LOG (" calls that were introduced, and converted > to "RTE_LOG(" > - Added some fprintf(stderr, "") lines to indicate errors before logging > is initialized > - Removed assignments to errno. > - Changed patch 14/25 to reflect EFAULT, and document in 25/25 > > I kept the rte_errno reflection, since this is control-path code and the > init function returns a sentinel value of -1. > I got 3 new checkpatch warnings that seem to have missed my local commit hook. I'll fix them up and send a new series in-reply to this one. Sorry for the noise.