From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f45.google.com (mail-oa0-f45.google.com [209.85.219.45]) by dpdk.org (Postfix) with ESMTP id D11325937 for ; Wed, 26 Mar 2014 07:14:12 +0100 (CET) Received: by mail-oa0-f45.google.com with SMTP id eb12so1974233oac.4 for ; Tue, 25 Mar 2014 23:15:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=bG+ieR7rrWZ4i4O4HxcPL62F2AInm5BgWI3JA22jIfM=; b=cG0lWDo8U/HCns5zSVILwpUl09TFNSdVAfF5X6l30yeU4nhPtF0Ch688Zomzufos8l ZeMBJvEWJglHZmn5dLzfHp2dOrmjZNOVxyKLKPnj2lZZL5NvuNEQPGPRI5cTH0DN4A1p J7MmLLwDh9tMptya+FWsHk36iUV6HkZGClqMWW1OOGY3fapB64y1Pwn8UI3IhuTDAIRW hNYYky8zztVdDtshZnCfkAnRdYA55BTMGEue7K8IxljPouEo7Iimm03wFS6E7MXjAOaU CRexowC6MeHHOexA7QBUFzBatjVQ9HQjdfe3YoL1CjuwlgQin9aUyCQTX5+XniEUduEj MuyA== X-Gm-Message-State: ALoCoQlMBFr3xnVdgB/bx2VA9g85xDyj1X/HI6npuQfLkOf3L2+PtUyp1cLYvpD8hERH26o2xQX0 MIME-Version: 1.0 X-Received: by 10.183.24.161 with SMTP id ij1mr35902736obd.33.1395814545889; Tue, 25 Mar 2014 23:15:45 -0700 (PDT) Received: by 10.182.24.198 with HTTP; Tue, 25 Mar 2014 23:15:45 -0700 (PDT) In-Reply-To: References: Date: Wed, 26 Mar 2014 15:15:45 +0900 Message-ID: From: Masaru Oki To: Fred Pedrisa Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] hw.nic_uio.bdfs 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: Wed, 26 Mar 2014 06:14:13 -0000 Hi, I tried with Intel version 1.6.0 and FreeBSD 9.2-RELEASE on VMware Player. kldload nic_uio by hand, works fine. But kldunload nic_uio only detach uio driver, don't re-attach kernel driver. [oki@ ~]$ cat /boot/loader.conf ############################################################## ### User settings ########################################## ############################################################## hw.contigmem.num_buffers=64 hw.contigmem.buffer_size=2097152 hw.nic_uio.bdfs="2:5:0,2:6:0" contigmem_load="YES" #nic_uio_load="YES" [oki@ ~]$ pciconf -l | egrep '(em|uio)' em0@pci0:2:1:0: class=0x020000 card=0x075015ad chip=0x100f8086 rev=0x01 hdr=0x00 em1@pci0:2:5:0: class=0x020000 card=0x075015ad chip=0x100f8086 rev=0x01 hdr=0x00 em2@pci0:2:6:0: class=0x020000 card=0x075015ad chip=0x100f8086 rev=0x01 hdr=0x00 [oki@ ~]$ kenv hw.nic_uio.bdfs 2:5:0,2:6:0 [oki@ ~]$ sudo kldload nic_uio Password: [oki@ ~]$ pciconf -l | egrep '(em|uio)' em0@pci0:2:1:0: class=0x020000 card=0x075015ad chip=0x100f8086 rev=0x01 hdr=0x00 nic_uio0@pci0:2:5:0: class=0x020000 card=0x075015ad chip=0x100f8086 rev=0x01 hdr=0x00 nic_uio1@pci0:2:6:0: class=0x020000 card=0x075015ad chip=0x100f8086 rev=0x01 hdr=0x00 [oki@ ~]$ sudo kldunload nic_uio [oki@ ~]$ pciconf -l | egrep '(em|uio)' em0@pci0:2:1:0: class=0x020000 card=0x075015ad chip=0x100f8086 rev=0x01 hdr=0x00 [oki@ ~]$ 2014-03-26 14:35 GMT+09:00 Fred Pedrisa : > Hi, guys. > > > > This variable is not working as intended for FreeBSD :( > > > > It does not dettach nic_uio from the wanted ports :/ > > > >