From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 88803A04FA; Thu, 6 Feb 2020 09:25:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A50A81C0AB; Thu, 6 Feb 2020 09:25:00 +0100 (CET) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30057.outbound.protection.outlook.com [40.107.3.57]) by dpdk.org (Postfix) with ESMTP id 0C0F91C0AA for ; Thu, 6 Feb 2020 09:24:59 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HDYV3AM1wsQ+z60qPGy1FUESg1Xy9ms8yHKH7s7733Q4q8B3tVej0TI36oVCJ6WijAk35pomAr3dgjjSoM4guipn1TvdpXc1k5qPNZqh3HHnWK2zAZwpqrqk8Y3nsV04hNPQcRRSZuLjNzARKlEDrroIn5ls7PHaR5+NqJ3JvQWlE+wDJV9cm4M1QZDCq5af4W8RjXRZO8981n7J3COdp9hk9CVuJxGKInjmNZX3W3ElzCHP0KmSNRYUra60SCYYb3EK1j891RJywWRa+S7oswwnFiXsQGFGOc5UZG+f4x34HCfE62DY5RVshQH1hGY9Ix2QDWGVRa2uSQlf+tK1FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=syrgDs5ignP8IKrbX+NB9nh6UMFp1jwmFMC4Ssjk3qw=; b=Bj1v1zr3+mIYL+Jrej+ZA4iZ6WAOxm15IBgh48u83TydifdVyZnzPPN7KtK+uQsnnNTX4SHCYPTsCTsNjsgo4AaAmTC+3IPl6em47MtvSpEXxb4bnER45G/sBJ+4IptfeOROxypXbhHZjZtMEIwS1JdiCJgFlhYIh/EI6e0ICwF2Afhx9SoaxD1r6cDodvkWL0ItHpxnpHbWfc31fGSUiQfYGiyKgLCwfEu0XOahM1F6gz4LoaG9eRpMwhvoSSFHic2BVDzRMEbbVqQz4V+cF4VrtB5Wp+DzHm67UvLyfjcjcAT9TfwnXhJEcoV7/yP/PtkdaW2vOtnfgFqqC8R1HA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none 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:X-MS-Exchange-SenderADCheck; bh=syrgDs5ignP8IKrbX+NB9nh6UMFp1jwmFMC4Ssjk3qw=; b=sQQ0lukdl/nNAHG5n/Yl3PlhiUhgrw7xlI+1apG3nYchk/4TD84GNCG/Ho0ENm3/kxS+f1wipgDdCVvzPcxosXSyHFFE9gJaXqQRr1Z+tDVEJ8rETS7QGG+V1NLb0+eznHBr2Ou76RohZMibf3vMqEyFMmWtH83Po76QeQIrNhU= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (10.171.188.154) by AM4PR05MB3427.eurprd05.prod.outlook.com (10.171.187.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.23; Thu, 6 Feb 2020 08:24:58 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::68eb:ad79:71f4:110f]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::68eb:ad79:71f4:110f%3]) with mapi id 15.20.2686.035; Thu, 6 Feb 2020 08:24:57 +0000 From: Slava Ovsiienko To: Olivier Matz CC: "dev@dpdk.org" , Matan Azrad , Raslan Darawsheh , Ori Kam , Shahaf Shuler , "stephen@networkplumber.org" , "thomas@mellanox.net" Thread-Topic: [PATCH] app/test: add test for mbuf with pinned external buffer Thread-Index: AQHV3MXguqi83uQ9kki4jh6LKaFHlagN0zig Date: Thu, 6 Feb 2020 08:24:57 +0000 Message-ID: References: <20191118094938.192850-1-shahafs@mellanox.com> <1579897518-29362-1-git-send-email-viacheslavo@mellanox.com> <20200206081726.GM22738@platinum> In-Reply-To: <20200206081726.GM22738@platinum> 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=viacheslavo@mellanox.com; x-originating-ip: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 18317073-9231-454f-314b-08d7aade0d58 x-ms-traffictypediagnostic: AM4PR05MB3427:|AM4PR05MB3427: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0305463112 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(376002)(136003)(396003)(366004)(199004)(189003)(55016002)(81166006)(86362001)(9686003)(52536014)(6506007)(53546011)(66946007)(66556008)(76116006)(64756008)(66446008)(66476007)(26005)(186003)(7696005)(8676002)(2906002)(4326008)(54906003)(81156014)(5660300002)(316002)(6916009)(8936002)(33656002)(478600001)(71200400001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3427; H:AM4PR05MB3265.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: b7ZRpDCOcyLt7YV/567rOSwUBhReBDmv657PXUZH3faUTZPRQagaJGConG/Zq43cxHF174wVGNaB+GcB1ToCGQQyu0AIdcr+SQ53NNdAlom2MHs+VEAJXOnnO/7NCHVuo1OYPudiLZelPfWeva2wg7cH9PBN2X+abr/4+7wCu+PY2cI2Vfxp9xI20Y6GGOxSkoK0NbCG1+p1c7Xl2na3WQJqUurO08rpJcbe4ZXqQKCHwW7dFsqobEyxZD2vDYg9vcQOSF+GZ4uZDbOh3RCsjb2028WRJNUpJfgsdScKdvbmF1JkGUH6teGLX7dlj7Sy8XtMpgi9xXVu0UT9jh07YR2wRfT+aqSB6/FQeGXO4sWHZyMV4s2XeqGehNNWGJq5PhlqLVHtOYG51fOVBQ8iBkKgBgekp2LCaJ4SFf2mBn5gA3rej1z06f7UhO0TH5re x-ms-exchange-antispam-messagedata: zJ86O6oexKKJp+XkkuP8owRWkxYlljolFqtiQMmCQwuMcX/yGqoaJ/MLvnQ05LlhdizsMex1ENbX4zCNiZe+Ctfq2NOHLmYiM1sTc9wTUwwZ5g2b6PH/ulhRD2jCwo10K3XBLZa1I5IZI0SO+p/IDw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 18317073-9231-454f-314b-08d7aade0d58 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2020 08:24:57.8690 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1JPXC0Nj7QoB64Vf+NKsCcBGMbwyLYonSqG9m/fxb1RUuY1ZeTBq7eZedVfmCwFHLuQGN0FkJAz+OHhNCYtySJ6h9KStfHx6y1uGNu4qAtw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3427 Subject: Re: [dpdk-dev] [PATCH] app/test: add test for mbuf with pinned external buffer 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Olivier, thanks for the reviewing. I'll remove the comment and send the v2. I use 1G huge pages, will retest over 2M and continue finding why my host fails. With best regards, Slava > -----Original Message----- > From: Olivier Matz > Sent: Thursday, February 6, 2020 10:17 > To: Slava Ovsiienko > Cc: dev@dpdk.org; Matan Azrad ; Raslan Darawsheh > ; Ori Kam ; Shahaf Shuler > ; stephen@networkplumber.org; > thomas@mellanox.net > Subject: Re: [PATCH] app/test: add test for mbuf with pinned external buf= fer >=20 > Hi, >=20 > On Fri, Jan 24, 2020 at 08:25:18PM +0000, Viacheslav Ovsiienko wrote: > > This patch adds unit test for the mbufs allocated from the special > > pool with pinned external data buffers. > > > > The pinned buffer mbufs are tested in the same way as regular ones > > with taking into account some specifics of cloning/attaching. > > > > Signed-off-by: Viacheslav Ovsiienko >=20 > Looks good to me, you can add my ack in the v2, once we understand the > issue with verify_mbuf_check_panics(). >=20 > > @@ -1199,10 +1212,11 @@ > > buf =3D rte_pktmbuf_alloc(pktmbuf_pool); > > if (buf =3D=3D NULL) > > return -1; > > + /* > > printf("Checking good mbuf initially\n"); > > if (verify_mbuf_check_panics(buf) !=3D -1) > > return -1; > > - > > + */ > > printf("Now checking for error conditions\n"); > > > > if (verify_mbuf_check_panics(NULL)) { @@ -2411,6 +2425,120 @@ > struct > > test_case { >=20 > Note: on my platform, it still works if I remove this comment. >=20 > Regards, > Olivier