From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51])
 by dpdk.org (Postfix) with ESMTP id BD9CC678C
 for <dev@dpdk.org>; Thu, 24 Jul 2014 14:49:49 +0200 (CEST)
Received: by mail-wg0-f51.google.com with SMTP id b13so2656065wgh.34
 for <dev@dpdk.org>; Thu, 24 Jul 2014 05:51:16 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:organization
 :user-agent:in-reply-to:references:mime-version
 :content-transfer-encoding:content-type;
 bh=kfLUaBQ+pEqLfpDBVSSxNgAfgYfdj+MQBAQVxfuaqTA=;
 b=EFhn60dif8G94ApBHxH5G9ukT6O1CVOcc9UbAC2xAHTM6AI0tW7UmmPeBies3JUBHl
 buXgEmlRCtUOmQNReOPVT35nMQYZ8jDVRW+pMDQbZvk0PIckkuL6AyeLW5rxG8WBvmO9
 ee4oG3iHZF7nwwspmym7tgIZbBhw87bqudG3KPk3u6M9EIrIizF2yQ/mOPOJX/119T3P
 WYlw9QQX5qdomcEjUTGa9S71lJkNRcwXs+84hTMAshP0HrfsM+M+dzArgXadco2uT9UN
 mqfSyhOBbGyr9Ng517XOZ9t+HkLLfm4w3tkxps/95OQa4Ly9NJBVF9yG0DwqUEeX7YGC
 IGtw==
X-Gm-Message-State: ALoCoQnars98mLRKwCnvcQIyZrU1Pk+rPEceTix+a715dYe12W088poQXf7+6zpDVbzWDEIxT7jT
X-Received: by 10.194.6.134 with SMTP id b6mr12416082wja.64.1406206276713;
 Thu, 24 Jul 2014 05:51:16 -0700 (PDT)
Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136])
 by mx.google.com with ESMTPSA id h3sm15637531wjz.48.2014.07.24.05.51.15
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 24 Jul 2014 05:51:16 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: sothy shan <sothy.e98@gmail.com>
Date: Thu, 24 Jul 2014 14:51:04 +0200
Message-ID: <4680006.49a2zB1OLs@xps13>
Organization: 6WIND
User-Agent: KMail/4.13.2 (Linux/3.15.5-2-ARCH; KDE/4.13.2; x86_64; ; )
In-Reply-To: <7583940.5R3m6hi2Eh@xps13>
References: <CAHcF_0brn7OPhvWdb5JDuckkFPk65qhR-r2Kr6uJ9QORtCptNg@mail.gmail.com>
 <7583940.5R3m6hi2Eh@xps13>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] rte_eth_dev_configure
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jul 2014 12:49:49 -0000

2014-07-24 14:44, Thomas Monjalon:
> 2014-07-24 14:34, sothy shan:
> > Second, any clue why rte_eth_dev_configure give an error with code -22?
> 
> It depends of your driver.
> Example: #define IXGBE_ERR_NO_SAN_ADDR_PTR -22

It's more probably -EINVAL without driver dependency.
It means there is a mistake in your configuration.
PMD_DEBUG_TRACE will help you.

-- 
Thomas