From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mlx4: avoid init errors when kernel modules are not loaded Date: Tue, 10 Mar 2015 16:09:08 +0100 Message-ID: <2334594.TAXYGkYQCV@xps13> References: <1425061620-2901-1-git-send-email-adrien.mazarguil@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Adrien Mazarguil Return-path: In-Reply-To: <1425061620-2901-1-git-send-email-adrien.mazarguil-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > 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