From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <prvs=10039e0887=vattunuru@marvell.com>
Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com
 [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 4F5F65B3C
 for <dev@dpdk.org>; Wed, 10 Apr 2019 13:43:45 +0200 (CEST)
Received: from pps.filterd (m0045849.ppops.net [127.0.0.1])
 by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id
 x3ABThT9009427; Wed, 10 Apr 2019 04:43:44 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 mime-version; s=pfpt0818; bh=nnj9524Rmz25Jw6ri5vzqZ3FwlrRQzr1w7Gil2Xhwno=;
 b=sPqbgKdXLmDwoAtWxnTudvOKeghFIMtcRIUbU2CtfJ+c9JJ1OA7dXEfhFtFYEY3Sytol
 rCDaSQCHjxwrq1IxCmlE3k8h44trSeeSqz4jWRJt1KB5dN+O80aDLaA62Rj9B/IzVFve
 VkXiZaAxr+DQ72ipYdKw3T0ULVztQsghD1F2sFRsneAZqHYJcVJ7bgkL1pdC7nkewjli
 vTxIdo+EaTE9/PQwpWW7uB5W89O6olbjOhgo9zPvEiWGF7gPDPN8Xtd9DITXlx7pDDFm
 O3J7N25pyx4gsYEv4srEkyY5koYf49aTQIbbAw5jKFajWyWDuMMutzWrEh5pgCt9a33e Ig== 
Received: from sc-exch03.marvell.com ([199.233.58.183])
 by mx0a-0016f401.pphosted.com with ESMTP id 2rs50et7vg-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);
 Wed, 10 Apr 2019 04:43:44 -0700
Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com
 (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 10 Apr
 2019 04:43:43 -0700
Received: from NAM03-CO1-obe.outbound.protection.outlook.com (104.47.40.58) by
 SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server
 (TLS) id
 15.0.1367.3 via Frontend Transport; Wed, 10 Apr 2019 04:43:43 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=marvell.onmicrosoft.com; s=selector1-marvell-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=nnj9524Rmz25Jw6ri5vzqZ3FwlrRQzr1w7Gil2Xhwno=;
 b=XF9LUlOPG/O7bp/V+kcDgIdHiBwgDEO0MeZcAygoySawcVHCqFYzjR9rdZga6ZtdGtT3z8s+bT9xewJ+uV7tBDz9d5wMAtAD0mcCsFUfo676lNLpQ4LnYUPmBgj6NEkJIe5zQ8IwUR0Fad0Xgij9bN7knXyOlViuPFsgC1I/h7I=
Received: from BYAPR18MB2631.namprd18.prod.outlook.com (20.179.94.156) by
 BYAPR18MB2950.namprd18.prod.outlook.com (20.179.59.154) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.1792.15; Wed, 10 Apr 2019 11:43:42 +0000
Received: from BYAPR18MB2631.namprd18.prod.outlook.com
 ([fe80::106e:2ce4:f444:5051]) by BYAPR18MB2631.namprd18.prod.outlook.com
 ([fe80::106e:2ce4:f444:5051%6]) with mapi id 15.20.1771.021; Wed, 10 Apr 2019
 11:43:42 +0000
From: Vamsi Krishna Attunuru <vattunuru@marvell.com>
To: David Marchand <david.marchand@redhat.com>
CC: dev <dev@dpdk.org>, Michael Santana <msantana@redhat.com>, Aaron Conole
 <aconole@redhat.com>
Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH v1 1/1] app/test: fix --socket-mem
 option in eal flag autotest
Thread-Index: AQHU726d70DQXpc0oEygliR9NRDaEqY1D1IAgAA17Qs=
Date: Wed, 10 Apr 2019 11:43:42 +0000
Message-ID: <BYAPR18MB2631DD477D7B7424C6BA9E77A62E0@BYAPR18MB2631.namprd18.prod.outlook.com>
References: <20190410072532.17182-1-vattunuru@marvell.com>,
 <CAJFAV8zyhoCYh3cW0iFFGe1bRALJVYN+5JxtTY2cT_ChaWG9cg@mail.gmail.com>
In-Reply-To: <CAJFAV8zyhoCYh3cW0iFFGe1bRALJVYN+5JxtTY2cT_ChaWG9cg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [115.113.156.2]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 1cc8729b-3823-4468-2d86-08d6bda9c81d
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(2017052603328)(7193020);
 SRVR:BYAPR18MB2950; 
x-ms-traffictypediagnostic: BYAPR18MB2950:
x-microsoft-antispam-prvs: <BYAPR18MB295023171B5A8E625C80DC50A62E0@BYAPR18MB2950.namprd18.prod.outlook.com>
x-forefront-prvs: 00032065B2
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10009020)(136003)(39860400002)(366004)(376002)(346002)(396003)(189003)(199004)(53936002)(476003)(99286004)(68736007)(106356001)(8676002)(105586002)(3846002)(71190400001)(6116002)(81166006)(52536014)(55016002)(81156014)(54896002)(256004)(446003)(9686003)(6916009)(236005)(6606003)(71200400001)(5660300002)(486006)(11346002)(14454004)(53546011)(86362001)(4744005)(7696005)(6436002)(55236004)(6246003)(2906002)(54906003)(8936002)(19627405001)(6506007)(33656002)(97736004)(66066001)(478600001)(74316002)(4326008)(316002)(7736002)(76176011)(102836004)(25786009)(26005)(229853002)(186003);
 DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2950;
 H:BYAPR18MB2631.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en;
 PTR:InfoNoRecords; MX:1; A:1; 
received-spf: None (protection.outlook.com: marvell.com does not designate
 permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: TflkuyjsQ0I4ON11Ei4XgEZHBhjJbTTiPc9ebr4i5y4Chlqg3687T6yklIA5yVPyX3CYWTgZpzZg8RPcWtVWE/ZaaqjODCMtsyievEdFj2SvnCehkYSFPtVfGwm4hNDLUhcTApaBasBSndptknsIgk9cYOpWHBkrwX0TH1CTR6N4hxh+szfkOj5cfYV+RK4d9VagDFYkM7EDjXu87UOdUh+na47QgW+M6vEk65aGAxWqulh0g7KUPM+NM8O0OiU/B7/oedBgXR64CT1Ahh5cTihsH1AqEvVUO+3Hxdt7YSnNBHSqV4UMpk2s/pGUPIhUpf1flp3ZlSSwVLRsVPZspziRqLiKcIX/uWg9INZa9oWz6+3x8pWxU2TU4Nt5rCgNQj5LthiZ4J0xUwR4ESZrrfz5vGXO7KQ2f3M0m3gMY+U=
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 1cc8729b-3823-4468-2d86-08d6bda9c81d
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2019 11:43:42.2851 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2950
X-OriginatorOrg: marvell.com
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
 definitions=2019-04-10_06:, , signatures=0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [dpdk-dev] [EXT] Re: [PATCH v1 1/1] app/test: fix --socket-mem
 option in eal flag autotest
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Apr 2019 11:43:45 -0000




________________________________
From: David Marchand <david.marchand@redhat.com>
Sent: Wednesday, April 10, 2019 1:56 PM
To: Vamsi Krishna Attunuru
Cc: dev; Michael Santana; Aaron Conole
Subject: [EXT] Re: [dpdk-dev] [PATCH v1 1/1] app/test: fix --socket-mem opt=
ion in eal flag autotest

External Email
________________________________
On Wed, Apr 10, 2019 at 9:26 AM Vamsi Attunuru <vattunuru@marvell.com<mailt=
o:vattunuru@marvell.com>> wrote:
"argv2[]" positive test case fails with RTE_MAX_NUMA_NODES=3D1 config
because of "--socket-mem=3D0,0,0,0" option, which passes memory sizes
for multiple sockets. This patch fixes the issue by passing memory
size for node 0 alone.

How about modifying the test so that it also validates the format is consis=
tent with the RTE_MAX_NUMA_NODES value ?

Vamsi > Yes, started working on it, it should also fix other negative tests=
(false negative) beneath argv2[] test.


--
David Marchand

From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id F0A5DA0096
	for <public@inbox.dpdk.org>; Wed, 10 Apr 2019 13:43:47 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id A20DC5B3E;
	Wed, 10 Apr 2019 13:43:46 +0200 (CEST)
Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com
 [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 4F5F65B3C
 for <dev@dpdk.org>; Wed, 10 Apr 2019 13:43:45 +0200 (CEST)
Received: from pps.filterd (m0045849.ppops.net [127.0.0.1])
 by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id
 x3ABThT9009427; Wed, 10 Apr 2019 04:43:44 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;
 h=from : to : cc :
 subject : date : message-id : references : in-reply-to : content-type :
 mime-version; s=pfpt0818; bh=nnj9524Rmz25Jw6ri5vzqZ3FwlrRQzr1w7Gil2Xhwno=;
 b=sPqbgKdXLmDwoAtWxnTudvOKeghFIMtcRIUbU2CtfJ+c9JJ1OA7dXEfhFtFYEY3Sytol
 rCDaSQCHjxwrq1IxCmlE3k8h44trSeeSqz4jWRJt1KB5dN+O80aDLaA62Rj9B/IzVFve
 VkXiZaAxr+DQ72ipYdKw3T0ULVztQsghD1F2sFRsneAZqHYJcVJ7bgkL1pdC7nkewjli
 vTxIdo+EaTE9/PQwpWW7uB5W89O6olbjOhgo9zPvEiWGF7gPDPN8Xtd9DITXlx7pDDFm
 O3J7N25pyx4gsYEv4srEkyY5koYf49aTQIbbAw5jKFajWyWDuMMutzWrEh5pgCt9a33e Ig== 
Received: from sc-exch03.marvell.com ([199.233.58.183])
 by mx0a-0016f401.pphosted.com with ESMTP id 2rs50et7vg-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);
 Wed, 10 Apr 2019 04:43:44 -0700
Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com
 (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 10 Apr
 2019 04:43:43 -0700
Received: from NAM03-CO1-obe.outbound.protection.outlook.com (104.47.40.58) by
 SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server
 (TLS) id
 15.0.1367.3 via Frontend Transport; Wed, 10 Apr 2019 04:43:43 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=marvell.onmicrosoft.com; s=selector1-marvell-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=nnj9524Rmz25Jw6ri5vzqZ3FwlrRQzr1w7Gil2Xhwno=;
 b=XF9LUlOPG/O7bp/V+kcDgIdHiBwgDEO0MeZcAygoySawcVHCqFYzjR9rdZga6ZtdGtT3z8s+bT9xewJ+uV7tBDz9d5wMAtAD0mcCsFUfo676lNLpQ4LnYUPmBgj6NEkJIe5zQ8IwUR0Fad0Xgij9bN7knXyOlViuPFsgC1I/h7I=
Received: from BYAPR18MB2631.namprd18.prod.outlook.com (20.179.94.156) by
 BYAPR18MB2950.namprd18.prod.outlook.com (20.179.59.154) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.1792.15; Wed, 10 Apr 2019 11:43:42 +0000
Received: from BYAPR18MB2631.namprd18.prod.outlook.com
 ([fe80::106e:2ce4:f444:5051]) by BYAPR18MB2631.namprd18.prod.outlook.com
 ([fe80::106e:2ce4:f444:5051%6]) with mapi id 15.20.1771.021; Wed, 10 Apr 2019
 11:43:42 +0000
From: Vamsi Krishna Attunuru <vattunuru@marvell.com>
To: David Marchand <david.marchand@redhat.com>
CC: dev <dev@dpdk.org>, Michael Santana <msantana@redhat.com>, Aaron Conole
 <aconole@redhat.com>
Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH v1 1/1] app/test: fix --socket-mem
 option in eal flag autotest
Thread-Index: AQHU726d70DQXpc0oEygliR9NRDaEqY1D1IAgAA17Qs=
Date: Wed, 10 Apr 2019 11:43:42 +0000
Message-ID:
 <BYAPR18MB2631DD477D7B7424C6BA9E77A62E0@BYAPR18MB2631.namprd18.prod.outlook.com>
References: <20190410072532.17182-1-vattunuru@marvell.com>,
 <CAJFAV8zyhoCYh3cW0iFFGe1bRALJVYN+5JxtTY2cT_ChaWG9cg@mail.gmail.com>
In-Reply-To: <CAJFAV8zyhoCYh3cW0iFFGe1bRALJVYN+5JxtTY2cT_ChaWG9cg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [115.113.156.2]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 1cc8729b-3823-4468-2d86-08d6bda9c81d
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(2017052603328)(7193020);
 SRVR:BYAPR18MB2950; 
x-ms-traffictypediagnostic: BYAPR18MB2950:
x-microsoft-antispam-prvs: <BYAPR18MB295023171B5A8E625C80DC50A62E0@BYAPR18MB2950.namprd18.prod.outlook.com>
x-forefront-prvs: 00032065B2
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10009020)(136003)(39860400002)(366004)(376002)(346002)(396003)(189003)(199004)(53936002)(476003)(99286004)(68736007)(106356001)(8676002)(105586002)(3846002)(71190400001)(6116002)(81166006)(52536014)(55016002)(81156014)(54896002)(256004)(446003)(9686003)(6916009)(236005)(6606003)(71200400001)(5660300002)(486006)(11346002)(14454004)(53546011)(86362001)(4744005)(7696005)(6436002)(55236004)(6246003)(2906002)(54906003)(8936002)(19627405001)(6506007)(33656002)(97736004)(66066001)(478600001)(74316002)(4326008)(316002)(7736002)(76176011)(102836004)(25786009)(26005)(229853002)(186003);
 DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2950;
 H:BYAPR18MB2631.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en;
 PTR:InfoNoRecords; MX:1; A:1; 
received-spf: None (protection.outlook.com: marvell.com does not designate
 permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: TflkuyjsQ0I4ON11Ei4XgEZHBhjJbTTiPc9ebr4i5y4Chlqg3687T6yklIA5yVPyX3CYWTgZpzZg8RPcWtVWE/ZaaqjODCMtsyievEdFj2SvnCehkYSFPtVfGwm4hNDLUhcTApaBasBSndptknsIgk9cYOpWHBkrwX0TH1CTR6N4hxh+szfkOj5cfYV+RK4d9VagDFYkM7EDjXu87UOdUh+na47QgW+M6vEk65aGAxWqulh0g7KUPM+NM8O0OiU/B7/oedBgXR64CT1Ahh5cTihsH1AqEvVUO+3Hxdt7YSnNBHSqV4UMpk2s/pGUPIhUpf1flp3ZlSSwVLRsVPZspziRqLiKcIX/uWg9INZa9oWz6+3x8pWxU2TU4Nt5rCgNQj5LthiZ4J0xUwR4ESZrrfz5vGXO7KQ2f3M0m3gMY+U=
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 1cc8729b-3823-4468-2d86-08d6bda9c81d
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2019 11:43:42.2851 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2950
X-OriginatorOrg: marvell.com
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
 definitions=2019-04-10_06:, , signatures=0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [dpdk-dev] [EXT] Re: [PATCH v1 1/1] app/test: fix --socket-mem
 option in eal flag autotest
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>
Message-ID: <20190410114342.HYrrS2UpS02tTnZuldbhj6Xra1YWeIQAchKK5PHoxU4@z>




________________________________
From: David Marchand <david.marchand@redhat.com>
Sent: Wednesday, April 10, 2019 1:56 PM
To: Vamsi Krishna Attunuru
Cc: dev; Michael Santana; Aaron Conole
Subject: [EXT] Re: [dpdk-dev] [PATCH v1 1/1] app/test: fix --socket-mem opt=
ion in eal flag autotest

External Email
________________________________
On Wed, Apr 10, 2019 at 9:26 AM Vamsi Attunuru <vattunuru@marvell.com<mailt=
o:vattunuru@marvell.com>> wrote:
"argv2[]" positive test case fails with RTE_MAX_NUMA_NODES=3D1 config
because of "--socket-mem=3D0,0,0,0" option, which passes memory sizes
for multiple sockets. This patch fixes the issue by passing memory
size for node 0 alone.

How about modifying the test so that it also validates the format is consis=
tent with the RTE_MAX_NUMA_NODES value ?

Vamsi > Yes, started working on it, it should also fix other negative tests=
(false negative) beneath argv2[] test.


--
David Marchand