From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by dpdk.org (Postfix) with ESMTP id 3EEB05952 for ; Tue, 10 Mar 2015 16:09:43 +0100 (CET) Received: by wesx3 with SMTP id x3so2540350wes.1 for ; Tue, 10 Mar 2015 08:09:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=Zsm/b8iUufJs1rxXCy8QFvpDSpBZBirnQIdg+XiLnTc=; b=X3kkwZRmmRb6h4+PplOCVLirgMDEZgUbDg7rOLRj7DYGgXjV2HcbeaXUJReogWW/+q MxpV/iJwXTLsuA3tDXWSRJjxy8Kbn9TdrDWZ7O8LTnsAQbm6NrDdHZ5hX25S4dXspOsc eim5QrbgoYNPkh9Sv3oeqjhyjWc/PBBisx4YU+H7mFCmaTtwPpTzXTkFH4fa+hGhGtTb zn92Z0PYsCFs6Z1QzsTgHM+5NW/lbyMFZp8Zqt1Yg1fYjqIrvrCNRABH1gkTYpYFvrW2 PZVTUyP8gjbrm2v/QO9a9H/fCeCsDKFGRa+HbD+anmWKXYOmkiLziq38MLBbXMfa+i4g lWyg== X-Gm-Message-State: ALoCoQkKrn2q1uilPLHiJYeA1DJryyWCj+gCJd7NJIURUKFOudKP1FFd2y8kHTnh20TSk/LGmEmw X-Received: by 10.180.74.47 with SMTP id q15mr33859473wiv.49.1426000182933; Tue, 10 Mar 2015 08:09:42 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id bx3sm1291304wjc.21.2015.03.10.08.09.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Mar 2015 08:09:42 -0700 (PDT) From: Thomas Monjalon To: Adrien Mazarguil Date: Tue, 10 Mar 2015 16:09:08 +0100 Message-ID: <2334594.TAXYGkYQCV@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <1425061620-2901-1-git-send-email-adrien.mazarguil@6wind.com> References: <1425061620-2901-1-git-send-email-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] mlx4: avoid init errors when kernel modules are not loaded X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2015 15:09:43 -0000 > Mimic UIO/VFIO drivers behavior by not causing errors when a device cannot > be initialized due to missing or mismatching kernel modules. Display helpful > messages instead, such as: > > [...] > EAL: PCI device 0000:83:00.0 on NUMA socket 1 > EAL: probe driver: 15b3:1007 librte_pmd_mlx4 > PMD: librte_pmd_mlx4: PCI information matches, using device "mlx4_0" (VF: false) > PMD: librte_pmd_mlx4: cannot use device, are drivers up to date? > EAL: PCI device 0000:84:00.0 on NUMA socket 1 > EAL: probe driver: 15b3:1007 librte_pmd_mlx4 > PMD: librte_pmd_mlx4: PCI information matches, using device "mlx4_1" (VF: false) > PMD: librte_pmd_mlx4: cannot use device, are drivers up to date? > EAL: No probed ethernet devices > [...] > > Signed-off-by: Adrien Mazarguil Applied, thanks