From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent JARDIN Subject: Re: [PATCH v4 02/16] net/mrvl: add mrvl net pmd driver skeleton Date: Thu, 12 Oct 2017 15:57:31 +0200 Message-ID: References: <1507031500-11473-1-git-send-email-tdu@semihalf.com> <1507561244-20115-1-git-send-email-tdu@semihalf.com> <1507561244-20115-3-git-send-email-tdu@semihalf.com> <9041127.34t6OW5FrT@xps> <20171012065104.GC19106@tdu> <6bfe47de-c5b4-2b01-7991-2ac48913b2c3@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Tomasz Duszynski , Thomas Monjalon , dev@dpdk.org, Marcin Wojtas , Dmitri Epshtein , Natalie Samsonov , Jianbo.liu@linaro.org To: Jacek Siuda Return-path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id B3A8E1B38B for ; Thu, 12 Oct 2017 15:57:33 +0200 (CEST) Received: by mail-wm0-f44.google.com with SMTP id b189so13360434wmd.4 for ; Thu, 12 Oct 2017 06:57:33 -0700 (PDT) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Le 12/10/2017 à 14:14, Jacek Siuda a écrit : > > What we can do, is to add a run-time driver option and oblige user (in > documentation) to set the option only for the first mrvl vdev. If the > driver doesn't see the option set, it  won't initialize DMA. This, plus > meaningful error handling/logs should take care of any potential > mishandling by user that we were afraid of. I hope that would be more > acceptable. Yes, it does. And it already matches the current design in fact since the return error can be EEXIST and it is ignored. thank you, Vincent