From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-outbound-1.vmware.com (smtp-outbound-1.vmware.com [208.91.2.12]) by dpdk.org (Postfix) with ESMTP id 57EDC7E97 for ; Tue, 4 Nov 2014 21:02:41 +0100 (CET) Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id AEFEC28E83; Tue, 4 Nov 2014 12:11:54 -0800 (PST) Received: from EX13-CAS-003.vmware.com (EX13-CAS-003.vmware.com [10.113.191.53]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id A808DB0F4D; Tue, 4 Nov 2014 12:11:54 -0800 (PST) Received: from EX13-MBX-020.vmware.com (10.113.191.40) by EX13-MBX-006.vmware.com (10.113.191.26) with Microsoft SMTP Server (TLS) id 15.0.775.38; Tue, 4 Nov 2014 12:11:54 -0800 Received: from EX13-MBX-026.vmware.com (10.113.191.46) by EX13-MBX-020.vmware.com (10.113.191.40) with Microsoft SMTP Server (TLS) id 15.0.775.38; Tue, 4 Nov 2014 12:11:53 -0800 Received: from EX13-MBX-026.vmware.com ([fe80::858b:7f42:fd7c:703d]) by EX13-MBX-026.vmware.com ([fe80::858b:7f42:fd7c:703d%17]) with mapi id 15.00.0775.031; Tue, 4 Nov 2014 12:11:53 -0800 From: Yong Wang To: Yan Freedland , "dev@dpdk.org" Thread-Topic: [dpdk-dev] VMXNET3 with 3 processes Thread-Index: Ac/3fF/K0dDZmdBcRvOGT0KeENlU+QA5tBWA Date: Tue, 4 Nov 2014 20:11:52 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.113.160.246] Content-Type: text/plain; charset="iso-8859-1" Content-ID: <63AEEFE14EFF9C41AED7E0D3274309A6@pa-exch1.vmware.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] VMXNET3 with 3 processes 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, 04 Nov 2014 20:02:41 -0000 On 11/3/14, 7:49 AM, "Yan Freedland" wrote: >Hi=20 > >I am trying to initialize the environment for 3 processes and 2 ports. >Currently I fail in vmxnet3_dev_start (0). >The exact place is as follows: > > /* Activate device by register write */ > VMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_CMD, VMXNET3_CMD_ACTIVATE_DEV); > status =3D VMXNET3_READ_BAR1_REG(hw, VMXNET3_REG_CMD); > > if (status !=3D 0) { <<<<<<<<<< status =3D=3D 1 in my case > PMD_INIT_LOG(ERR, "Device activation in %s(): UNSUCCESSFUL", __func__); > return -1; > } > >Do you have any idea what might it be ? BTW when I used the same >configuration with 2 processes all worked fine. > > >Thanks, >Yan Yan, Do you mean 2/3 processes or 2/3 cores? Can you post the exact cmd you used? In particular, how many tx/rx queues you used to configure the dev? vmxnet3 device has some requirement on the number of rx queues (needs to be a power-of-two) and not sure if that=B9s related. Yong