From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20046.outbound.protection.outlook.com [40.107.2.46]) by dpdk.org (Postfix) with ESMTP id 28649F90 for ; Sun, 22 Apr 2018 11:09:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=8xSTbvvDM+RB+/vGxJpKqMsCPqE6C7CwZZzodaiwn4o=; b=R/anKbQJPT9DsBXjRDSAMF6hS1cQVmY575fJBnmUr+YuQnf2aGu509pwtoLEGZEQTiUDI6go4OEzVz+Vb1q7CZufUZI+jXRgh+cYYO7sZMhIEEgJyvgRm+CggUyi5G12hoFVV4h1VBl7TK4wYm0FsPyBpUmKIfptMMAqJnhc6qQ= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4361.eurprd05.prod.outlook.com (52.134.108.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.14; Sun, 22 Apr 2018 09:09:31 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f116:5be4:ba29:fed8]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f116:5be4:ba29:fed8%13]) with mapi id 15.20.0696.015; Sun, 22 Apr 2018 09:09:31 +0000 From: Shahaf Shuler To: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , "Yongseok Koh" CC: Adrien Mazarguil , "dev@dpdk.org" , Anatoly Burakov Thread-Topic: [dpdk-dev] [PATCH 1/2] net/mlx5: fix alignment of Memory Region Thread-Index: AQHT1nt0FFJbhE4/w02BaduHSGSr/qQGFB0AgAZx44A= Date: Sun, 22 Apr 2018 09:09:31 +0000 Message-ID: References: <20180417183914.10175-1-yskoh@mellanox.com> <20180418064320.sbxv4gmuu6gwextp@laranjeiro-vm.dev.6wind.com> In-Reply-To: <20180418064320.sbxv4gmuu6gwextp@laranjeiro-vm.dev.6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [31.154.10.107] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4361; 7:joBSaWrBFNu+GORdapIjhSF4R+LV8oKrHIn/SIMYbxi5O2nbHUWT2pSSMWtmefV/Cybf6H3xERwOX9WLjLVVjIf36u4mwU7OqRhI9FupPVAJp9rxN3/h9abDu5SOFspwpG7lceQbaK9B8MQoKccha5Pj2GANwXjgIseVeciRH1daOs3PAgmA6Bj3Ra5jH6H5dbCV0E76yFuzwQqyY0bvuTz1aOFEHYm01R+8tvQrYZDZ5FqCrbtpinK1LGxhoU+z x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4361; x-ms-traffictypediagnostic: DB7PR05MB4361: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231232)(944501410)(52105095)(6055026)(6041310)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011); SRVR:DB7PR05MB4361; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4361; x-forefront-prvs: 0650714AAA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(346002)(376002)(396003)(366004)(39380400002)(39860400002)(7696005)(4326008)(74316002)(11346002)(66066001)(8676002)(25786009)(81166006)(76176011)(2900100001)(446003)(5660300001)(5250100002)(2906002)(476003)(86362001)(305945005)(3280700002)(102836004)(229853002)(6636002)(55016002)(9686003)(478600001)(6506007)(33656002)(14454004)(53936002)(8936002)(54906003)(6246003)(110136005)(26005)(3846002)(6116002)(186003)(3660700001)(7736002)(6436002)(99286004)(316002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4361; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:ovrnspm; PTR:InfoNoRecords; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: FTWSwWg1DDi/e4bT6EvKB+Q6k0UgpX4HP1KBxB6GNnUHtlRlhQUL0FL5T+lY5doORgOtgcJoVOZWUqTb1tMZF88fc5W2BfzEQFy/Uq5mOixj0LE8/8hrXhBoz8sUcagvK+N10SwYOA8/1TjQQxj/grZD8DXrHXsJTLbtgHK0IAd+RT4axZF/VYaWFoJ7x8ig spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: fde1d463-9fc4-4476-e1f1-08d5a830c25f X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: fde1d463-9fc4-4476-e1f1-08d5a830c25f X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2018 09:09:31.4347 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4361 Subject: Re: [dpdk-dev] [PATCH 1/2] net/mlx5: fix alignment of Memory Region X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2018 09:09:33 -0000 Wednesday, April 18, 2018 9:43 AM, N=E9lio Laranjeiro: > Subject: Re: [dpdk-dev] [PATCH 1/2] net/mlx5: fix alignment of Memory > Region >=20 > On Tue, Apr 17, 2018 at 11:39:13AM -0700, Yongseok Koh wrote: > > The memory region is [start, end), so if the memseg of 'end' isn't > > allocated yet, the returned memseg will have zero entries and this > > will make 'end' zero (nil). > > > > Fixes: 718e35999c96 ("net/mlx5: use virt2memseg instead of iteration") > > Cc: Anatoly Burakov > > > > Signed-off-by: Yongseok Koh >=20 > Acked-by: Nelio Laranjeiro Series applied to next-net-mlx with Adrien's line removal suggestion. Thank= s=20