From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0042.outbound.protection.outlook.com [104.47.32.42]) by dpdk.org (Postfix) with ESMTP id 7A7115963 for ; Wed, 17 Aug 2016 12:24:34 +0200 (CEST) Received: from BY2PR03CA038.namprd03.prod.outlook.com (10.141.249.11) by BN6PR03MB2707.namprd03.prod.outlook.com (10.173.144.14) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.15; Wed, 17 Aug 2016 10:24:31 +0000 Received: from BN1AFFO11FD043.protection.gbl (2a01:111:f400:7c10::103) by BY2PR03CA038.outlook.office365.com (2a01:111:e400:2c5d::11) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.21 via Frontend Transport; Wed, 17 Aug 2016 10:24:31 +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 BN1AFFO11FD043.mail.protection.outlook.com (10.58.52.190) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.577.8 via Frontend Transport; Wed, 17 Aug 2016 10:24:31 +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 u7HAOL5H007653; Wed, 17 Aug 2016 03:24:28 -0700 References: <20160816025614.GM30752@yliu-dev.sh.intel.com> CC: , , "Tan, Jianfeng" From: Pankaj Chauhan To: , Message-ID: <279ceed3-4645-b8ae-9809-dd10b9fd66b4@nxp.com> Date: Wed, 17 Aug 2016 15:54:21 +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: <20160816025614.GM30752@yliu-dev.sh.intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131159030719028022; (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)(3190300001)(339900001)(377454003)(199003)(189002)(24454002)(51914003)(76176999)(2906002)(4326007)(47776003)(2950100001)(87936001)(64126003)(106466001)(189998001)(97736004)(77096005)(4001350100001)(50466002)(586003)(5001770100001)(31696002)(7126002)(65806001)(356003)(36756003)(7246003)(7846002)(230700001)(8676002)(85426001)(65956001)(68736007)(120886001)(81166006)(104016004)(23746002)(105606002)(305945005)(11100500001)(8936002)(81156014)(54356999)(8666005)(33646002)(83506001)(86362001)(626004)(31686004)(92566002)(50986999)(65826006)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2707; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD043; 1:fW8VX/hdvFxe5m/tKs4apjHbl3rmpcqcmDzDZdODZmtqsVL36Loj6xAkmPGoKaU47EtPkHXLIE3k0/rCg97z12g+j90f7h6ifeIlQH5twKFWYsl4vbUTxQu9RhWI5mBzO8ce3cIEbfNM1LtYcv8eWiNQc+uUDDk3phJqg/+nGwk5d8HjyhmiKeC1A4YlyCUpG6HT7ap1Q+wdZEvze+ZecGqU8U87MGVs5cDVXYYFT7HiIu6V2isRUa+4aAPlrmSKm8hWq/V5ito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ZVXt1t8sZ86GBo6tp4cGrQq3qBzz61IA/Ei66Cw5czHQQwRGNb9sodiOiqDDS X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13017025)(13015025)(13023025)(13018025)(8121501046)(13024025)(5005006)(3002001)(10201501046)(6055026); SRVR:BN6PR03MB2707; BCL:0; PCL:0; RULEID:(400006); SRVR:BN6PR03MB2707; X-Forefront-PRVS: 0037FD6480 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BN6PR03MB2707; 23:JEbvr88JJtni5zODax2B0K9h88vFOEjeWdGhT?= =?Windows-1252?Q?WZ3hstltiuQ/CAoHyLjl7f2Eku3Ce0jJXH3zXhbflfRCCF8m8Wv/gKpV?= =?Windows-1252?Q?hdgAZRQfxjjPTGxHYI7eieelSfgnosLFDu92IZCyipsshdioRF4RSXqq?= =?Windows-1252?Q?3VHBwmtNGBgr8K/3rBXsx/YcwSqz9gFj6kj28vY7PNkbpcYuq1tmBuZQ?= =?Windows-1252?Q?KJ2hPy2YyMHvtJoayizyJ2zWqganK3UJqgXxQBvbmtMoWwjik9zBBVER?= =?Windows-1252?Q?tq/WUkpMOPgyJpMy8ylmvlm/PQ31bvC/a1ssIaThkRt+2dH1Gxwj92R+?= =?Windows-1252?Q?axWBmVYFDgkNVqn5I/ojL/l8/8aWkamXVo+1FfPPVwu39CNE83m8vTac?= =?Windows-1252?Q?Qg7Pq8TEgzD4vGm0rsh/7huCHCuNp66RvF5O/rHHTxKjvy2zkKQp97Ll?= =?Windows-1252?Q?byKLGYNmvZ4+ARCwob8zXNFDXlD7k0/wMtqLt4xsRbwcdsnAnhXY2CyD?= =?Windows-1252?Q?wQ47NUYDt7V2fLc5BDubOqu8xS5w/N51/k6/PrTR438/R27vOvYGA2xu?= =?Windows-1252?Q?oyM48pKV68YmgWQ83A1FO98NaAucQH4GlzwvH/sC7tnSWwVCL+f8oWd/?= =?Windows-1252?Q?7aSmvNV5itF1ezcVaW+SQxlnlzyoE6zLmfAQ8jP1eCnr9N9HSHti2ZKw?= =?Windows-1252?Q?fCmz3lTLlh68EeP5XtA956XhUO/BBFHcnzw+HkHSLzjpe4QvG7vH5CsA?= =?Windows-1252?Q?twXTg7V7nnIV6zy1Ct62iPN/ny+9SYL8LqbBz5JdltMcbOQ6hMcVExKn?= =?Windows-1252?Q?ATzbvqecVd70L1xi3a2x1hayN5vdufpF+4hr7BF68coqdi6FKpn665q9?= =?Windows-1252?Q?nLDC0AhwfI8Z65h6rCuXhlIjhCR/JKx3BeXyb7TzJAnDtGcAREsT4bo0?= =?Windows-1252?Q?lnKLcq0FVrd5hhD7y/2/PiLiFnbL1sYxxwbTdvQMfY632DIgQfBdRObo?= =?Windows-1252?Q?sXQylAytXpOBB4SnEbeFpVZRbp0QG8H1LzlYvOReW39w7UioD1Sci73a?= =?Windows-1252?Q?yws4U2Vya0tz/9cK+pwfNhif2zhHhtZUIKux0sks9uK1bWNqJMZFZnyF?= =?Windows-1252?Q?fh14XnHoyX7Z5FxvRUjIMDEJcYnWP0f/THttz+aHInYixAlfZ2LXqIwZ?= =?Windows-1252?Q?RT3Quqh9xg6YgUeliqXUz1g+oV/d+ARnYS17nJh/eSjATgNa2dyvY0vo?= =?Windows-1252?Q?2cYgPsehqxeMFbNXK9z2wMQN87meZce+7y/Ci62Pchhbeh+LlTWom/9F?= =?Windows-1252?Q?MGW/H8VFV4aWyv4RXGg21Nvn3V3ar5z8sUZQD2J/FdtXoGBKmR+Ncof/?= =?Windows-1252?Q?pYqfuYb4WM7X1LTX4+jUlIGV0hjf9BDGy33Y3QpQd7ak9GUcF0w0oppg?= =?Windows-1252?Q?y/R1wOnogkciuIRepqFMpme+RyLfqI4c0A/r/Q04FaGMAYPblR0ETj2z?= =?Windows-1252?Q?7ZZtWQ=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2707; 6:Dn8NR5qEwdmMydcVKQn7rHN7aRX8iSIkkINredGiicByeadoHUACfJIHtEyZ1VNo7voy4AkNa0XwlYq9R/A1dSfnotPrX5ifMMd7q8C/OOhs3VDN8r/KoR3MxjbBExmkHXSWdu9ncIdL4bdQNYZK+2XDxNwSh8BOrGiTftCEh4+QOn1wEdTJdD6Cf/9adX30Ui6/7pvuTzaH0b6ra/aOXTZyNVcUM/36xqBUCb1rJe2UNPxw871SFV0GN7kR08foUI96Ar7ugdao0l+0uWhPf1/N24bA3fNUQutd0ONbPj8=; 5:gXdcT9+TNj66ud9d3gn74mogeLTxB0ue/nvlAXZr+o2VoLAx8hMF4o4BFJRVFqZxM1Jvx/TdMp/HABolvo7rcskDjURQuDYeLzXSREKH3p8AaFdddRpPgCELalojIbAf34eeu4vmq6OzaaxYcUy6Mce2j7M4hbT8f+es2WhYtJw=; 24:bXPjcUzpy99VosQQ8ElyvCFOR5zAQDSUdBQYE9FABKf9Tb9zOwfy0GqbeqIxUe26qPJZEwf06O68nmS8FkNOx6Wav00esgiSge9TXaA/z1w=; 7:DohpOahLiQO9vW0aGvDXOMSq06HIq57xM7ijwPZXYv6GiDmL2ZEEt9i76g09cADQMu0boAJ/NlCC0fJzxPTtl3llfvDlqrLoLyHMgZG+cfLxNdvuhgvfvEo9ypYa+yPuTOOE2kpB50PrbeSkgLxUGi+zoSdjQy7//VD5/AYVYR71AxmCgLLVRZl4ysT7VhXyon8RbSXR67qjB6hLUTZ6HHxl+5qcLNN9yR2o49IPRBNWFhISedNJJeqG90h0lYrn SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Aug 2016 10:24:31.7311 (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: BN6PR03MB2707 Subject: Re: [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: Wed, 17 Aug 2016 10:24:35 -0000 On 8/16/2016 8:26 AM, Yuanhan Liu wrote: > On Tue, Aug 09, 2016 at 04:42:33PM +0530, Pankaj Chauhan wrote: >> >> 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. > > Sorry being late (I was on biz trip last week). > > Yes, a vhost example should not do that. We have an internal TODO to > remove it. Actually, to make it optional, and Jianfeng was working on > that. Well, seems that you two have already had some discussions. Yes I had a discussion with Jianfeng and he has sent the work items on the list. > >> 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. > > What are you going to achieve? BTW, have you tried testpmd (with vhost-pmd)? > I'm with impression that it might be a better option to you. > > --yliu My use case is that my machine/board which is not sitting as end node of network but somewhere in between like an router. So the traffic looks something like this: Physical port 1 -> Enter VM(s) through virtio -> exit from physical port 2 For above use case i need a vhost-back-end which supports multiple physical ports. Thanks for the suggestion of vhost-pmd ( i was not aware of that), i'll explore possibility of using it for my use case of multiple physical ports. thanks, Pankaj >