From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20069.outbound.protection.outlook.com [40.107.2.69]) by dpdk.org (Postfix) with ESMTP id B58BA1B89F for ; Tue, 15 May 2018 16:05:51 +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=jgmbiwV88leIbMCH1bldSCSqygq1sotwiC9pHMyne6c=; b=wDXT5UtMzpx1CYIMtdvFpwissfXMJ8vpKLDP8s34AQF+0CK0I52bWEdAdnKXBYEOuT6yGMiZ97uwEUfAlOqntRyQaT4N8v90LMerFezwmYe1BKsXHmQ1T52FirenNXF91QSxWPYP8pAU8BxlQHseEzOEycWc2f2MUoNbAo+oXtE= Received: from AM4PR05MB3427.eurprd05.prod.outlook.com (10.171.187.144) by AM4PR05MB1826.eurprd05.prod.outlook.com (10.167.90.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.776.11; Tue, 15 May 2018 14:05:50 +0000 Received: from AM4PR05MB3427.eurprd05.prod.outlook.com ([fe80::34dd:4156:860c:b141]) by AM4PR05MB3427.eurprd05.prod.outlook.com ([fe80::34dd:4156:860c:b141%13]) with mapi id 15.20.0755.018; Tue, 15 May 2018 14:05:50 +0000 From: Wisam Monther To: "jingjing.wu@intel.com" , "wenzhuo.lu@intel.com" , Thomas Monjalon , Kevin Traynor CC: Raslan Darawsheh , "dev@dpdk.org" , Shahaf Shuler Thread-Topic: [dpdk-dev] [PATCH 1/2] app/testpmd: add custom topology command Thread-Index: AQHT7FXU1Zajm1916UCLE7lOrBLdGg== Date: Tue, 15 May 2018 14:05:49 +0000 Message-ID: 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=wisamm@mellanox.com; x-originating-ip: [13.69.77.72] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM4PR05MB1826; 7:2dRxW71EOgzIDSiizg23ZM8nq93MVj28JR9llJp9JezL/7PEGKjf1KEBv79crOviiPNn1wm5oy58ENs15bAyUNRV2r5AoPPqWs9qk6oIK19W4dm2ky87xG5qagMogGeT/vgRTCeDNlshFQ8+O1nAWb/QLqlbINX1hT9eJ/PvmMNI3XK+XrB01QgzI7fGaf3tuREKTzMKYybTJEqat7uXd4Xv3bGPxHMQys/yJ8uDNYdCRIuIs97zYvXys5QyNBYR x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:AM4PR05MB1826; x-ms-traffictypediagnostic: AM4PR05MB1826: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231254)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011); SRVR:AM4PR05MB1826; BCL:0; PCL:0; RULEID:; SRVR:AM4PR05MB1826; x-forefront-prvs: 0673F5BE31 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(39380400002)(39860400002)(376002)(396003)(189003)(199004)(86362001)(106356001)(105586002)(33656002)(68736007)(25786009)(53936002)(478600001)(2900100001)(54896002)(9686003)(55016002)(6116002)(3280700002)(3846002)(2906002)(3660700001)(66066001)(486006)(476003)(6436002)(99286004)(229853002)(7736002)(8676002)(81156014)(8936002)(26005)(81166006)(97736004)(74316002)(14454004)(5660300001)(6506007)(107886003)(6246003)(7696005)(102836004)(110136005)(5250100002)(54906003)(2501003)(316002)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB1826; H:AM4PR05MB3427.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: KyyNlRfVy4ICWCVWHhFNatK/AMS2r6rOYFpZ5fbg8xvErNxBTFA2+539cHdHSt9Ska0c8BQOJpppzbWRI02whwXQhD2wHk9pBxL1CfLOAIDvqIk7KMNE3iNIJ8DzJr+XuThHoDM6HMFlb1AR05diE/cYpRh1EEGKGvyGctQ1NuaIoVpizMg/eUH+eRey8wo4 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: a335df81-0ab1-4025-9aeb-08d5ba6cf6ba X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: a335df81-0ab1-4025-9aeb-08d5ba6cf6ba X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2018 14:05:49.9733 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB1826 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH 1/2] app/testpmd: add custom topology command 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: Tue, 15 May 2018 14:05:52 -0000 Hey Kevin, What if I have 10 ports and want all 9 ports to forward packets to port 0, = this cannot done in paired. But with this topo the user can overwrite the topo. E.g: - Set custom-topo 1 0 Will make those paired and those two as active only. - set custom-topo 2 0 Will make those two as paired, but still port one will forward packets to 0= . And the active ports will be 3 ports (0,1,2) And so on... With this topo you can create your own topo. (Mixed between all topos or ev= en non-pattern topo for any usage) In my case its needed for representors and virtio. Any traffic coming from representors/vhost (from VM) need to be forwarded f= rom PF/phy port to the wire. This new topo is useful for such cases. BRs, Wisam jaddo