From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0073.outbound.protection.outlook.com [104.47.37.73]) by dpdk.org (Postfix) with ESMTP id 3B1993978 for ; Tue, 9 Aug 2016 13:12:42 +0200 (CEST) Received: from BLUPR0301CA0039.namprd03.prod.outlook.com (10.162.113.177) by BY2PR0301MB0693.namprd03.prod.outlook.com (10.160.63.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Tue, 9 Aug 2016 11:12:39 +0000 Received: from BN1AFFO11FD031.protection.gbl (2a01:111:f400:7c10::137) by BLUPR0301CA0039.outlook.office365.com (2a01:111:e400:5259::49) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.15 via Frontend Transport; Tue, 9 Aug 2016 11:12:39 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; linux.intel.com; dkim=none (message not signed) header.d=none;linux.intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD031.mail.protection.outlook.com (10.58.52.185) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.557.8 via Frontend Transport; Tue, 9 Aug 2016 11:12:40 +0000 Received: from [127.0.0.1] (B32944-11.ap.freescale.net [10.232.14.25]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u79BCXer004508; Tue, 9 Aug 2016 04:12:37 -0700 References: From: Pankaj Chauhan To: , , , X-Forwarded-Message-Id: Message-ID: Date: Tue, 9 Aug 2016 16:42:33 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131152147603134744; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(3190300001)(199003)(189002)(85426001)(4001350100001)(97736004)(230700001)(33646002)(105606002)(5001770100001)(83506001)(586003)(31696002)(120886001)(54356999)(64126003)(76176999)(8936002)(81156014)(8676002)(2906002)(104016004)(68736007)(11100500001)(81166006)(87936001)(47776003)(65806001)(86362001)(356003)(65956001)(305945005)(50986999)(7846002)(8666005)(92566002)(23676002)(50466002)(36756003)(77096005)(189998001)(107886002)(31686004)(2201001)(5005550100001)(229853001)(2950100001)(106466001)(65826006)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0693; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD031; 1:K9BIYwtJN4/m12U+3b1yPQlRtHsUyd4/HJ1+qS7x6vludVQuajzUz4Z+QGrJOdCeRT8UYIPlhZfpWFQE8nNJgGwbY3BqEk6E1bNJc4A/rIoVPx3nIXg5GIhOSvJYIMH2vtjkq9yJDCh+USswhfCFVHDbVoHKFBjVAeeQbW0gQq5TCBKI8Lc6LgZyof4PpOufwKsvFKEyafPS5OAYmSexuJVL24PAAH1sIp6dlsOcqiTanM3dL6Hem3nieZcZiJTxn+XxKOq6/JSbVGEgYzl+WEa8UnVdxsTFaEn9Ab7ytcXrb66xnRck3hMkvNKP/vSqclyuZUAk7JnX/UN6PRz7J4gqLUUmGYmnQJCei9CEedycPtlqC+NnYXRl5LInD+a3CRzUSranpQV9zw1kR5TUKQr1fUUzHZ+HSh27R/bIcCryPXXNE/vZfgJTLzJjZh85XUWw80Znmi8WaN1DR4vorR0T7tXdy8pPhOu7sRnW/vbNqVSwTJ6YgOrK/da4fSVEDwMAn/GYTSl69MjAWl0P9bkE43JYx5naVfc1mJ1LPSerm0JlWM19DDksdOBSQ6pes7MoqEUBxoqsSAZgT55EMyEudYy2uAcqmfOWF0vWPGzCG+dyTWpCYhG9txUxMgeZsMNQjnryaxEG68c++pRjrw== X-MS-Office365-Filtering-Correlation-Id: 0f6a4b61-5cb4-4a05-b7b7-08d3c04613de X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0693; 2:Roo87K1ROaXygsIDcvmkT1X/44O7QtUgH+vMkihU8Hkp6iDoXrA8WfsPJ52UUU1r3zxqRm5by/5iEbVFjfgVLyE/0p3c6fP55yhoa6P4hSGaGoaE6wRpC6wlZzZUcpQboZ+SEeWXyut0xn4OaxtEm3Khdh31dpiU2jKKuvRCab2ZEyWejRhGnr9G/d5K4FW1; 3:fwb4rNgzdOZH12mqrQQ07L333YOkGfdBq3c9OgsG8phYhTySUO2TYzIazar+wlpM7oXWG79JwCGoURhMd/UfLVNtYLZejydLotwmtzDghy1ZTvhW8CBIYvuOqZ0s2hYjLaETjDetmA8AdCYn0h0bVcnOXSod0HcCdVOVxxxzSLNag4E4sBrR8FhaVmZfyW1PZOUuJxdcZHKlZ2mlc+/3prpr7BQRhtLzAO4uYpqJTJw=; 25:aLhp3gTGDxerUYsPtmwDWIDaNbS2k4B9G+4TgAzQVAhmFeaUgrEocPihGqTrdWBu2cTsY2PhOlYDUwOd/cztL7vKJ/QagOjMFGkExd7dOtp9jP28/3394mUbOjQZiyh6nncUU2ASdbZTOkh3sbIgltHzc8ffFpZEUANzx/V35tOlB2S6DAn8FNl9HqIUJF1TuftI8jYyfigGz9WrWXAPrLKOqpDfUg8pOrjXRYGKN7u2V+eYA5XGn0DwhGuViuCjp0uXCT4hASTzUId5EJ7poSfiKagZChxm7DhntEBmKl+stJeRbUJ07/TybUDx9Bj8g3BwwRY8DTdmFQ/gL7MrezHKguUcZO8dBzK7zAxvNs6Bf58ruaxIxdeBH0q+OI7BmNFdMIp92GOcO1lhkWTDpMF4xRXMRQreskdkP7XiAnQ= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB0693; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0693; 31:cBBRclqQ7Gb3YAUsbPVDVKQADeroqJ3nttkPE0gURvIe9U+PeXvykZ9go5Ie4hTkVB8Bazfql7TZnvkRgkENW0Wd1f4d8x+JdAPTCiqgxHgCi1TRH3oLhZrq5CbobgoenWB/z7zca/oefUkDX2f9J9/nKSsBgCkulIAdI3RjBWwQB4Y8VVbMiI+lmV2vNpzyvEqQebnu4zTp9bm8fjpHRloiEhDV36LOi7X3mh0GKTM=; 4:52R+D64ZfYb+V4w0nA0449bJKyPGAHei5rEArj6KgdZs9colWTg8EN4UFj36rqx4m2JRdn8edBgDo+V72Z1MmNjV8UyIVNEnuXA87sMwjUaH65DL3skWjYB26qhlI2mpLktaifuAaqIzfWRMbIuJHADZnFwd9qXi0sjdTqJzvVRsfKFf4WItnGjljjwmzCnOZOaXRzpmg29VcwfxlCCXLNP7k7ln+u+5PTAwcFUk7PEvbbP82Mau9iBM9tqrgLIhG7mnVx/38KAE9ORT3ZIlHwDpV0zKr7QUnWcmieDKZeYaqXVKh2Is1NxrD4qIVhMhtZt1FYkaZpwGbO9NqT8DkufZQy+dhvIhPIZMLAk2bW6fKMyEQfbEbEVWeQSqh7iZNs5n0RKG1uDRXh4IWioiCCebTQXYWACOYzrXDc9FtysWRA4mnPPk2dCg2C+BDKbdJZ2elIucGSe347KYmlAMvN5CNN8WhGp7ku176tasOuI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(13024025)(13015025)(13018025)(13017025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:BY2PR0301MB0693; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB0693; X-Forefront-PRVS: 0029F17A3F X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjAzMDFNQjA2OTM7MjM6c3dvRFVEalZPdnVHblJtSjZFbTJEQU5N?= =?utf-8?B?VnA3ZnRxSmVaUlRybk91N3NaL25BMGluSWdxcGZKOE1HTG0yWGhlOTI4UXRE?= =?utf-8?B?RmFLc25KLzVibWNvUWh3cFExRmV5NUVUbmw2Y3lURnVXZitKYXhhcHA2M2Fp?= =?utf-8?B?WjdoREZXalpJalVsTWtqaUlnMmVCY0l1MENabzdhRVdkcHZJQllCSEt0UHdm?= =?utf-8?B?OXpYUGFDWWZsdElWcFlvU0ZYR214b0pZSUhSTC9qYTJidFdHNU0rb1JtTWpR?= =?utf-8?B?OWEzbGFsemdncW1MRTRIWjN5RHpodWI1MTUwaGFSVXMvQTRISjY1ZmY4MU1E?= =?utf-8?B?KzZVdGQ3U2hJRjhsOXdXZnRCeCtiL2VTMTA5eXAxLy9UMXhDSk9LWVBZeWhy?= =?utf-8?B?SkpUYVozVTdGNUhZeXpVY3lGanQxc1Nsajl3Q0FjZE40eHJPRGQ4djA5WGpo?= =?utf-8?B?NnE0S29nNVFIK1Jmb2M1Y1ZieDlkekwrUlBjd0J1emQxWUliY1UyQkwvbmkx?= =?utf-8?B?K2lKV2ZWMWdvZjVSVzNSRG1FdTVIRnhoTzB6bC85c1ZhRlpZek5BMFdGcTRv?= =?utf-8?B?VDduTjVaK1JkWVVJR0xBa1R4MTNHak1adlNpd250YUl0T2pnL3R1MWVLaFdN?= =?utf-8?B?WkpPVW5oMHZ4TWRwWVBtZVNtUUhpZzNxUzl3a2RQTFNuYXQ0Zy95RjBlZFNU?= =?utf-8?B?cm1DSWpWa2l4VjkrZjVzdVRaa0pEVlN4V3Z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t1KuXq7cW8QQqMabWIARQk1z4PYw3Sosk SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Aug 2016 11:12:40.1262 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB0693 Subject: [dpdk-dev] vhost [query] : support for multiple ports and non VMDQ devices in vhost switch X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2016 11:12:42 -0000 Hi, I am working on an NXP platform where we intend to use user space vhost switch (examples/vhost) as backend for VIRTIO devices. But there are two limitations in current vhost-switch (examples/vhost)that are restricting my use case: 1. The vhost-switch application is tightly integrated with Intel VMDQ. Since my device doesn't have VMDQ i can not use this application directly. 2. The vhost-switch application supports only one external or physical port (non virtio devices), but my requirement is to have multiple physical ports and multiple virtio devices. In summary my requirement is to do whatever vhost-switch is doing, in addition to that add support for following: 1. support devices that don't have VMDQ. 2. Support multiple physical ports. I need suggestions on the approach i should take: whether to add support of above mentioned in existing vhost-switch (examples/vhost) or write another application (based on librte_vhost only) to support my requirements. I'll work on it after the suggestion i get from the list, and send the RFC patch. Thanks, Pankaj