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 C81319402 for ; Fri, 13 Nov 2015 13:17:42 +0100 (CET) Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id E15BAC0D8039; Fri, 13 Nov 2015 12:17:41 +0000 (UTC) Received: from sopuli.koti.laiskiainen.org (vpn1-6-92.ams2.redhat.com [10.36.6.92]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tADCHeaP022376; Fri, 13 Nov 2015 07:17:41 -0500 To: "Montorsi, Francesco" , Bruce Richardson References: <964049bfb9054699a2e4520c6758a7ee@bilemail1.empirix.com> <20151111162853.GA38496@bricha3-MOBL3> <56448CB5.8070102@redhat.com> <8f345cadb32e443daf59127eeebe83c6@bilemail1.empirix.com> From: Panu Matilainen Message-ID: <5645D4E4.4000903@redhat.com> Date: Fri, 13 Nov 2015 14:17:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <8f345cadb32e443daf59127eeebe83c6@bilemail1.empirix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Permanently binding NIC ports with DPDK drivers 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: Fri, 13 Nov 2015 12:17:43 -0000 On 11/13/2015 01:44 PM, Montorsi, Francesco wrote: > Hi Panu, > >> -----Original Message----- >> From: Panu Matilainen [mailto:pmatilai@redhat.com] >> I've been looking into this recently, here's what I have so far: >> http://laiskiainen.org/git/?p=driverctl.git >> > Thanks I tried the script (I just had to change /bin/sh into > /bin/bash on first line) and it works fine on my Ubuntu 14.04. Oops, fixed now. Thanks for pointing that out, the line between sh and bash is (too) blurry on Fedora & friends. > Unfortunately I'm forced to run my sw on SLES 11.3 (which btw uses > kernel 3.0.76 which I don't know if is compatible with VFIO) and there > the output of "list-devices" is plain empty. I will try to look at > what's happening... list-devices currently only lists devices which support driver overriding[*], which is a relatively new kernel feature and would be missing from 3.0.76: https://www.redhat.com/archives/libvir-list/2014-April/msg00222.html It might well be possible to fall back to the "old style" bind system if the kernel doesn't support driver_override. I've no immediate plans to look into that but lets just say patches would at least be considered :) - Panu -