From mboxrd@z Thu Jan 1 00:00:00 1970 From: Panu Matilainen Subject: Re: Permanently binding NIC ports with DPDK drivers Date: Fri, 13 Nov 2015 14:17:40 +0200 Message-ID: <5645D4E4.4000903@redhat.com> References: <964049bfb9054699a2e4520c6758a7ee@bilemail1.empirix.com> <20151111162853.GA38496@bricha3-MOBL3> <56448CB5.8070102@redhat.com> <8f345cadb32e443daf59127eeebe83c6@bilemail1.empirix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" To: "Montorsi, Francesco" , Bruce Richardson 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) In-Reply-To: <8f345cadb32e443daf59127eeebe83c6@bilemail1.empirix.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 -