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 9CF5DA0555; Wed, 19 Feb 2020 14:07:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7F0481B951; Wed, 19 Feb 2020 14:07:52 +0100 (CET) Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) by dpdk.org (Postfix) with ESMTP id 673F81DBD for ; Wed, 19 Feb 2020 14:07:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=654; q=dns/txt; s=iport; t=1582117671; x=1583327271; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=ZiMc69/oVZ1qoq2PdH9uAwS8azRF19x5d/hcSpcSRAs=; b=iiID4Zv0fpQsYU1AFeEO5S+9GTlK98LfaCfpyGWMZG03IM0YgmhNyGRA Pz/qyY/UIwLtAIuSmrCQnZ2h6QlZ5BgAei/MIbC7RyouBlC3MndSaLJlm j6ecQZ34EK//SrSzL/eGWSYW9ZFrkwSvQfzSJOx404T7vTXpwn1ru8I2B w=; IronPort-PHdr: =?us-ascii?q?9a23=3AoynUTxN5yXglTyb2/Ssl6mtXPHoupqn0MwgJ65?= =?us-ascii?q?Eul7NJdOG58o//OFDEu6w/l0fHCIPc7f8My/HbtaztQyQh2d6AqzhDFf4ETB?= =?us-ascii?q?oZkYMTlg0kDtSCDBj5I+TjbSc7FexJVURu+DewNk0GUMs=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BuAQCUMk1e/4oNJK1mHQEBAQkBEQU?= =?us-ascii?q?FAYFpBgELAYFTUAWBRCAECyoKh1ADinFOghGJYo4vgS6BJANUCQEBAQwBAS0?= =?us-ascii?q?CBAEBhEACggQkNgcOAgMNAQEFAQEBAgEFBG2FNwyFZgEBAQEDEi4BATgLBAI?= =?us-ascii?q?BCBEEAQEvIREdCAIEARIIGoVPAy4BAgGiRgKBOYhigieCfwEBBYVJDQuCDAm?= =?us-ascii?q?BOAGMIxqCAIERR4JMPoIbgjKDQIIsrx8yRAoegh2SKoRSgjmYco5viyeQHgI?= =?us-ascii?q?EAgQFAg4BAQWBWQMvgVhwFYMnUBgNjh2Dc0GKEnSBKYxaAYEPAQE?= X-IronPort-AV: E=Sophos;i="5.70,459,1574121600"; d="scan'208";a="711934509" Received: from alln-core-5.cisco.com ([173.36.13.138]) by rcdn-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 19 Feb 2020 13:07:50 +0000 Received: from XCH-ALN-001.cisco.com (xch-aln-001.cisco.com [173.36.7.11]) by alln-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id 01JD7ose005379 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 19 Feb 2020 13:07:50 GMT Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-ALN-001.cisco.com (173.36.7.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 19 Feb 2020 07:07:49 -0600 Received: from xhs-rcd-001.cisco.com (173.37.227.246) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 19 Feb 2020 07:07:49 -0600 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 19 Feb 2020 07:07:49 -0600 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UWmivnwLzcEHKAlvpcXQyR409Xf8+SieOJ2XTolTXXvUvnL0fujkf6wXwDMAAF/SoS5YaInOyh+nfIiKaDb26GypaNMeooQraGpjBcDt/iAfnVngGdOlhevk0enS5PIilCclIrCskByI6mZcGGNCI0FpjqEauecoNnuK91VVAP1AvggkUEjXF7sZaZju8a+8dPHYQWrtwk3yDV2XNtgzoZGtAIjT2TbBZbS01xz5zwiPuHGf+iPc/wujPgPotUM456rWkyMe15c2YYbS0o+kHUdPvcSnZ9K4Z8x26T7vaybP6YNmSqaRYCTveRz0EA6S23MvocbjPI29sZ5dax7RVA== 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=SZvMN18qa0eskp0VTzvvZFx+oJ7UToQg4H38PJaOSGw=; b=GOySJRfIosdwLxduS/SykjQ0guh3Q6jwfhhRJWNwAqB3H61TTs1vmDuoUU+NCdG5Pk4auP3ularBhVMGA+52LkvqIArBtGhq3v7T6t1yZdBl9k0W1AF0ParmADxB4+TxxceXU3VeRhhWwe2FgHaxVmzh4+Kkv7V6D9lGArwAjnLnn+hDJN7USeDj79mFe6EGgCCJ24SPw5DLSvS/TVguE5wSTvk7WVAQ46hgVU8ITTq+wdjDY2rhfLafeoZKaRP/eevDoiv00bvyBED1j6FXUrCtW0u9vqGMzeZIkjBSJXAXhYFYQqx918zrPB9wWpjUIM9qBa8SFZhMO74GV9gOMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SZvMN18qa0eskp0VTzvvZFx+oJ7UToQg4H38PJaOSGw=; b=gTySCEIqMe5aMfD/qsTmvVLvguRrAZUkeeNBMtaemtKN9CKsUppDCytvf9s1TqEP9nh1NecUBqDPP8vdXTmcQ3yb/p6nvKXxcLRjDCmhM2sE7aYcScWDKTs2PvpCyM5XzlZwz1C07e+ZWEQ+Qjb2YYombcMxCF0UhhVTopcE6w8= Received: from DM6PR11MB4186.namprd11.prod.outlook.com (20.176.125.210) by DM6PR11MB2857.namprd11.prod.outlook.com (20.176.101.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.26; Wed, 19 Feb 2020 13:07:48 +0000 Received: from DM6PR11MB4186.namprd11.prod.outlook.com ([fe80::1063:96be:59eb:740a]) by DM6PR11MB4186.namprd11.prod.outlook.com ([fe80::1063:96be:59eb:740a%4]) with mapi id 15.20.2729.033; Wed, 19 Feb 2020 13:07:48 +0000 From: "Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)" To: =?iso-8859-2?Q?J=FAlius_Milan?= , "dev@dpdk.org" Thread-Topic: [dpdk-dev][PATCH 1/2] net/memif: enable loopback Thread-Index: AQHV5v05X6YDVPXfDkeUT0Ib08wZP6giNzcw Date: Wed, 19 Feb 2020 13:07:48 +0000 Message-ID: References: <20200219081840.GA11729@vbox> In-Reply-To: <20200219081840.GA11729@vbox> 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=jgrajcia@cisco.com; x-originating-ip: [81.89.53.154] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e816d0c1-0aaa-48af-cbee-08d7b53cb7c5 x-ms-traffictypediagnostic: DM6PR11MB2857: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2887; x-forefront-prvs: 0318501FAE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(376002)(396003)(366004)(136003)(189003)(199004)(110136005)(33656002)(55016002)(316002)(81156014)(81166006)(186003)(4744005)(71200400001)(9686003)(52536014)(7696005)(5660300002)(86362001)(53546011)(8676002)(478600001)(6506007)(2906002)(26005)(76116006)(66946007)(66446008)(8936002)(66476007)(66556008)(64756008); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB2857; H:DM6PR11MB4186.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: H/smQIZpkwYl3D225XUZ9a3ruU15oM8gSna7c6nji4uS3O3Hi9pVcve1XjyyT/3oV3EQAnYrLzoWNZ12nZQeNFt/nPsV9gK61rEVycXbF9ntBDW3HuP0DrmLyprOXdzvuXt0ubEJJ3Id94tvhXzcbnPVTb6dznlDQ+sb6bFgb5d/Fa+B4nD0hChsaQ4N34pt206Afd0/tN7CUMukkm0jAIgbASAZzk1B74RrUPb8ZnaYmzsEVK/0Z3RO7B4Vfx9cSBaRd9U8D09VkmmZeCpnL3LLIHa8+0BCtpFILn/hbyj6ENxUyjn73krkaqVmtH65NWrU7B5t+AinG5XdkXl/QWgsv0M4p/vbYcnQ7rkTi7NTKPHb+4P2plza2Plo3i1iRdBBrJt6YIcG4vk7hnh2U/9Sb2uLLY21QtvO507OvxizHwQPNREA/DdPRzf6bHmQ x-ms-exchange-antispam-messagedata: j79j/oxmo6u1C72kllyD0bHpEsiqKfuhz5kYNgPsBVmvDopYubuN6kxUZmsGfQ7PP7OZLOD263tQlAYBLxPS9d9OxeiSnGUvIVQK05MbfA2UtYpBGhMeUGSjE9IFValDqKtWL8i9qG7/QQ+JPiAiQA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e816d0c1-0aaa-48af-cbee-08d7b53cb7c5 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Feb 2020 13:07:48.1233 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /sJWokM6IOyElXvHcIm1b4PSu/popJh41ZFQOtFVNXw1CkXRDJp/IS6AMbfdNJSFs3Y6H25IH9yOGyQGSritrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2857 X-OriginatorOrg: cisco.com X-Outbound-SMTP-Client: 173.36.7.11, xch-aln-001.cisco.com X-Outbound-Node: alln-core-5.cisco.com Subject: Re: [dpdk-dev] [PATCH 1/2] net/memif: enable loopback 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" > -----Original Message----- > From: J=FAlius Milan > Sent: Wednesday, February 19, 2020 9:19 AM > To: dev@dpdk.org; Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisc= o) > > Subject: [dpdk-dev][PATCH 1/2] net/memif: enable loopback >=20 > With this patch it is possible to connect 2 DPDK memifs into loopback, i.= e. > when they have the same id and different roles, as for example: > "--vdev=3Dnet_memif0,role=3Dmaster,id=3D0" > "--vdev=3Dnet_memif1,role=3Dslave,id=3D0" >=20 > Signed-off-by: J=FAlius Milan Reviewed-by: Jakub Grajciar