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 01E5FA055A; Wed, 26 Feb 2020 14:45:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A10E21BFAB; Wed, 26 Feb 2020 14:45:57 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 34F721C01 for ; Wed, 26 Feb 2020 14:45:56 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Feb 2020 05:45:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,488,1574150400"; d="scan'208";a="241670177" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by orsmga006.jf.intel.com with ESMTP; 26 Feb 2020 05:45:52 -0800 Date: Wed, 26 Feb 2020 21:43:55 +0800 From: Ye Xiaolong To: David Marchand Cc: Sivaprasad Tummala , Marko Kovacevic , Ori Kam , Bruce Richardson , Radu Nicolau , Akhil Goyal , Tomasz Kantecki , Sunil Kumar Kori , Pavan Nikhilesh , dev , Maxime Coquelin Message-ID: <20200226134355.GC105977@intel.com> References: <20200226091501.27967-1-Sivaprasad.Tummala@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v1] examples/l2fwd: add check for promiscuous no support 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" Hi, David On 02/26, David Marchand wrote: >On Wed, Feb 26, 2020 at 10:15 AM Sivaprasad Tummala > wrote: >> >> l2fwd application exits, if return for rte_eth_promiscuous_enable >> is not success. But for vHost PMD, promiscuous enable returns "Not >> Supported". > >Could the vhost pmd announce that it is already in promiscuous mode? >Like in f165210321c4 ("drivers/net: enable promiscuous and multicast >by default") I think it makes sense, I don't see any risk of doing it. I'll cook a patch for it soon. Thanks, Xiaolong > > >-- >David Marchand >